| ContentСодержимое | DescriptionОписание |
|---|
{ | |
"Logging": {...} | see Общая секция Logging | see General section Logging |
"FileQueues": { | Files queues |
"ErrorsQueue": "queue/x2db-errors", | Path to errors queue |
"InQueue": "queue/x2x", | Path to the queue, where x2db gets the data to paste to DB. |
"QueueWaitTimeMilliseconds": 100 | Time of waiting data from "InQueue" file queue. If the time's passed and the data is absent, the programme starts new waiting cycle, preliminary ensured that the stop wasn't requested. |
}, | |
"NookDir": "/opt/iw/tm5", | In this section the module working directory is specified. By default – /opt/iw/tm5. |
"Startup": {...}, | see Общие настройки конфигурации Configuration general settings |
"OracleUtf8Processing": { | Special processing section UTF8 Section of special UTF8 processing for Oracle DB. |
"Enabled": true, | To enable Enable processing (changing the value is inadvisableunwelcome). |
"Substituter": 95 | ASCII-code of substitutional replacing symbol for 4+ byte bytes UTF8 (it is not recommended to change this value, it is changing the value is unwelcome, always more than 32). |
}, | |
"DebugBreak": false, | If SIGTRAP should be sent (SIGBREAK to Windows) while any exception handling. Used for debugging purposes. |
"Performance": { | Section of performance settingsPerformance configuration section. |
"Oracle": {Backend settings, specific for Oracle | Settings specific for Oracle backend.
|
"ChunkClobBlobSizeInMb": 2047, | Chunk size (Mb) setup for fragmented content recording. |
"MemoryPerLobThreshold": 10485760 | LOBs record limit in Oraclelimits before recording to Oracle (in bytes). Once achieved this to be recorded , the record is done in DB. When the value is decreasinggetting low, the memory footprint is also decreasing. Not more that getting low as well. Limitation: not more than 2Gb. |
}, | |
"Postgress": { | PostgreSQL backend specific settings. |
"ChunkClobBlobSizeInMb": 100, | Chunk size (Mb) setup for fragmented content recording (limitation: 1 Gb maximum) |
| | |
"General": { | Section of performance general geneneral settings . |
"ObjectsMax": { | Objects processing limits. |
"ChokeLimitWindowMaxFreeCollectors": 10, | Number of objects above ConnectionsMax + PreparedCollectorsLimit, starting from it iw_loader will report about overload and will demand to stop sending new objects "PreparedCollectorsLimitcollectors, able for "living" without any activity (creating a new collector and issuing memory to it is more expensive than taking one from the pool.
|
"CollectorsForFillLimit": 10, | Number of objects , ready to be pasted while able for pasting when all DB connections are busy with ready objects. |
"HardLimitWindow": 10, | Number of objects above ChokeLimitWindow + ConnectionsMax + PreparedCollectorsLimit, Starting form it iw_loader will start refusing to accept new objects | "ConnectionsMax": 10 | Number of simultaneous connections to DB. |
} | |
} | |
}, | |
"Linearizer": { | Setup of received big (stream) data buffering |
"Path": "tmp", | Path to linearizer's temporary files |
"Limit": 1048576 | Memory usage limit specified in bytes. Once achieved CD data dropping will start |
}, | |
"DBWorkersCount": 5, | Number of streams, pasting into DB. There is no use in setting the value more than possible ConnectionsMax. Normal value = (2 - 3) * WorkersCount. |
"WorkersCount": 5, | Number of streams, taking data from "InQueue" queue, fulfilling the collectors and transferring the fulfilled collectors into DBWorkersCount streams. |
"ResourceLimits": {...}, | see Общая секция ResourceLimits | "Isler": {...} | see Общая секция Islersee General section ResourceLimits |
"Permissions": {...}see | Общая секция see General section Permissions |
} | |