오토셋 6 매니저 사용법
33. CUBRID 서버 설정, cubrid.conf 파일 수정
오토셋 매니저는 텍스트 기반으로 되어 있는 큐브리드(CUBRID) 서버의 설정 파일을
GUI 기반으로 설정할 수 있도록 지원합니다.
큐브리드 서버(CUBRID Server)에 대한 설정을 하려면, 큐브리드 설치 경로confcubrid.conf 파일을 수정해야 합니다.
(오토셋 도나 6버전으로 설치된 큐브리드는 오토셋 설치 폴더ServerCUBRIDconfcubrid.conf 파일)
오토셋 매니저는 상기 cubrid.conf 에 대해 GUI 환경으로 설정할 수 있도록 지원합니다.
"도구 > CUBRID 서버 설정" 메뉴를 클릭합니다.
다음 항목을 설정할 수 있으며, 각 항목에 대한 설명은 큐브리드 매니저 온라인 도움말을 참고했습니다.
(http://www.cubrid.com/online_manual/cubrid_820/pm/pm_db_setting.htm )
- service
: CUBRID 서비스를 시작 할 때, 시작될 서비스를 지정합니다.
기본 적으로 서버와 브로커, 매니저의 서비스가 시작되도록 설정되어 있습니다.
cubrid.conf 상의 [service] 섹션의 "service" 에 대한 설정이며,
기본 값은 "server,broker,manager" 로 설정되어 있습니다.
특별한 경우가 아니라면 변경하지 않습니다.
- server
: CUBRID 서비스가 시작 될 때 같이 시작될 데이터베이스 서버를 나열합니다.
cubrid.conf 상의 [service] 섹션의 "server" 에 대한 설정이며, 기본 값은 없습니다.
이 항목은 service 항목의 값에 service 와 server 가 설정되어 있는 경우에만 효과적입니다.
- data buffer pages
: 이 항목은 전체 데이터베이스에 적용되며, cubrid.conf 상의 [common] 섹션의 "data_buffer_pages" 에 대한
설정을 변경할 수 있습니다.
데이터 버퍼 페이지를 지정합니다.
기본 값은 "25000" 입니다. (data_buffer_pages (25,000 pages) * DB page size (4KB) = 100M)
- sort buffer pages
: 이 항목은 전체 데이터베이스에 적용되며, cubrid.conf 상의 [common] 섹션의 "sort_buffer_pages" 에 대한
설정을 변경할 수 있습니다.
정렬 시 사용되는 버퍼 페이지를 지정합니다.
기본 값은 "16" 입니다. (sort_buffer_pages (16 pages) * DB page size (4KB) * number of threads)
- log buffer pages
: 이 항목은 전체 데이터베이스에 적용되며, cubrid.conf 상의 [common] 섹션의 "log_buffer_pages" 에 대한
설정을 변경할 수 있습니다.
로그 버퍼 페이지를 지정합니다.
기본 값은 "50" 입니다. (log_buffer_pages (50 pages) * DB page size (4KB) = 200KB)
- lock escalation
: 이 항목은 전체 데이터베이스에 적용되며, cubrid.conf 상의 [common] 섹션의 "lock_escalation" 에 대한
설정을 변경할 수 있습니다.
Maximum number of locks acquired on individual instances of a
class before the locks on the instances are escalated to a class lock.
기본 값은 "100000" 입니다.
- lock timeout
: 이 항목은 전체 데이터베이스에 적용되며, cubrid.conf 상의 [common] 섹션의 "lock_timeout_in_secs" 에 대한
설정을 변경할 수 있습니다.
Minimal amount of time to wait for a lock (seconds).
A negative value, indicates to wait indefinitely until the lock is
granted or until the transaction is rolled back as a result of a deadlock.
A value of 0, indicates not to wait for a lock.
기본 값은 "-1" 입니다.
- deadlock detection interval
: 이 항목은 전체 데이터베이스에 적용되며, cubrid.conf 상의 [common] 섹션의
"deadlock_detection_interval_in_secs" 에 대한 설정을 변경할 수 있습니다.
Interval between attempts at deadlock detection (seconds).
An approximate interval to attempt to run the deadlock detector.
기본 값은 "1" 입니다.
- checkpoint interval
: 이 항목은 전체 데이터베이스에 적용되며, cubrid.conf 상의 [common] 섹션의 "checkpoint_interval_in_mins" 에 대한
설정을 변경할 수 있습니다.
Checkpoint when the specified time has passed (minutes).
Checkpoint will be done also when log has grown by specified pages.
기본 값은 "720" 입니다.
- isolation level
: 이 항목은 전체 데이터베이스에 적용되며, cubrid.conf 상의 [common] 섹션의 "isolation_level" 에 대한
설정을 변경할 수 있습니다.
Transaction isolation level.
Six levels of isolation are provided, represented by:
"TRAN_SERIALIZABLE"
"TRAN_REP_CLASS_REP_INSTANCE"
"TRAN_REP_CLASS_COMMIT_INSTANCE"
"TRAN_REP_CLASS_UNCOMMIT_INSTANCE"
"TRAN_COMMIT_CLASS_COMMIT_INSTANCE"
"TRAN_COMMIT_CLASS_UNCOMMIT_INSTANCE"
For other aliases, or for more information on the levels, see the
System Parameters chapter in the Database Administration Guide.
기본 값은 "TRAN_REP_CLASS_UNCOMMIT_INSTANCE" 입니다.
- cubrid port id
: 이 항목은 전체 데이터베이스에 적용되며, cubrid.conf 상의 [common] 섹션의 "cubrid_port_id" 에 대한
설정을 변경할 수 있습니다.
TCP port id for the CUBRID programs (used by all clients).
기본 값은 "1523" 입니다.
- max clients
: 이 항목은 전체 데이터베이스에 적용되며, cubrid.conf 상의 [common] 섹션의 "max_clients" 에 대한
설정을 변경할 수 있습니다.
The maximum number of concurrent client connections the server will accept.
This value also means the total of concurrent transactions.
기본 값은 "50" 입니다.
- auto restart server
: 이 항목은 전체 데이터베이스에 적용되며, cubrid.conf 상의 [common] 섹션의 "auto_restart_server" 에 대한
설정을 변경할 수 있습니다.
Restart the server process automatically.
기본 값은 "yes" 입니다.
- replication
: 이 항목은 전체 데이터베이스에 적용되며, cubrid.conf 상의 [common] 섹션의 "replication" 에 대한
설정을 변경할 수 있습니다.
Become a master server for replication.
기본 값은 "no" 입니다.
- java stored procedure
: 이 항목은 전체 데이터베이스에 적용되며, cubrid.conf 상의 [common] 섹션의 "java_stored_procedure" 에 대한
설정을 변경할 수 있습니다.
Enable Java Stored Procedure
기본 값은 "no" 입니다.
"변경사항 저장" 버튼을 눌러, 큐브리드 서버 설정을 변경할 수 있으며,
변경이 완료되면 상기 그림과 같이 "CUBRID 서버의 설정이 변경되었습니다." 메시지를 확인할 수 있습니다.
이미 큐브리드 서버가 켜져 있다면, 변경된 사항은 다음 번 큐브리드 서버 구동 시 적용됨에 유의합니다.