database.sarang.net
UserID
Passwd
Database
DBMS
ㆍMySQL
PostgreSQL
Firebird
Oracle
Informix
Sybase
MS-SQL
DB2
Cache
CUBRID
LDAP
ALTIBASE
Tibero
DB 문서들
스터디
Community
공지사항
자유게시판
구인|구직
DSN 갤러리
도움주신분들
Admin
운영게시판
최근게시물
MySQL Q&A 25693 게시물 읽기
No. 25693
InnoDB의 테이블 스페이스 설정 문의 입니다.
작성자
김운용
작성일
2006-08-03 15:14ⓒ
2006-08-03 15:15ⓜ
조회수
2,012

# Uncomment the following if you are using InnoDB tables

innodb_data_home_dir = innodb_data_file_path =

/data/ibdata1:2000M;/data/ibdata2:2000M:autoextend

#innodb_data_file_path =

/data/ibdata1:2000M;/data/ibdata2:2000M:autoextend;/disk/1/ibdata3:2000M:autoextend

 

innodb_log_group_home_dir = /data/

#innodb_log_group_home_dir = /disk/1/

innodb_log_arch_dir = /data/

#innodb_log_arch_dir = /disk/1/

# You can set .._buffer_pool_size up to 50 - 80 %

# of RAM but beware of setting memory usage too high

innodb_buffer_pool_size = 2G

innodb_additional_mem_pool_size = 20M

# Set .._log_file_size to 25 % of buffer pool size

innodb_log_file_size = 150M

innodb_log_buffer_size = 8M

innodb_flush_log_at_trx_commit = 1

innodb_lock_wait_timeout = 50

 

현재 지금 설정 내용입니다.

 

 

 

/dev/cciss/c0d0p3 31G 4.3G 25G 15% /data

/dev/cciss/c0d0p4 31G 122M 29G 1% /mysql

/dev/cciss/c1d0p1 68G 53M 64G 1% /disk/1

/dev/cciss/c1d0p2 68G 53M 64G 1% /disk/2

/dev/cciss/c1d0p3 68G 53M 64G 1% /disk/3

/dev/cciss/c1d1p1 68G 53M 64G 1% /disk/4

/dev/cciss/c1d1p2 68G 53M 64G 1% /disk/5

/dev/cciss/c1d1p3 68G 53M 64G 1% /disk/6

/dev/cciss/c1d2p1 68G 53M 64G 1% /disk/7

/dev/cciss/c1d2p2 68G 53M 64G 1% /disk/8

 

/dev/cciss/c1d2p3 68G 53M 64G 1% /disk/9

/dev/cciss/c1d3p1 68G 53M 64G 1% /disk/10

/dev/cciss/c1d3p2 68G 53M 64G 1% /disk/11

/dev/cciss/c1d3p3 68G 53M 64G 1% /disk/12

이렇게 구성이 되어 있는데여

 

#innodb_data_file_path =

/data/ibdata1:2000M;/data/ibdata2:2000M:autoextend;/disk/1/ibdata3:2000M:autoextend

 

이렇게 했더니 문제가 생기는거 같더라구여.

 

다른 디스크에 스페이스를 하나더 생성을 할려면 다른것도 설정

해줘야 하는지여?

 

 

 

제가 할려는거는 12개의 디스크도 같이 스페이스를 잡을려고

하는데여

 

가르쳐 주십시요 ㅠ.ㅠ 너무 힘드네여 ~~

 

 

 

이 글에 대한 댓글이 총 1건 있습니다.

매뉴얼을 참고하시면 되겠네요.

http://dev.mysql.com/doc/refman/4.1/en/innodb-configuration.html

 

The autoextend attribute and those following can be used only for the last data file in the innodb_data_file_path line. autoextend is available starting from MySQL 3.23.50 and 4.0.2.

 

If you specify the autoextend option for the last data file, InnoDB extends the data file if it runs out of free space in the tablespace. The increment is 8MB at a time by default. It can be modified by changing the innodb_autoextend_increment system variable.

 

If the disk becomes full, you might want to add another data file on another disk. Instructions for reconfiguring an existing tablespace are given in Section 14.2.8, “Adding and Removing InnoDB Data and Log Files”.

이운억님이 2006-08-04 09:49에 작성한 댓글입니다. Edit
[Top]
No.
제목
작성자
작성일
조회
25696CASE문이 잘못됐나요?
이현철
2006-08-04
1661
25695전체 카운트와 where절이 포함된 카운트를 같이~~ [2]
신나군
2006-08-04
1526
25694InnoDB tablespace 문의 입니다. ㅠ.ㅠ [2]
김운용
2006-08-04
4136
25693InnoDB의 테이블 스페이스 설정 문의 입니다. [1]
김운용
2006-08-03
2012
25692어떤 테이블에 값이 insert 될때마다 그 시간정보를 다른 테이블에 넣고 싶습니다. [1]
감사용
2006-08-03
1955
25691innodb 설정에 대해서 innodb_data_file_path 대해서여~~
김운용
2006-08-02
1917
25687사용자 추가 문의입니다. [2]
김남우
2006-08-01
2570
Valid XHTML 1.0!
All about the DATABASE... Copyleft 1999-2024 DSN, All rights reserved.
작업시간: 0.017초, 이곳 서비스는
	PostgreSQL v16.2로 자료를 관리합니다