This topic describes the IMCI-related parameters and supported data types.
Configuration parameters
|
Parameter |
Valid values |
Default value |
Description |
|
polar_csi.enable_query |
on|off |
off |
Specifies whether queries are allowed to use the IMCI. Valid values:
|
|
polar_csi.cost_threshold |
1~1000000000 |
50000 |
When the query cost is less than this threshold, the query statement does not use the IMCI for acceleration. Adjust the actual value based on your business workload.
Note
|
|
polar_csi.max_parallel_workers |
1~512 |
2 |
The parallelism of the IMCI, that is, the CPU resources that a single SQL statement can use. In general, a higher degree of parallelism delivers better performance. The actual value depends on your cluster resource specifications. Adjust the value based on the cluster specifications. We recommend that you do not set a value greater than the number of CPU cores of the compute node. Note
The
|
|
polar_csi.memory_limit |
1~1048576 |
4096 |
The size of memory that can be used by the IMCI. Unit: MB. A larger memory threshold enables faster index creation. Adjust the value based on the cluster specifications. We recommend that you do not set a value greater than 25% of the cluster memory. Otherwise, out-of-memory (OOM) errors may occur. Note
Oracle syntax compatibility 2.0: In minor engine version 2.0.14.19.40.0 and later, the default value of this parameter is changed to 4096. In earlier versions, the default value was 1024. |
|
polar_csi.flush_count |
2048~20480000 |
204800 |
The number of rows to be committed in each batch when the index is created. Increasing the number of rows can improve the creation efficiency, but it also requires more memory. |
|
polar_csi.update_interval |
0~3600 |
1 |
The interval at which real-time performance of row-column data is periodically updated. Unit: seconds. Increasing the update interval can merge small transactions of the same type, thereby improving data update efficiency when there is a large number of transactions. Note
Oracle syntax compatibility 2.0: In minor engine version 2.0.14.13.28.0 and later, this parameter is added to improve the real-time performance of the IMCI. |
|
polar_csi.update_batch_count |
1024~4294967295 |
100000 |
The threshold for the number of rows to update in a batch. The maximum number of rows in a single update transaction. Increasing this threshold improves data update efficiency. Note
Oracle syntax compatibility 2.0: In minor engine version 2.0.14.13.28.0 and later, this parameter is added to improve the real-time performance of the IMCI. |
|
polar_csi.forward_replay_wait |
on|off |
off |
The consistency level of IMCIIMCI data query. Valid values:
|
|
polar_csi.forward_replay_wait_lsn_diff |
0~INT_MAX |
0 |
The maximum LSN latency allowed for row-column synchronization. If the latency exceeds the specified threshold, the columnstore engine is no longer used. Unit: BYTE. Note
|
|
polar_csi.sync_addcolumn |
on|off |
off |
Specifies whether to synchronize Add Column operations to the IMCI. Note
This parameter is applicable only to the following versions: Oracle syntax compatibility 2.0: Minor engine version 2.0.14.19.40.0 and later. |
Data types
|
Category |
Data type |
|
Basic data types |
|
|
String and binary types |
|
|
Date and time types |
|
|
Numeric types |
|
|
Composite types |
Note
Oracle syntax compatibility 2.0: In minor engine version 2.0.14.19.40.0 and later, the data types |