Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


기본값
Section


최대값

Specifies the number of threads to spawn per CPU. If this value is 2 and the number of CPUs is 2, then two parallel threads are created per CPU, so the number of parallel processing threads is four. If this value is too large, memory can be consumed quickly.

Column
width50%

프로퍼티란 $MACHBASEThe properties are the settings used by the Machbase server and stored as key-value pairs in the $MACHBASE_HOME/conf/machbase.conf 파일에 정의되어 있는 키-값 의 쌍을 의미한다.이 값들은 마크베이스 서버가 시작할 때 설정되고 실행시 지속적으로 이용된다. 성능 튜닝을 위해서 이 값을 변경하려면 이 값들에 대한 의미를 이해하고, 주의 깊게 설정하여야 한다file. 
These values ​​are set when the Machbase server starts and are used continuously during runtime. To change this value for performance tuning, you must understand the meaning of these values ​​and set them carefully.

CPU_AFFINITY_BEGIN_ID

마크베이스 서버가 사용할 CPU의 시작 번호이다. 마크베이스 서버의 CPU사용량을 조절하기 위해서 사용한다This is the start number of the CPU used by the Machbase server. It is used to control the CPU usage of the Machbase server.


Value
최소값

Minimum

0
최대값

Maximum

2 ^ 32 - 1
기본값

Default

0

CPU_AFFINITY_COUNT

마크베이스 서버가 사용할 CPU의 수이다. 0으로 설정하면 마크베이스 서버가 모든 CPU를 사용한다This is the number of CPUs that the Machbase server will use. If set to 0, the Machbase server uses all CPUs.


Value
최소값

Minimum

0
최대값

Maximum

2 ^ 32 - 1
기본값

Default

0

CPU_COUNT

시스템에 설정된 CPU의 수를 지정한다. 이 값을 기반으로 마크베이스의 스레드 수를 결정한다. 0으로 지정한 경우에는 시스템의 모든 CPU를 사용한다Specifies the number of CPUs set in the system. Based on this value, the Machbase Thread determines the number. If set to 0, all CPUs in the system are used.


Value
최소값

Minimum

0 (
시스템에 물리적으로 설치된 CPU수)최대값
auto detect the physically installed count of CPU on  the system)

Maximum

2^32 -1
기본값

Default

0

CPU_PARALLEL

CPU당 생성할 스레드의 수를 지정한다. 만약 이 값이 2이고 cpu의 수가 2인 경우, 두개의 CPU마다 병렬 스레드가 2개씩 생성되므로 병렬처리 스레드의 수가 4가 된다. 이 값이 너무 큰 경우, 메모리가 빨리 소모될 수 있다.

Value
최소값1

Value

Minimum

1

Maximum

2^32 -1
기본값

Default

1

DBS_PATH

마크베이스 서버의 기본 데이터가 저장될 경로를 지정한다. 기본값은 "?/dbs"로,Specifies the path where the basic data of the Machbase server will be stored. The default is "? Dbs",  which means $MACHBASE_HOME/dbs 를 의미한다.


Value
기본값

Default

?/dbs

DEFAULT_LSM_MAX_LEVEL

LSM인덱스의 기본 레벨을 설정한다. 인덱스를 생성할 때 MAX_LEVEL값을 입력하지 않으면 이 값이 적용된다Sets the base level of the LSM index. If you do not enter a MAX_LEVEL value when creating an index, this value applies.


Value
최소값

Minimum

0
최대값

Maximum

3
기본값

Default

2

DISK_BUFFER_COUNT

디스크 입출력을 위한 버퍼의 수를 지정한다Specifies the number of buffers for disk I/O.


Value
최소값

Minimum

1
최대값2^32 - 1

Maximum

4G (4 * 1024 * 1024 * 1024)

Default

16

DISK_COLUMNAR_INDEX_CHECKPOINT_INTERVAL_SEC

인덱스에 대한 체크포인트 주기를 설정한다. 너무 길게 설정할 경우, 인덱스 빌드에 오류가 발생할 수 있다Sets the checkpoint interval for the index. If set too long, errors may occur during index creation.


Value
최소값

Minimum

1 (sec)
최대값

Maximum

2^32 -1 (sec)
기본값

Default

120 (sec)

DISK_COLUMNAR_INDEX_FDCACHE_COUNT

오픈한 인덱스 파티션 파일 디스크립터의 수를 지정한다Specifies the number of opened index partition file descriptors.


Value
최소값

Minimum

0
최대값

Maximum

2^32 -1
기본값

Default

0



Column
width45%

목차


Table of Contents
maxLevel3
indent20px
exclude목차
classtoc


DISK_COLUMNAR_INDEX_SHUTDOWN_BUILD_FINISH

마크베이스 서버를 종료할 때, 인덱스 정보를 디스크에 모두 반영할 것인지를 설정한다. 이 값을 '1'로 설정하면 모든 인덱스 정보를 디스크에 반영하고 종료하므로 종료시 대기 시간이 길어질 수 있다.

...

Sets whether or not to reflect index information on the disk when the Machbase server is shutdown. If this value is set to '1', all index information is reflected on the disk and ends, so waiting times may be long.


Value

Minimum

0 (False)
최대값

Maximum

1 (True)
기본값

Default

0 (False)

DISK_COLUMNAR_PAGE_CACHE_MAX_SIZE

페이지 캐쉬의 최대 크기를 설정한다Sets the maximum size of the page cache.


Value
최소값

Minimum

0
최대값

Maximum

2^64 - 1
기본값

Default

2 * 1024 * 1024 * 1024

DISK_COLUMNAR_TABLE_CHECKPOINT_INTERVAL_SEC

테이블 데이터의 체크포인트 주기를 설정한다. 이 값이 너무 크면 재시작시 복구 시간이 매우 길어지고, 이 값이 너무 작으면 I/O가 자주 발생하여 전체 성능이 저하될 수 있다Sets checkpoint period of table data. If this value is too large, the recovery time will be longer at restart. If this value is too small, I/O will frequently occur and the overall performance may be degraded.


Value
최소값

Minimum

1 (sec)
최대값

Maximum

2^32 -1 (sec)
기본값

Default

120 (sec)

DISK_COLUMNAR_TABLE_COLUMN_FDCACHE_COUNT

테이블의 컬럼 데이터에 대한 오픈된 파일 설명자의 최대 수를 지정한다Specifies the maximum number of open file descriptors for column data in the table.


Value
최소값

Minimum

0
최대값

Maximum

2^32 - 1
기본값

Default

0

DISK_COLUMNAR_TABLE_COLUMN_MINMAX_CACHE_SIZE

Sets the size of the default MINMAX cache set in the _ARRIVAL_TIME 컬럼에 설정되는 기본 MINMAX 캐쉬의 크기를 설정한다column.


Value
최소값

Minimum

0
최대값

Maximum

2^64 - 1
기본값

Default

100 *1024 * 1024

DISK_COLUMNAR_TABLE_COLUMN_PART_FLUSH_MODE

컬럼 파티션 파일의 자동 플러쉬 주기를 설정한다Sets the automatic flush interval for column partition files.


Value
최소값

Minimum

0 (sec)
최대값

Maximum

2^32-1 (sec)
기본값

Default

60 (sec)

DISK_COLUMNAR_TABLE_COLUMN_PART_IO_INTERVAL_MIN_SEC

파티션 파일을 디스크에 반영하는 주기를 설정한다. 파티션이 설정된 갯수보다 더 많은 데이터를 입력받으면 이 주기와 관계없이 디스크에 반영된다Sets the frequency with which the partition file is reflected on the disk. When more data is input than the number of partitions set, it is reflected on the disk regardless of this period.


Value
최소값

Minimum

0 (sec)
최대값

Maximum

2^32-1 (sec)
기본값

Default

3 (sec)

DISK_COLUMNAR_TABLE_COLUMN_PARTITION_PRECREATE_COUNT

테이블에 대해서 사용할 예정인 컬럼 파티션 객체의 사전 생성 수를 정의한다Defines the number of pre-generated column partition objects to be used for the table.


Value
최소값

Minimum

1
최대값

Maximum

2^32-1
기본값

Default

3

DISK_COLUMNAR_TABLE_TIME_INVERSION_MODE

설정된 값 만큼 If set to 1, the input is allowed even if the value of the _ARRIVAL_TIME컬럼의 값이 감소하더라도 입력을 허용한다. 만약 0인 경우 _ARRIVAL_TIME컬럼 값의 최대값보다 작은 값이 입력되면 이는 오류로 처리된다TIME column is reduced. If it is 0, a value smaller than the Maximum of the _ARRIVAL_TIME column value is entered as an error.


Value
최소값

Minimum

0 (False)
최대값

Maximum

1 (True)
기본값

Default

1 (True)

DISK_COLUMNAR_TABLESPACE_DWFILE_EXT_SIZE

시작시 복구를 위해서 사용되는 더블 라이트 파일이 한번에 증가하는 크기를 지정한다.

...

Specifies the size at which the double write file used for recovery at startup increases at one time.


Value

Minimum

1024 * 1024
최대값

Maximum

2^32 - 1
기본값

Default

1024 * 1024

DISK_COLUMNAR_TABLESPACE_DWFILE_INT_SIZE

파일 생성시에 더블라이트 파일이 확보하는 용량을 지정한다Specifies the amount of space secured by the double write file when the file is created.


Value
최소값

Minimum

1024 * 1024
최대값

Maximum

2^32 - 1
기본값

Default

2* 1024 * 1024

DISK_COLUMNAR_TABLESPACE_MEMORY_EXT_SIZE

컬럼 파티션을 위해서 확보하는 메모리의 블록 크기를 지정한다Specifies the block size of the memory to reserve for the column partition.


Value
최소값

Minimum

1024 * 1024
최대값

Maximum

2^64 - 1
기본값

Default

2* 1024 * 1024

DISK_COLUMNAR_TABLESPACE_MEMORY_MAX_SIZE

로그 테이블에 의하여 할당된 최대 메모리 크기를 지정한다. 만약 서버가 이 값 이상의 메모리를 할당하게 되면, 메모리 사용량이 이 값 이하로 줄어들 때 까지 메모리 할당이 대기하므로 성능이 저하된다. 이 값은 물리적 메모리의 50~80% 정도로 설정할 것을 추천한다.

...

Specifies the maximum amount of memory allocated by the log table. If the server allocates more than this amount of memory, the memory allocation will wait until the memory usage drops below this value. It is recommended to set this value to 50 ~ 80% of physical memory.


Value

Minimum

256 * 1024 * 1024
최대값

Maximum

2^64 - 1
기본값

Default

8 * 1024 * 1024 * 1024

DISK_COLUMNAR_TABLESPACE_MEMORY_MIN_SIZE

마크베이스 서버가 시작할 때, 메모리 할당에 의한 성능 저하를 막기 위해서 이 값 만큼 메모리를 사전 확보한다. 데이터 입력 버퍼로만 이 메모리를 사용하므로, 메모리가 충분할 경우에만 사용할 것을 추천한다When the Machbase server starts, it pre-allocates memory by this value to prevent performance degradation due to memory allocation. Since this memory is used only as a data input buffer, it is recommended to use it only when memory is sufficient.

Table 24. Range of values


Value
최소값

Minimum

1024 * 1024
최대값

Maximum

2^64 - 1
기본값

Default

100 * 1024 * 1024

DISK_COLUMNAR_TABLESPACE_MEMORY_SLOWDOWN_HIGH_LIMIT_PCT

컬럼 데이터 파일을 위한 메모리 사용량이 제한 값을 이 값을 다음과 같이 이용하여 계산하고, 초과한 경우 입력 성능을 저하시킨다.Limits the performance when the memory usage exceeds the set value when data is input to the log table.  

Code Block
DISK_COLUMNAR_TABLESPACE_MEMORY_MAX_SIZE * (DISK_COLUMNAR_TABLESPACE_MEMORY_SLOWDOWN_HIGH_LIMIT_PCT / 100)



Value
최소값

Minimum

0
최대값

Maximum

100
기본값

Default

80

DISK_COLUMNAR_TABLESPACE_MEMORY_SLOWDOWN_MSEC

컬럼 데이터 파일을 위한 메모리 사용량이 기준을 초과한 경우, 매 레코드 입력시에 다음의 대기 시간을 설정한다Sets the next wait time for each record entry if the memory usage for the column data file exceeds the criterion.


Value
최소값

Minimum

0 (msec)
최대값

Maximum

2^32 - 1 (msec)
기본값

Default

1 (msec)

DISK_IO_THREAD_COUNT

데이터를 디스크에 기록하는 입출력 스레드의 수를 설정한다Sets the number of I/O threads that write data to disk.


Value
최소값

Minimum

1
최대값

Maximum

2^32 -1
기본값

Default

3

DISK_TABLESPACE_DIRECT_IO_FSYNC

When running Direct I/O를 실행할 경우, 데이터 파일에 대해서 fsync는 불필요하다. Direct I/O 를 사용할 경우 fsync를 사용하지 않도록 하면 데이터 I/O 성능을 향상시킬 수 있다 (0으로 설정).
Fsync를 수행하지 않아도 일반적 상황에서는 데이터 유실이 없으나 전원이 꺼지는 등의 장애 상황이 발생할 수 있는 경우에는 fsync를 수행하도록 설정해야 한다.

...

O, fsync is unnecessary for data files. Disable fsync when using Direct I/O to improve data I/O performance (Set to 0). 
Although fsync is unncessary, fsync must be set to perform in case of failure situations such as a power outage because in a normal situation there is no data loss,


Value

Minimum

0

Maximum

1

Default

0

DISK_TABLESPACE_DIRECT_IO_READ

데이터 읽기 연산에 Sets whether to use DIRECT I/O 를 사용할 것인지를 설정한다for data read operation.


Value
최소값

Minimum

0
최대값

Maximum

1
기본값

Default

0

DISK_TABLESPACE_DIRECT_IO_WRITE

데이터 쓰기 연산에 Sets whether to use DIRECT I/O 를 사용할 것인지 설정한다. 파일 시스템에 따라서 DIRECT I/O 지원하지 않는 경우(ex: ZFS), 0으로 설정한다.

...

O for data write operation.


Value

Minimum

0

Maximum

1

Default

1

DISK_TAG_AUTO_RECLAIM

TAG 데이터에 대해서 사용되지 않는 공간을 자동 확보할 것인지의 여부를 결정한다. 기본값인 1인 경우, 자동 공간 확보 기능이 동작하고 0 인 경우에는 동작하지 않으며 사용자가 ALTER TABLE문을 이용하여 해당 기능을 직접 수행해야 한다Determines whether to automatically secure unused space for TAG data.

If it is 1, which is the default value, the automatic space securing function works, and if it is 0, it does not work, and the user must directly execute the function using the ALTER TABLE statement.


Value
최소값0
최대값1
기본값1

DUMP_APPEND_ERROR

이 값을 1로 설정하면 Append API 가 실패한 경우 If this value is set to 1, the $MACHBASE_HOME/trc/machbase.trc 파일에 에러 내용을 기록한다.
이 상황에서 append 성능이 매우 저하될 수 있으므로 테스트용으로만 사용할 것을 권장한다.

사용자 application에서 에러를 검사하고 싶으면 SQLAppendSetErrorCallback API 를 사용하는 것이 도움이 된다.

...

 file will record the error if the Append API fails.
In this situation, the append performance is very low, so it is recommended to use for testing purposes only.

If you want to check for errors in the user application,  it is helpful to use the SQLAppendSetErrorCallback API.


Value

Minimum

0

Maximum

1

Default

0

DUMP_TRACE_INFO

서버는 일정한 주기로 DBMS 시스템 상태 정보를 The server periodically records the DBMS system status information in the machbase.trc 파일에 주기적으로 기록하는데, 이 주기를 설정한다.
0으로 설정하면 기록하지 않는다file at regular intervals, and sets this period. 
If it is set to 0, it is not recorded.


Value
최소값

Minimum

0 (sec)
최대값

Maximum

2^32 - 1 (sec)
기본값

Default

60 (sec)

DURATION_BEGIN

DURATION 절을 지정하지 않은 SELECT 문에 대해서 기본을 설정하는 duration 값 중 시작시점을 설정한다.
만약 60을 설정해 두었다면, 현재 시각에서 60초 이전의 데이터를 검색하게 된다.

기본값은 0으로 모든 데이터를 검색한다.

...

Sets the start time of the duration value that sets the default for the SELECT statements that do not specify the DURATION clause.
If set to 60, data will be retrieved 60 seconds before the current time.

The default is 0 to retrieve all data.


Value

Minimum

0

Maximum

2^32 - 1
기본값

Default

0

DURATION_GAP

DURATION 절을 지정하지 않은 SELECT 문에 대해서 기본을 설정하는 duration 값 중 기간을 설정한다.

  • 만약 60을 설정해 두었다면, 현재 시각에서 60초 동안의 데이터를 검색하게 된다.
  • DURATION_BEGIN 값도 60이라면, 현재 시각에서 60초 이전부터 60초 동안의 데이터를 검색하게 된다.

기본값은 0으로 모든 데이터를 검색한다.

...

Sets the start time of the duration value that sets the default for the SELECT statements that do not specify the DURATION clause.

  • If set to 60, data will be retrieved for 60 seconds from the current time.
  • If the DURATION_BEGIN value is 60, the data is retrieved from 60 seconds before to 60 seconds from the current time.

The default is 0 to retrieve all data.


Value

Minimum

0

Maximum

Non-zero
기본값

Default

0

FEEDBACK_APPEND_ERROR

Append API 실행시 오류가 발생하였을 경우, 오류 데이터를 클라이언트에 전송할지를 설정한다. 0이면 클라이언트에 오류 데이터를 전송하지 않으며 1이면 클라이언트에 오류 정보를 전송한다Sets whether to send error data to the client when an Append API error occurs. If 0, no error data is sent to the client. If it is 1, error information is sent to the client.


Value
최소값

Minimum

0
최대값

Maximum

1
기본값

Default

1

GRANT_REMOTE_ACCESS

원격지에서 데이터베이스에 접근할 수 있는지를 결정한다. 0이면 원격지 접속이 차단된다Determines whether the database can be accessed remotely. If 0, the remote connection is blocked.


Value
최소값

Minimum

0 (False)
최대값

Maximum

1 (True)
기본값

Default

1 (True)

HTTP_THREAD_COUNT

마크베이스의 웹 서버가 사용할 스레드의 개수를 설정 가능하다Set the number of threads to be used by the Machbase web server.


Value
최소값Minimum0
최대값Maximum1024
기본값Default

2(Edge)

32(Fog/Cluster)

INDEX_BUILD_MAX_ROW_COUNT_PER_THREAD

인덱스 빌드 스레드가 인덱싱 되지 않은 레코드의 수가 이 값 이상이 되면 인덱스를 추가하기 시작한다If the number of records not indexed is greater than this value, the index build thread begins to add indexes.


Value
최소값

Minimum

1
최대값

Maximum

2^32 - 1
기본값

Default

100000

INDEX_BUILD_THREAD_COUNT

인덱스 생성 스레드의 수를 지정한다. 0으로 설정되면 인덱스를 생성하지 않는다Specifies the number of index creation threads. If set to 0, no index is created.


Value
최소값

Minimum

0
최대값

Maximum

2 ^ 32 - 1
기본값

Default

3

INDEX_FLUSH_MAX_REQUEST_COUNT_PER_INDEX

인덱스당 최대 flush 요청 수를 지정한다Specifies the maximum number of flush requests per index.


Value
최소값

Minimum

0
최대값

Maximum

2 ^ 32 - 1
기본값

Default

3

INDEX_LEVEL_PARTITION_AGER_THREAD_COUNT

LSM 인덱스 생성시에 필요없는 인덱스 파일의 삭제를 위한 스레드의 갯수를 지정한다.

...

Specifies the number of threads to delete index files that are not needed when creating LSM indexes.


Value

Minimum

0

Maximum

1024

Default

1

INDEX_LEVEL_PARTITION_BUILD_MEMORY_HIGH_LIMIT_PCT

LSM 인덱스 생성을 위한 최대 메모리 사용량의 퍼센트로 설정한다. 이 퍼센트는 마크베이스가 사용하는 최대 메모리사용량 대비하여 설정된다. 메모리 사용량이 한도를 초과하면, LSM 파티션 병합은 중지된다Sets the maximum memory usage for LSM index creation as a percent. This percent is set based on the maximum memory usage used by Machbase. If the memory usage exceeds the limit, the LSM partition merge is stopped.


Value
최소값

Minimum

0
최대값

Maximum

100
기본값

Default

70

INDEX_LEVEL_PARTITION_BUILD_THREAD_COUNT

LSM 인덱스의 생성을 위한 병합 연산을 수행하는 스레드의 수를 결정한다Determines the number of threads performing the merge operation for the creation of the LSM index.


Value
최소값

Minimum

1
최대값

Maximum

1024
기본값

Default

3

LOOKUP_APPEND_UPDATE_ON_DUPKEY

Lookup 테이블에 Append 할 때 Primary Key가 중복일 경우 어떻게 처리할지 지정한다When appending to the lookup table, it specifies how to handle duplicate primary keys.

  • 0 : Append 실패fail
  • 1 : 해당  Update Row for the corresponding Primary Key 에 대해서 Row를 Update 한다.

Value
최소값Minimum0
최대값Maximum1
기본값Default0

MAX_QPX_MEM

Sets the maximum amount of memory used by the query processor to perform the GROUP BY, DISTINCT, and ORDER BY 절을 수행하기 위해서 질의처리기가  이용하는 메모리의 최대 양을 설정한다.
하나의 질의문이 이보다 큰 값으로 메모리를 사용하게 되면 질의는 취소된다. 이때, 에러메시지를 클라이언트에 전송하고, machbase.trc 파일에 관련 내용이 기록된다.

...

clauses. 
If one query uses memory with a larger value, the query is canceled. At this time, an error message is sent to the client, and the relevant content is recorded in the machbase.trc file.


Value

Minimum

1024 * 1024
최대값

Maximum

2^64 - 1
기본값

Default

500 * 1024 * 1024

MEMORY_ROW_TEMP_TABLE_PAGESIZE

Volatile table및 lookup 테이블을 위한 임시 테이블 스페이스의 페이지 크기를 설정한다. Volatile 테이블 및 lookup 테이블의 레코드들은 페이지에 저장되므로 volatile을 위한 최대 레코드 크기보다 커야 한다.
페이지에 N개의 레코드를 입력하고 싶으면 이 값을 최대 레코드 크기 * N으로 설정해야 한다.

...

Sets the page size of the temporary tablespace for volatile tables and lookup tables. Because this page stores volatile tables and lookup table records, it should be larger than the maximum record size for volatile tables.
If you want to enter N records into the page, you should set this value to the maximum record size * N.


Value

Minimum

8 * 1024
최대값

Maximum

2^32 - 1
기본값

Default

32 * 1024

PID_PATH

마크베이스 서버 프로세스의 PID파일이 기록되는 위치를 지정한다. 기본값은 Specifies the location where the PID file of the Machbase server process is to be written. The default is "?/conf"이며 이는 Conf", which means $MACHBASE_HOME/conf 를 의미한다.


Value
기본값

Default

?/conf


PID_PATH

Value

PID

파일 위치 경로지정되지 않음

File Location Path

Not Specified

$MACHBASE_HOME/conf/machbase.pid
?/test$MACHBASE_HOME/test/machbase.pid
/tmp/tmp/machbase.pid

PORT_NO

마크베이스 서버 프로세스가 클라이언트와 통신하기 위한 Specifies the TCP/IP 포트를 지정한다. 기본값은 5656이다port for the Machbase server process to communicate with the client. The Default is 5656.


Value
최소값

Minimum

1024
최대값

Maximum

65535
기본값

Default

5656

PROCESS_MAX_SIZE

마크베이스 서버 프로세스인 machbased 프로그램이 사용하는 최대 메모리 사이즈를 지정한다. 이 제한값 이상의 메모리를 사용하려고 하면 서버는 다음과 같이 동작하여 메모리의 사용량을 줄이려고 시도한다. 메모리 제한을 초과한 경우, 다음의 방법으로 메모리 사용량을 줄인다.

  • 데이터 입력을 중지하거나 오류로 처리
  • 인덱스 생성 속도를 떨어뜨림

이 경우, 성능이 매우 저하되므로, 메모리 과다 사용 원인을 찾아서 해결하여야 한다.

...

Specifies the maximum memory size used by machbased programs that are Machbase server processes. If you try to use more memory than the set limit, the server operates as follows to reduce the memory usage.

  • Stops data insert or treats it as an error
  • Decreased index creation speed

In this case, the performance is greatly degraded, so the cause of overuse of the memory must be found and solved.


Value

Minimum

1024 * 1024 * 1024
최대값

Maximum

2^64 - 1
기본값

Default

8 * 1024 * 1024 * 1024

QUERY_PARALLEL_FACTOR

병렬 질의 실행기의 실행 스레드의 수를 지정한다Specifies the number of execution threads of the parallel query executor.


Value
최소값

Minimum

1
최대값

Maximum

100
기본값

Default

8

ROLLUP_FETCH_COUNT_LIMIT

롤업 스레드가 한번에 패치해올 데이터양을 제한한다.

0으로 설정할 경우 제한이 없다Limits the amount of data the rollup thread can fetch at one time.

If set to 0, there is no limit.


Value
최소값Minimum0
최대값Maximum2^32 - 1
기본값Default0

RS_CACHE_APPROXIMATE_RESULT_ENABLE

결과값 캐쉬의 추측 모드(Determines whether to use the approximate result mode )를 사용할지의 여부를 결정한다. 이 값이 1이면 결과값 캐쉬를 사용할 때, 추측 값을 얻고(매우 빠르지만 데이터가 부정확할 수 있다.) 0 이면 정확한 값을 얻는다of the result cache. If this value is 1, the speculative value is obtained (very fast but the data may be inaccurate) when using the result cache, and if it is 0, the correct value is obtained.


Value
최소값

Minimum

0 (False)
최대값

Maximum

1 (True)
기본값

Default

0 (False)

RS_CACHE_ENABLE

결과값 캐쉬를 사용할 지의 여부를 결정한다Determines whether to use the result cache.


Value
최소값

Minimum

0 (False)
최대값

Maximum

1 (True)
기본값

Default

1 (True)

RS_CACHE_MAX_MEMORY_PER_QUERY

결과값 캐쉬가 사용할 메모리의 양을 설정한다. 특정 질의 결과의 메모리 사용량이 이 값을 초과하면, 해당 질의의 결과는 결과값 캐쉬에 저장되지 않는다Sets the amount of memory the result cache will use. If the memory usage of a particular query result exceeds this value, the result of the query is not stored in the result cache.


Value
최소값

Minimum

1024
최대값

Maximum

2^64 - 1
기본값

Default

16 * 1024 * 1024

RS_CACHE_MAX_MEMORY_SIZE

결과값 캐쉬의 최대 메모리 사용량을 지정한다Specifies the maximum memory usage of the result cache.


Value
최소값

Minimum

32 * 1024
최대값

Maximum

2^64 - 1
기본값

Default

512 * 1024 * 1024

RS_CACHE_MAX_RECORD_PER_QUERY

결과값 캐쉬에 저장되는 최대 레코드 갯수이다. 만약 질의의 결과 레코드의 수가 이 값 이상이면 해당 질의 결과값은 캐쉬에 저장하지 않는다The maximum number of records to be stored in the result cache. If the number of records resulting from the query is greater than this value, the query result is not stored in the cache.


Value
최소값

Minimum

1
최대값

Maximum

2^64 - 1
기본값

Default

10000

RS_CACHE_TIME_BOUND_MSEC

특정 질의가 매우 빠르게 실행된 경우에는 그 결과값을 결과값 캐쉬에 저장하지 않는 것이 메모리 사용량을 줄일 수 있으므로 캐쉬에 저장하지 않는것이 좋다.

이 값은 어느 정도 빨리 실행된 질의를 캐쉬에 저장하지 않을지를 결정한다. 0으로 설정된 경우에는 모든 질의결과를 결과집합캐쉬에 저장한다.

...

If a particular query is executed very quickly, it is better not to store it in the result cache because it can reduce memory usage.
This value determines how fast the query executed should not be stored in the cache. When set to 0, all query results are stored in the result cache.


Value

Minimum

0 (msec)
최대값

Maximum

2^64 - 1 (msec)
기본값

Default

1000 (msec)

SHOW_HIDDEN_COLS

If set to the Default of 0, the _ARRIVAL_TIME 컬럼은 기본 설정으로는 column is not displayed by the SELECT * FROM 질의에 의해서 표시되지 않는다. 그러나 이 값이 1로 설정된 경우에는 해당 컬럼을 표시한다query. If this value is set to 1, the corresponding column is displayed.


Value
최소값

Minimum

0
최대값

Maximum

1
기본값

Default

0

TABLE_SCAN_DIRECTION

태그 테이블의 스캔 방향을 설정할 수 있다. 프로퍼티 값은 You can set the scan direction of the tag table. The property value is one of -1, 0, 1중 택일이며 기본값은 0이다, and 1, and the default value is 0.

  • -1 : 역방향 스캔Reverse scan
  • 0  : Tag Table(정방향 스캔Forward scan), Log Table(역방향 스캔Reverse scan)
  • 1  : 정방향 스캔Forward scan

Value
최소값Minimum-1
최대값Maximum1
기본값Default0

TAGDATA_AUTO_META_INSERT

Info

In 5.5 에서는 TAGDATAversion, this property name was TAGDATA_AUTO_NAME_INSERT 이다. 값의 범위도 0/1 이다.
5.7 이하에서는 기본값이 1 이다.

TAGDATA 테이블에 APPEND/INSERT 를 통해 데이터를 입력할 때, 일치하는 TAG_NAME 이 없을 경우 어떻게 처리할 것인지를 정한다.

  • 0 : 입력이 실패한다.
  • 1 : 입력을 원하는 TAG_NAME 값을 입력한다. 추가 메타데이터 컬럼이 존재할 경우, 해당 컬럼의 값은 모두 NULL 로 입력된다.
  • 2 : 입력을 원하는 TAG_NAME 값과 함께, 추가 메타데이터 컬럼 값도 같이 입력한다.
    • APPEND 에서만 유효한 설정이며, INSERT 는 추가 메타데이터 컬럼 값을 입력할 수 없기 때문에 1과 같이 작동한다.
    • 이 설정을 한 이후에는, APPEND 에서 반드시 메타데이터 컬럼 값까지 포함시킨 APPEND Parameter 로 입력해야 한다.

...

and supports only 0 or 1. 
Below 5.7 version, default value is 1.

When entering data through APPEND / INSERT into the TAGDATA table, specify how to handle it if there is no matching TAG_NAME.

  • 0: Input fails.
  • 1: Input TAG_NAME value to input. If there are additional metadata columns, the values of all columns are entered as NULL.
  • 2: Enter the additional metadata column value along with the TAG_NAME value you want to enter.
    • This setting is valid only in APPEND. INSERT works like 1 because you cannot enter additional metadata column values.
    • After this setting, the APPEND parameter must include the metadata column value in APPEND.

Value
Minimum0
Maximum2
Default1

TAG_TABLE_META_MAX_SIZE

TAGDATA Table 생성 시 Metadata 영역을 보관할 메모리의 최대 크기를 설정한다When creating the TAGDATA table, set the maximum size of memory to store the metadata area.


Value
최소값Minimum1024*1024
최대값Maximum2^32-1
기본값Default100*1024*1024

TRACE_LOGFILE_COUNT

Specifies the maximum number of log trace files generated in TRACE_LOGFILE_PATH에 생성되는 로그 트레이스 파일의 최대 수를 지정한다. 디스크 공간을 절약하기 위해서, 최대 개수 이상의 로그파일이 생성되면 가장 오래된 로그파일을 삭제한다.

로그 트레이스 파일의 최대 개수 이상의 로그파일이 생성되어 가장 오래된 파일이 삭제될 경우 삭제된 파일의 이름이 가장 최신의 로그파일로 저장이 된다.

...

PATH. To save disk space, delete the oldest log file if more than the maximum number of log files are created.

If more than the maximum number of log trace files is created and the oldest file is deleted, the name of the deleted file is saved as the newest log file.


Value

Minimum

1

Maximum

2^32 - 1
기본값

Default

1000
5

TRACE_LOGFILE_PATH

로그 트레이스 파일들Set the path of the log trace files (machbase.trc, machadmin.trc, machcollector.trc, machsql.trc)의 경로를 설정한다.
이 파일들은 마크베이스의 시작, 종료, 실행시 내부 정보를 지속적으로 기록한다. 기본값인 ?/trc의 의미는  
These files continuously record internal information at the start, end, and run of Machbase. The default ?/trc  means $MACHBASE_HOME/trc 를 의미한다.


Value
기본값

Default

?/conf


TRACE_LOGFILE_
PATH 값
PATH trc
디렉터리 위치지정되지 않음
direction location

Not Specified

$MACHBASE_HOME/trc/
?/test$MACHBASE_HOME/test/
/tmp/tmp/

TRACE_LOGFILE_SIZE

 로그 트레이스 파일의 최대 크기를 설정한다. 만약 크기 이상의 데이터를 기록하여야 한다면, 신규로 log 파일을 생성할 것이다Sets the maximum size of the log trace file. If it is necessary to record more data than the size, a new log file is created.


Value
최소값

Minimum

10 * 1024 * 1024
최대값

Maximum

2^32 - 1
기본값

Default

10 * 1024 * 1024

UNIX_PATH

Sets the path to the Unix domain socket 파일의 경로를 설정한다. 사용자가 설정하지 않았을 경우의 기본 값은 file. The Default when not set by user is ?/conf/machbase-unix 이다.


Value
기본값

Default

?/conf/machbase-unix

VOLATILE_TABLESPACE_MEMORY_MAX_SIZE

시스템의 모든 volatile, lookup 테이블의 메모리 사용량 총계의 한도를 설정한다Sets the total amount of memory usage for all volatile and lookup tables in the system.


Value
최소값

Minimum

0
최대값

Maximum

2^64 - 1
기본값

Default

2 * 1024 * 1024 * 1024