VirtuosoFileExample.ini

From STLab

Jump to: navigation, search
;
;  virtuoso.ini
;
;  Configuration file for the OpenLink Virtuoso VDBMS Server
;
[Database] 
DatabaseFile       = virtuoso.db
ErrorLogFile       = virtuoso.log
LockFile           = virtuoso.lck 
TransactionFile    = virtuoso.trx
xa_persistent_file = virtuoso.pxa
ErrorLogLevel      = 7
FileExtend         = 500 
MaxCheckpointRemap = 1500000
DefaultIsolation   = 8
Striping           = 0
TempStorage        = TempDatabase
[TempDatabase] 
DatabaseFile       = virtuoso-temp.db
TransactionFile    = virtuoso-temp.trx
MaxCheckpointRemap = 1500000
DefaultIsolation    = 8
Striping           = 0 
[Striping]
Segment1 = 20G, virtuoso1.seg q1
Segment2 = 20G, virtuoso2.seg q2
Segment3 = 20G, virtuoso3.seg q3
;Segment4 = 5G, virtuoso4.seg q4
;Segment5 = 5G, virtuoso5.seg q5
;Segment6 = 5G, virtuoso6.seg q6
;Segment7 = 5G, virtuoso7.seg q7
;Segment8 = 5G, virtuoso8.seg q8
;Segment9 = 5G, virtuoso9.seg q9
;Segment10 = 5G, virtuoso10.seg q10
;Segment11 = 5G, virtuoso11.seg q11
;Segment12 = 5G, virtuoso12.seg q12 
;
;  Server parameters
;
[Parameters]
ServerPort               = 4444
LiteMode                 =   0 
DisableUnixSocket        = 1 
DisableTcpSocket         = 0
;SSLServerPort			= 4111
;SSLCertificate			= cert.pem
;SSLPrivateKey			= pk.pem
;X509ClientVerify		= 0
;X509ClientVerifyDepth		= 0
;X509ClientVerifyCAFile		= ca.pem
ServerThreads            = 100
CheckpointInterval       = 20
O_DIRECT                 = 0
NumberOfBuffers          = 2400000
MaxDirtyBuffers          = 2000000
CaseMode                 = 2
MaxStaticCursorRows      = 5000
CheckpointAuditTrail     = 0 
AllowOSCalls             = 0
SchedulerInterval        = 10
DirsAllowed              = .,  /tools/Virtuoso612exp2/share/virtuoso/vad,
/Volumes/Secondo/projects/SemanticSearch/DBPedia/Downloads36/en/,
/Volumes/Secondo/projects/SemanticSearch/DBPedia/Downloads36/it/, /tmp
ThreadCleanupInterval    = 0
ThreadThreshold          = 25
ResourcesCleanupInterval = 0
FreeTextBatchSize        = 1000000
SingleCPU                = 3
VADInstallDir            = /tools/Virtuoso612exp2/share/virtuoso/vad/
PrefixResultNames        = 0
RdfFreeTextRulesSize     = 1000
IndexTreeMaps            = 256
ServerThreadSize         = 100000
MainThreadSize           = 500000
FutureThreadSize         = 500000
FDsPerFile               = 30
[HTTPServer]
ServerPort                  = 8894
ServerRoot                  = /tools/Virtuoso612exp2/var/lib/virtuoso/vsp
ServerThreads               = 50
DavRoot                     = DAV
EnabledDavVSP               = 0
HTTPProxyEnabled            = 0
TempASPXDir                 = 0 
DefaultMailServer           = localhost:25
ServerThreads               = 50
MaxKeepAlives               = 10
KeepAliveTimeout            = 10
MaxCachedProxyConnections   = 10
ProxyConnectionCacheTimeout = 15 
HTTPThreadSize              = 280000 
HttpPrintWarningsInOutput   = 0
Charset                     = UTF-8 
[AutoRepair]
BadParentLinks = 0 
[Client]
SQL_PREFETCH_ROWS  = 100
SQL_PREFETCH_BYTES = 16000
SQL_QUERY_TIMEOUT  = 0
SQL_TXN_TIMEOUT    = 0
;SQL_NO_CHAR_C_ESCAPE		= 1
;SQL_UTF8_EXECS			= 0
;SQL_NO_SYSTEM_TABLES		= 0
;SQL_BINARY_TIMESTAMP		= 1
;SQL_ENCRYPTION_ON_PASSWORD	= -1

[VDB]
ArrayOptimization           = 0
NumArrayParameters          = 20
VDBDisconnectTimeout        = 100000
KeepConnectionOnFixedThread = 0 
[Replication]
ServerName   = db-WITTGENSTEIN
ServerEnable =  1
QueueMax     = 50000 
;
;  Striping setup
;
;  These parameters have only effect when Striping is set to 1 in the
;  [Database] section, in which case the DatabaseFile parameter is ignored.
; 
;  With striping, the database is spawned across multiple segments
;  where each segment can have multiple stripes.
;
;  Format of the lines below:
;    Segment<number> = <size>, <stripe file name> [, <stripe file name> .. ]
;
;  <number> must be ordered from 1 up.
;
;  The <size> is the total size of the segment which is equally divided
;  across all stripes forming  the segment. Its specification can be in
;  gigabytes (g), megabytes (m), kilobytes (k) or in database blocks
;  (b, the default)
;
;  Note that the segment size must be a multiple of the database page size
;  which is currently 8k. Also, the segment size must be divisible by the
;  number of stripe files forming  the segment.
;
;  The example below creates a 200 meg database striped on two segments
;  with two stripes of 50 meg and one of 100 meg.
;
;  You can always add more segments to the configuration, but once
;  added, do not change the setup.
;
[Striping]
;Segment1 = 16G, db-seg1-1.db, db-seg1-2.db
;Segment2 = 16G, db-seg2-1.db, db-seg2-2.db
;Segment3 = 16G, db-seg3-1.db, db-seg3-2.db
;Segment4 = 16G, db-seg4-1.db, db-seg4-2.db
;Segment5 = 5G, db-seg5-1.db, db-seg5-2.db
;Segment6 = 5G, db-seg6-1.db, db-seg6-2.db
;Segment7 = 5G, db-seg7-1.db, db-seg7-2.db
;Segment8 = 5G, db-seg8-1.db, db-seg8-2.db
;Segment9 = 5G, db-seg9-1.db, db-seg9-2.db
;Segment10 = 5G, db-seg10-1.db, db-seg10-2.db
;Segment11 = 5G, db-seg11-1.db, db-seg11-2.db
;Segment12 = 5G, db-seg12-1.db, db-seg12-2.db
;...
;[TempStriping]
;Segment1 = 16G, db-segt1-1.db, db-segt1-2.db
;Segment2 = 16G, db-segt2-1.db, db-segt2-2.db
;Segment3 = 16G, db-segt3-1.db, db-segt3-2.db
;Segment4 = 16G, db-segt4-1.db, db-segt4-2.db
;Segment5 = 5G, db-seg5-1.db, db-seg5-2.db
;Segment6 = 5G, db-seg6-1.db, db-seg6-2.db
;Segment7 = 5G, db-seg7-1.db, db-seg7-2.db
;Segment8 = 5G, db-seg8-1.db, db-seg8-2.db
;Segment9 = 5G, db-seg9-1.db, db-seg9-2.db
;Segment10 = 5G, db-seg10-1.db, db-seg10-2.db
;Segment11 = 5G, db-seg11-1.db, db-seg11-2.db
;Segment12 = 5G, db-seg12-1.db, db-seg12-2.db
;...
;[Ucms]
;UcmPath			= <path>
;Ucm1				= <file>
;Ucm2				= <file>
;...
[Zero Config]
ServerName = virtuoso (WITTGENSTEIN)
;ServerDSN			= ZDSN
;SSLServerName			=
;SSLServerDSN			=
[Mono]
;MONO_TRACE			= Off
;MONO_PATH			= <path_here>
;MONO_ROOT			= <path_here>
;MONO_CFG_DIR			= <path_here>
;virtclr.dll			=
[URIQA]
DynamicLocal = 1
DefaultHost  = wit.istc.cnr.it:8894
[SPARQL]
;ExternalQuerySource		= 1
;ExternalXsltSource 		= 1
;DefaultGraph      		= http://localhost:8894/dataspace
;ImmutableGraphs    		= http://localhost:8894/dataspace
ResultSetMaxRows           = 5000000
MaxQueryCostEstimationTime = 1000000	; in seconds
MaxQueryExecutionTime      = 100000	; in seconds
DefaultQuery               = select distinct ?Concept where {[] a ?Concept} 
DeferInferenceRulesInit    = 0	; controls inference rules loading
;PingService       		= http://rpc.pingthesemanticweb.com/
[Plugins]
LoadPath = /tools/Virtuoso612exp2/lib/virtuoso/hosting
Load1    = plain, wikiv
Load2    = plain, mediawiki
Load3    = plain, creolewiki
;Load4			= plain, im
;Load5		= plain, wbxml2
;Load6			= plain, hslookup
;Load7			= attach, libphp5.so
;Load8			= Hosting, hosting_php.so
;Load9			= Hosting,hosting_perl.so
;Load10		= Hosting,hosting_python.so
;Load11		= Hosting,hosting_ruby.so
;Load12				= msdtc,msdtc_sample
Personal tools