Background Image
조회 수 10182 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

큐브리드는 한 개의 서버에서 여러 개의 데이터베이스를 사용할 수 있는데, 서버 자원(resource) 부족할 경우 업무 사용량에 따라 각 데이터베이스 서버의 환경설정을 개별적으로 적용할 수 있다,

cubrid.conf에 지정된 파라미터는 다음과 같이 세 가지 섹션으로 제공된다.

- CUBRID 서비스를 시작할 때 사용 : [service] 섹션

- 전체 데이터베이스에 공통으로 적용 : [common] 섹션

- 각 데이터베이스에 개별적으로 적용 : [@<database>] 섹션

여기서 [@<database>] 섹션을 $CUBRID/cubrid.conf 마지막 라인에 데이터베이스 이름과 대상 파라미터를 입력하여 개별적으로 적용하는데 아래 예제와 같이 적용한다.

# Copyright (C) 2008 Search Solution Corporation. All rights reserved by Search Solution.

# cubrid.conf

:

# Service section - a section for 'cubrid service' command
[service]

# The list of processes to be started automatically by 'cubrid service start' command
# Any combinations are available with server, broker and manager.
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=testdb,demodb

# Common section - properties for all databases
# This section will be applied before other database specific sections.
[common]

# Number of data buffer pages
# data_buffer_pages (25,000 pages) * DB page size (4KB) = 100M
data_buffer_pages=25000

# Number of sort buffer pages
# sort_buffer_pages (16 pages) * DB page size (4KB) * number of threads
sort_buffer_pages=32

# Number of log buffer pages.
# log_buffer_pages (50 pages) * DB page size (4KB) = 200KB
log_buffer_pages=50

:

:

중간 생략

:

# Enable Java Stored Procedure

java_stored_procedure=no

#error_log_production_mode=0

#call_stack_dump_on_error=1

[@testdb]    // testdb 데이터베이스에 개별적으로 적용

data_buffer_pages=100000

temp_file_max_size_in_pages=250000

media_failure_support=yes

replication=yes

max_clients=260

[@demodb]   // demodb 데이터베이스에 개별적으로 적용

data_buffer_pages=25000

temp_file_max_size_in_pages=100000

media_failure_support=no

replication=no

max_clients=100


List of Articles
번호 분류 제목 글쓴이 날짜 조회 수
119 운영관리 CUBRID JAVA Stored Procedure의 GC로그 출력방법 janus 2009.12.01 15315
118 운영관리 CUBRID 2008 삭제시 주의사항 file seongjoon 2009.04.01 15288
117 질의작성 시스템 테이블을 이용한 인덱스 생성 구문 만들기 janus 2009.12.02 15143
116 응용개발 jdbc에서 bit 데이터 타입 사용하기 손승일 2009.04.11 15012
115 운영관리 CUBRID 2008 R2.0 RPM 설치후 PHP모듈 로딩에 실패할 경우 Prototype 2009.12.10 14918
114 응용개발 PHP에서 prepared statement 사용시 BIND 관련 팁 Prototype 2009.06.30 14843
113 응용개발 전체 레코드 개수 확인하는 SP 김승훈 2015.05.07 14721
112 CUBRID 매니저 CUBRID Manager의 host 및 질의편집기 설정 저장 위치 seongjoon 2010.04.01 14709
111 기타 2008.11.18. 최신 우편번호부 with CUBRID file Prototype 2009.03.17 14482
110 CUBRID 매니저 CUBRID에서 여러개의 질의 결과 확인하는 방법 file seongjoon 2010.01.02 14439
109 운영관리 windows 환경에서 Manager 접속이 되지 않는 경우 처리 방안 남재우 2010.11.26 14423
108 운영관리 데이터 입력 중 디스크 공간 부족 오류가 발생하였을 때, 복구 방법 이용미 2012.06.30 14330
107 기타 windows에서의 Build 오류 발생 시 조치방법 cubebridge 2009.05.19 14254
106 질의작성 세부내역과 소계를 한개의 쿼리문장으로 수행하는 SQL 권호일 2012.03.31 14092
105 응용개발 cubrid-php module r2.2 이상 버젼에서 configure시에 주의사항 seongjoon 2010.07.20 14007
104 질의작성 게시판 응용 중 조회수로 정렬하는 경우 인덱스 생성 방법 1 손승일 2012.06.23 13903
103 질의작성 전체 테이블 UPDATE시 SELECT, UPDATE를 통한 INDEX SCAN방식으로 테이블 X_LOCK을 방지하자! file 이경오 2015.08.13 13789
102 응용개발 PHP 프로그램을 작성할때 주의할 점 Prototype 2009.07.01 13728
101 CUBRID 매니저 CUBRID Manager 메모리 설정하기(cubridmanager.ini) file 성진 2015.04.24 13692
100 운영관리 리눅스 쉘프롬프트 상에서 질의 바로 수행하기 Prototype 2009.12.10 13640
Board Pagination Prev 1 ... 4 5 6 7 8 9 10 11 12 13 14 Next
/ 14

Contact Cubrid

대표전화 070-4077-2110 / 기술문의 070-4077-2113 / 영업문의 070-4077-2112 / Email. contact_at_cubrid.com
Contact Sales