Background Image
조회 수 10183 추천 수 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
번호 분류 제목 글쓴이 날짜 조회 수
199 질의작성 임의의 컬럼을 rownum 으로 업데이트 하기 Prototype 2009.07.01 22537
198 응용개발 JDBC 사용시 SQL 로깅 - p6spy 사용 1 웁쓰 2009.07.01 36003
197 기타 CUBRID JDBC Driver 빌드 방법 웁쓰 2009.07.01 16943
196 응용개발 weblogic 8.1 에 CUBRID Connection Pool, DataSource 설정 방법 file 웁쓰 2009.07.01 66306
195 응용개발 JDBC 커넥션 스트링에 UTF-8 명시하는법 Prototype 2009.07.03 19020
194 응용개발 그루비로 큐브리드 함수(or 프로시저) 만들기 by 행복개발자(cyberuls) 시난 2009.07.14 18754
193 CUBRID 매니저 Java SP사용시 JNI_CreateJavaVM 에러메시지 해결 방법 file seongjoon 2009.07.15 32043
192 기타 CUBRID의OLE DB 드라이버 설치 방법. file seongjoon 2009.08.24 16263
191 질의작성 CUBRID DB 내의 auto_increment 값을 초기화 하자. 손승일 2009.10.28 29735
190 운영관리 Window서버 cmd창에서 CUBRID 구동 후 cmd창을 닫을 시 DB서비스 중단 조치방법 cubebridge 2009.10.29 16465
189 CUBRID 매니저 CUBRID Manager에서 character set 변경하기[R2.0] file seongjoon 2009.10.29 17968
188 응용개발 CUBRID의 Statement pooling기능 cubebridge 2009.11.06 16944
187 질의작성 CUBRID에서 응용프로그램 쿼리 binding 구문이 있을 경우 plan의 차이 cubebridge 2009.11.06 15701
186 운영관리 cubrid.conf파일 적용의 우선 순위와 HOST적용 우선 순위 cubebridge 2009.11.14 13370
185 운영관리 CUBRID에서 데이터가 있는 칼럼의 도메인 변경 시 조치방법 cubebridge 2009.11.16 12409
184 응용개발 MySQL의 Blob타입을 CUBRID로 변환하기 cubebridge 2009.11.18 18859
183 응용개발 CUBRID에서 제약조건(PK,FK,UNIQUE),index 설정 시 주의 사항 cubebridge 2009.11.26 18886
182 응용개발 윈도우 환경에서 PHP 모듈 로드를 못 할 경우 해결법 3 Prototype 2009.11.26 22543
181 응용개발 용량이 큰 데이터를 질의로 저장하는 방법 남재우 2009.11.26 12117
180 운영관리 CUBRID 복제중인 DB 백업 중 아카이브 로그파일 삭제 방법 손승일 2009.11.26 17159
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 ... 14 Next
/ 14

Contact Cubrid

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