|
1 | | -; |
2 | | -; virtuoso.ini |
3 | | -; |
4 | | -; Configuration file for the OpenLink Virtuoso VDBMS Server |
5 | | -; |
6 | | -; To learn more about this product, or any other product in our |
7 | | -; portfolio, please check out our web site at: |
8 | | -; |
9 | | -; http://virtuoso.openlinksw.com/ |
10 | | -; |
11 | | -; or contact us at: |
12 | | -; |
13 | | - |
14 | | -; |
15 | | -; If you have any technical questions, please contact our support |
16 | | -; staff at: |
17 | | -; |
18 | | - |
19 | | -; |
20 | | -; |
21 | | -; Database setup |
22 | | -; |
23 | 1 | [Database] |
24 | | -DatabaseFile = /database/virtuoso.db |
25 | | -ErrorLogFile = /database/virtuoso.log |
26 | | -LockFile = /database/virtuoso.lck |
27 | | -TransactionFile = /database/virtuoso.trx |
28 | | -xa_persistent_file = /database/virtuoso.pxa |
29 | | -ErrorLogLevel = 7 |
30 | | -FileExtend = 200 |
| 2 | +DatabaseFile = ../database/virtuoso.db |
| 3 | +ErrorLogFile = ../database/virtuoso.log |
| 4 | +LockFile = ../database/virtuoso.lck |
| 5 | +TransactionFile = ../database/virtuoso.trx |
| 6 | +xa_persistent_file = ../database/virtuoso.pxa |
| 7 | +ErrorLogLevel = 7 |
| 8 | +FileExtend = 200 |
31 | 9 | MaxCheckpointRemap = 2000 |
32 | | -Striping = 0 |
33 | | -TempStorage = TempDatabase |
| 10 | +Striping = 0 |
| 11 | +TempStorage = TempDatabase |
34 | 12 |
|
35 | 13 | [TempDatabase] |
36 | | -DatabaseFile = /database/virtuoso-temp.db |
37 | | -TransactionFile = /database/virtuoso-temp.trx |
| 14 | +DatabaseFile = ../database/virtuoso-temp.db |
| 15 | +TransactionFile = ../database/virtuoso-temp.trx |
38 | 16 | MaxCheckpointRemap = 2000 |
39 | | -Striping = 0 |
40 | | -;MaxTempDBPages = 50G ; Limit size of the TempDatabase file to 50GB on disk |
| 17 | +Striping = 0 |
41 | 18 |
|
42 | | -; |
43 | | -; Server parameters |
44 | | -; |
45 | 19 | [Parameters] |
46 | | -ServerPort = 1111 |
47 | | -LiteMode = 0 |
48 | | -DisableUnixSocket = 1 |
49 | | -DisableTcpSocket = 0 |
50 | | -;SSLServerPort = 2111 |
51 | | -;SSLCertificate = cert.pem |
52 | | -;SSLPrivateKey = pk.pem |
53 | | -;X509ClientVerify = 0 |
54 | | -;X509ClientVerifyDepth = 0 |
55 | | -;X509ClientVerifyCAFile = ca.pem |
56 | | -MaxClientConnections = 10 |
57 | | -CheckpointInterval = 60 |
58 | | -O_DIRECT = 0 |
59 | | -CaseMode = 2 |
60 | | -MaxStaticCursorRows = 5000 |
61 | | -CheckpointAuditTrail = 0 |
62 | | -AllowOSCalls = 0 |
63 | | -SchedulerInterval = 10 |
64 | | -DirsAllowed = ., ../vad, /usr/share/proj, /data |
65 | | -ThreadCleanupInterval = 1 |
66 | | -ThreadThreshold = 10 |
| 20 | +ServerPort = 1111 |
| 21 | +LiteMode = 0 |
| 22 | +DisableUnixSocket = 1 |
| 23 | +DisableTcpSocket = 0 |
| 24 | +MaxClientConnections = 10 |
| 25 | +CheckpointInterval = 60 |
| 26 | +O_DIRECT = 0 |
| 27 | +CaseMode = 2 |
| 28 | +MaxStaticCursorRows = 5000 |
| 29 | +CheckpointAuditTrail = 0 |
| 30 | +AllowOSCalls = 0 |
| 31 | +SchedulerInterval = 10 |
| 32 | +DirsAllowed = ../virtuoso_input,/usr/share/proj,../vad,.,/opt/virtuoso-opensource/database |
| 33 | +ThreadCleanupInterval = 1 |
| 34 | +ThreadThreshold = 10 |
67 | 35 | ResourcesCleanupInterval = 1 |
68 | | -FreeTextBatchSize = 100000 |
69 | | -SingleCPU = 0 |
70 | | -VADInstallDir = ../vad/ |
71 | | -PrefixResultNames = 0 |
72 | | -RdfFreeTextRulesSize = 100 |
73 | | -IndexTreeMaps = 64 |
74 | | -MaxMemPoolSize = 200000000 |
75 | | -PrefixResultNames = 0 |
76 | | -MacSpotlight = 0 |
77 | | -MaxQueryMem = 2G ; memory allocated to query processor |
78 | | -VectorSize = 1000 ; initial parallel query vector (array of query operations) size |
79 | | -MaxVectorSize = 1000000 ; query vector size threshold. |
80 | | -AdjustVectorSize = 0 |
81 | | -ThreadsPerQuery = 4 |
82 | | -AsyncQueueMaxThreads = 10 |
83 | | -;; |
84 | | -;; When running with large data sets, one should configure the Virtuoso |
85 | | -;; process to use between 2/3 to 3/5 of free system memory and to stripe |
86 | | -;; storage on all available disks. |
87 | | -;; |
88 | | -;; Uncomment next two lines if there is 2 GB system memory free |
89 | | -;NumberOfBuffers = 170000 |
90 | | -;MaxDirtyBuffers = 130000 |
91 | | -;; Uncomment next two lines if there is 4 GB system memory free |
92 | | -;NumberOfBuffers = 340000 |
93 | | -; MaxDirtyBuffers = 250000 |
94 | | -;; Uncomment next two lines if there is 8 GB system memory free |
95 | | -;NumberOfBuffers = 680000 |
96 | | -;MaxDirtyBuffers = 500000 |
97 | | -;; Uncomment next two lines if there is 16 GB system memory free |
98 | | -;NumberOfBuffers = 1360000 |
99 | | -;MaxDirtyBuffers = 1000000 |
100 | | -;; Uncomment next two lines if there is 32 GB system memory free |
101 | | -;NumberOfBuffers = 2720000 |
102 | | -;MaxDirtyBuffers = 2000000 |
103 | | -;; Uncomment next two lines if there is 48 GB system memory free |
104 | | -;NumberOfBuffers = 4000000 |
105 | | -;MaxDirtyBuffers = 3000000 |
106 | | -;; Uncomment next two lines if there is 64 GB system memory free |
107 | | -;NumberOfBuffers = 5450000 |
108 | | -;MaxDirtyBuffers = 4000000 |
109 | | -;; |
110 | | -;; Note the default settings will take very little memory |
111 | | -;; but will not result in very good performance |
112 | | -;; |
113 | | -NumberOfBuffers = 10000 |
114 | | -MaxDirtyBuffers = 6000 |
115 | | -SSLServerPort = 1112 |
116 | | -SSLCertificate = virtuoso.crt |
117 | | -SSLPrivateKey = virtuoso.key |
| 36 | +FreeTextBatchSize = 100000 |
| 37 | +SingleCPU = 0 |
| 38 | +VADInstallDir = ../vad/ |
| 39 | +PrefixResultNames = 0 |
| 40 | +RdfFreeTextRulesSize = 100 |
| 41 | +IndexTreeMaps = 64 |
| 42 | +MaxMemPoolSize = 200000000 |
| 43 | +MacSpotlight = 0 |
| 44 | +MaxQueryMem = 2G ; memory allocated to query processor |
| 45 | +VectorSize = 1000 ; initial parallel query vector (array of query operations) size |
| 46 | +MaxVectorSize = 1000000 ; query vector size threshold. |
| 47 | +AdjustVectorSize = 0 |
| 48 | +ThreadsPerQuery = 4 |
| 49 | +AsyncQueueMaxThreads = 10 |
| 50 | +NumberOfBuffers = 88583 |
| 51 | +MaxDirtyBuffers = 66437 |
118 | 52 |
|
119 | 53 | [HTTPServer] |
120 | | -ServerPort = 8890 |
121 | | -ServerRoot = ../vsp |
122 | | -MaxClientConnections = 10 |
123 | | -DavRoot = DAV |
124 | | -EnabledDavVSP = 0 |
125 | | -HTTPProxyEnabled = 0 |
126 | | -TempASPXDir = 0 |
127 | | -DefaultMailServer = localhost:25 |
128 | | -MaxKeepAlives = 10 |
129 | | -KeepAliveTimeout = 10 |
130 | | -MaxCachedProxyConnections = 10 |
| 54 | +ServerPort = 8890 |
| 55 | +ServerRoot = ../vsp |
| 56 | +MaxClientConnections = 10 |
| 57 | +DavRoot = DAV |
| 58 | +EnabledDavVSP = 0 |
| 59 | +HTTPProxyEnabled = 0 |
| 60 | +TempASPXDir = 0 |
| 61 | +DefaultMailServer = localhost:25 |
| 62 | +MaxKeepAlives = 10 |
| 63 | +KeepAliveTimeout = 10 |
| 64 | +MaxCachedProxyConnections = 10 |
131 | 65 | ProxyConnectionCacheTimeout = 15 |
132 | | -HTTPThreadSize = 280000 |
133 | | -HttpPrintWarningsInOutput = 0 |
134 | | -Charset = UTF-8 |
135 | | -;HTTPLogFile = logs/http.log |
136 | | -MaintenancePage = atomic.html |
137 | | -EnabledGzipContent = 1 |
138 | | -SSLPort = 8891 |
139 | | -SSLCertificate = virtuoso.crt |
140 | | -SSLPrivateKey = virtuoso.key |
| 66 | +HTTPThreadSize = 280000 |
| 67 | +HttpPrintWarningsInOutput = 0 |
| 68 | +Charset = UTF-8 |
| 69 | +MaintenancePage = atomic.html |
| 70 | +EnabledGzipContent = 1 |
141 | 71 |
|
142 | 72 | [AutoRepair] |
143 | 73 | BadParentLinks = 0 |
144 | 74 |
|
145 | 75 | [Client] |
146 | | -SQL_PREFETCH_ROWS = 100 |
| 76 | +SQL_PREFETCH_ROWS = 100 |
147 | 77 | SQL_PREFETCH_BYTES = 16000 |
148 | | -SQL_QUERY_TIMEOUT = 0 |
149 | | -SQL_TXN_TIMEOUT = 0 |
150 | | -;SQL_NO_CHAR_C_ESCAPE = 1 |
151 | | -;SQL_UTF8_EXECS = 0 |
152 | | -;SQL_NO_SYSTEM_TABLES = 0 |
153 | | -;SQL_BINARY_TIMESTAMP = 1 |
154 | | -;SQL_ENCRYPTION_ON_PASSWORD = -1 |
| 78 | +SQL_QUERY_TIMEOUT = 0 |
| 79 | +SQL_TXN_TIMEOUT = 0 |
155 | 80 |
|
156 | 81 | [VDB] |
157 | | -ArrayOptimization = 0 |
158 | | -NumArrayParameters = 10 |
159 | | -VDBDisconnectTimeout = 1000 |
| 82 | +ArrayOptimization = 0 |
| 83 | +NumArrayParameters = 10 |
| 84 | +VDBDisconnectTimeout = 1000 |
160 | 85 | KeepConnectionOnFixedThread = 0 |
161 | 86 |
|
162 | 87 | [Replication] |
163 | | -ServerName = db-ALPINE-PORT |
| 88 | +ServerName = db-BIONIC-PORT |
164 | 89 | ServerEnable = 1 |
165 | | -QueueMax = 50000 |
| 90 | +QueueMax = 50000 |
166 | 91 |
|
167 | | -; |
168 | | -; Striping setup |
169 | | -; |
170 | | -; These parameters have only effect when Striping is set to 1 in the |
171 | | -; [Database] section, in which case the DatabaseFile parameter is ignored. |
172 | | -; |
173 | | -; With striping, the database is spawned across multiple segments |
174 | | -; where each segment can have multiple stripes. |
175 | | -; |
176 | | -; Format of the lines below: |
177 | | -; Segment<number> = <size>, <stripe file name> [, <stripe file name> .. ] |
178 | | -; |
179 | | -; <number> must be ordered from 1 up. |
180 | | -; |
181 | | -; The <size> is the total size of the segment which is equally divided |
182 | | -; across all stripes forming the segment. Its specification can be in |
183 | | -; gigabytes (g), megabytes (m), kilobytes (k) or in database blocks |
184 | | -; (b, the default) |
185 | | -; |
186 | | -; Note that the segment size must be a multiple of the database page size |
187 | | -; which is currently 8k. Also, the segment size must be divisible by the |
188 | | -; number of stripe files forming the segment. |
189 | | -; |
190 | | -; The example below creates a 200 meg database striped on two segments |
191 | | -; with two stripes of 50 meg and one of 100 meg. |
192 | | -; |
193 | | -; You can always add more segments to the configuration, but once |
194 | | -; added, do not change the setup. |
195 | | -; |
196 | 92 | [Striping] |
197 | 93 | Segment1 = 100M, db-seg1-1.db, db-seg1-2.db |
198 | 94 | Segment2 = 100M, db-seg2-1.db |
199 | | -;... |
200 | | -;[TempStriping] |
201 | | -;Segment1 = 100M, db-seg1-1.db, db-seg1-2.db |
202 | | -;Segment2 = 100M, db-seg2-1.db |
203 | | -;... |
204 | | -;[Ucms] |
205 | | -;UcmPath = <path> |
206 | | -;Ucm1 = <file> |
207 | | -;Ucm2 = <file> |
208 | | -;... |
209 | 95 |
|
210 | 96 | [Zero Config] |
211 | | -ServerName = virtuoso (ALPINE-PORT) |
212 | | -;ServerDSN = ZDSN |
213 | | -;SSLServerName = |
214 | | -;SSLServerDSN = |
| 97 | +ServerName = virtuoso (BIONIC-PORT) |
215 | 98 |
|
216 | 99 | [Mono] |
217 | | -;MONO_TRACE = Off |
218 | | -;MONO_PATH = <path_here> |
219 | | -;MONO_ROOT = <path_here> |
220 | | -;MONO_CFG_DIR = <path_here> |
221 | | -;virtclr.dll = |
222 | 100 |
|
223 | 101 | [URIQA] |
224 | 102 | DynamicLocal = 0 |
225 | | -DefaultHost = localhost:8890 |
| 103 | +DefaultHost = localhost:8890 |
226 | 104 |
|
227 | 105 | [SPARQL] |
228 | | -;ExternalQuerySource = 1 |
229 | | -;ExternalXsltSource = 1 |
230 | | -;DefaultGraph = http://localhost:8890/dataspace |
231 | | -;ImmutableGraphs = http://localhost:8890/dataspace |
232 | | -ResultSetMaxRows = 100000 |
233 | | -MaxConstructTriples = 100000 |
| 106 | +ResultSetMaxRows = 10000 |
| 107 | +MaxConstructTriples = 10000 |
234 | 108 | MaxQueryCostEstimationTime = 400 ; in seconds |
235 | | -MaxQueryExecutionTime = 60 ; in seconds |
236 | | -DefaultQuery = select distinct ?Concept where {[] a ?Concept} LIMIT 100 |
237 | | -DeferInferenceRulesInit = 0 ; controls inference rules loading |
238 | | -MaxMemInUse = 0 ; limits the amount of memory for construct dict (0=unlimited) |
239 | | -;LabelInferenceName = facets ; Only needed when using the Faceted Browser |
240 | | -;PingService = http://rpc.pingthesemanticweb.com/ |
| 109 | +MaxQueryExecutionTime = 60 ; in seconds |
| 110 | +DefaultQuery = SELECT (COUNT(*) AS ?triples) WHERE {?s ?p ?o} |
| 111 | +DeferInferenceRulesInit = 0 ; controls inference rules loading |
| 112 | +MaxMemInUse = 0 ; limits the amount of memory for construct dict (0=unlimited) |
241 | 113 |
|
242 | 114 | [Plugins] |
243 | 115 | LoadPath = ../hosting |
244 | | -Load1 = plain, geos |
245 | | -Load2 = plain, graphql |
246 | | -Load3 = plain, proj4 |
247 | | -Load4 = plain, shapefileio |
| 116 | +Load1 = plain, geos |
| 117 | +Load2 = plain, graphql |
| 118 | +Load3 = plain, proj4 |
| 119 | +Load4 = plain, shapefileio |
| 120 | + |
0 commit comments