cubrid.conf 설정 질문 드립니다.

by 지옥성녀은비 posted Nov 12, 2019

* 질문 등록 시 다음의 내용을 꼭 기입하여 주세요.
OS
Linux 64bit 
CUBRID Ver.
CUBRID 9.3 (9.3.6.0016) (64bit release build for linux_gnu) (Jul 12 2017 10:34:19)
CUBRID TOOL Ver.

응용 환경(API


* CUBRID 응용 오류, SQL 오류 또는 SQL 튜닝 관련된 문의는 반드시 다음의 내용을 추가해 주세요. 비밀글이나 비밀 댓글도 가능합니다.
* 저희가 상황을 이해하고, 재현이 가능해야 알 수 있는 문제들이 많습니다. 가능한 정보/정황들을 부탁합니다.
에러 내용 및 재현 방법 재현 가능한 Source와 SQL
관련 테이블(인덱스, 키정보 포함) 정보 CUBRID 홈 디렉토리 아래 log 디렉토리 압축


-------------- 아래에 질문 사항을 기입해 주세요. ------------------------------------------------------------------------





x86 리눅스 서버에 큐브리드를  사용하려고 설정 중입니다.



제온 16core   메모리 96GB  서버입니다.


아래는 cubrid.conf 설정인데  메모리 96GB 맞춰서 설정이 올바른지 질문 드립니다.


[@master_db]가 주 DB입니다.








[service]


# The list of processes to be started automatically by 'cubrid service start' command

# Any combinations are available with server, broker, manager and heartbeat.

service=server,broker,manager


# The list of database servers in all by 'cubrid service start' command.

# This property is effective only when the above 'service' property contains 'server' keyword.

server=



# Common section - properties for all databases

# This section will be applied before other database specific sections.



[common]


# Read the manual for detailed description of system parameters

# Manual > Performance Tuning > Database Server Configuration > Default Parameters


# Size of data buffer are using K, M, G, T unit

data_buffer_size=1G


# Size of log buffer are using K, M, G, T unit

log_buffer_size=4M


# Size of sort buffer are using K, M, G, T unit

# The sort buffer should be allocated per thread.

# So, the max size of the sort buffer is sort_buffer_size * max_clients.


sort_buffer_size=2M


# The maximum number of concurrent client connections the server will accept.

# This value also means the total # of concurrent transactions.

max_clients=100


# TCP port id for the CUBRID programs (used by all clients).

cubrid_port_id=1523


# The createdb and addvoldb create a volume file of 'db_volume_size' size

# if don't have any options about size.

db_volume_size=512M


# The createdb creates a log volume file of 'log_volume_size' size

# if don't have any options about size.

log_volume_size=512M


# The log_max_archives parameter configures the maximum number of archive log files kept.

# To completely recover the database from the media failures with a backup,

# the archive log volumes that was archived from the backup must be kept.

# Tune this parameter with the enough number of archive logs to cope with a media failure.

#

# log_max_archives=2147483647

log_max_archives=0 

lock_timeout=10s

isolation_level=1

temp_file_memory_size_in_pages=20

lock_escalation=2100000000



[@master_db]

data_buffer_size=1G

max_clients=100

sp_jvm_size=512M

java_stored_procedure=yes

log_max_archives=10


[@mastercommon_db]

data_buffer_size=512M

max_clients=50

log_max_archives=10



[@html_db]

data_buffer_size=512M

max_clients=50

log_max_archives=10



[@masterap_db]

data_buffer_size=512M

max_clients=50

log_max_archives=10




Articles

3 4 5 6 7 8 9 10 11 12