32bit 2GB 

32bit 4GB

64bit 8GB 

64bit 16GB

64bit 32GB

 [mysqld]

user = mysql

pid-file = /var/run/mysqld/mysqld.pid

socket = /var/run/mysqld/mysqld.sock

port = 3306

basedir = /mysql/

datadir = /data01/data

tmpdir = /tmp

thread_cache_size = 64

table_cache = 64

key_buffer = 64M

sort_buffer_size = 256K

read_buffer_size = 256K

read_rnd_buffer_size = 256K

max_allowed_packet = 1M

tmp_table_size=16M

max_heap_table_size=16M

query_cache_size=64M

query_cache_type=1

log_output=FILE

slow_query_log_file=/mysql/slow1.log

slow_query_log=1

long_query_time=3

log-error=/mysql/error.log

innodb_data_home_dir = /data01/data

innodb_data_file_path = ibdata1:1000M:autoextend

innodb_buffer_pool_size = 768M

innodb_additional_mem_pool_size = 8M

innodb_flush_log_at_trx_commit = 1

innodb_support_xa = 0

innodb_lock_wait_timeout = 50

innodb_flush_method=O_DIRECT

innodb_log_files_in_group = 2

innodb_log_file_size = 64M

innodb_log_buffer_size = 8M

innodb_thread_concurrency = 8

 [mysqld]

user = mysql

pid-file = /var/run/mysqld/mysqld.pid

socket = /var/run/mysqld/mysqld.sock

port = 3306

basedir = /mysql/

datadir = /data01/data

tmpdir = /tmp

thread_cache_size = 64

table_cache = 64

key_buffer = 64M

sort_buffer_size = 256K

read_buffer_size = 256K

read_rnd_buffer_size = 256K

max_allowed_packet = 1M

tmp_table_size=16M

max_heap_table_size=16M

query_cache_size=64M

query_cache_type=1

log_output=FILE

slow_query_log_file=/mysql/slow1.log

slow_query_log=1

long_query_time=3

log-error=/mysql/error.log

innodb_data_home_dir = /data01/data

innodb_data_file_path = ibdata1:1000M:autoextend

innodb_buffer_pool_size =2048M

innodb_additional_mem_pool_size = 8M

innodb_flush_log_at_trx_commit = 1

innodb_support_xa = 0

innodb_lock_wait_timeout = 50

innodb_flush_method=O_DIRECT

innodb_log_files_in_group = 2

innodb_log_file_size = 128M

innodb_log_buffer_size = 8M

innodb_thread_concurrency = 8 

 [mysqld]

user = mysql

pid-file = /var/run/mysqld/mysqld.pid

socket = /var/run/mysqld/mysqld.sock

port = 3306

basedir = /mysql/

datadir = /data01/data

tmpdir = /tmp

thread_cache_size = 128

table_cache = 256

key_buffer = 64M

sort_buffer_size = 256K

read_buffer_size = 256K

read_rnd_buffer_size = 256K

max_allowed_packet = 1M

tmp_table_size=32M

max_heap_table_size=32M

query_cache_size=128M

query_cache_type=1

log_output=FILE

slow_query_log_file=/mysql/slow1.log

slow_query_log=1

long_query_time=2

log-error=/mysql/error.log

innodb_data_home_dir = /data01/data

innodb_data_file_path = ibdata1:1000M:autoextend

innodb_buffer_pool_size = 5120M

innodb_additional_mem_pool_size = 8M

innodb_flush_log_at_trx_commit = 1

innodb_support_xa = 0

innodb_lock_wait_timeout = 50

innodb_flush_method=O_DIRECT

innodb_log_files_in_group = 2

innodb_log_file_size = 64M

innodb_log_buffer_size = 8M

innodb_thread_concurrency = 8

 [mysqld]

user = mysql

pid-file = /var/run/mysqld/mysqld.pid

socket = /var/run/mysqld/mysqld.sock

port = 3306

basedir = /mysql/

datadir = /data01/data

tmpdir = /tmp

thread_cache_size = 128

table_cache = 512

key_buffer = 64M

sort_buffer_size = 256K

read_buffer_size = 256K

read_rnd_buffer_size = 256K

max_allowed_packet = 1M

tmp_table_size=32M

max_heap_table_size=32M

query_cache_size=128M

query_cache_type=1

log_output=FILE

slow_query_log_file=/mysql/slow1.log

slow_query_log=1

long_query_time=2

log-error=/mysql/error.log

innodb_data_home_dir = /data01/data

innodb_data_file_path = ibdata1:1000M:autoextend

innodb_buffer_pool_size = 12288M

innodb_additional_mem_pool_size = 8M

innodb_flush_log_at_trx_commit = 1

innodb_support_xa = 0

innodb_lock_wait_timeout = 50

innodb_flush_method=O_DIRECT

innodb_log_files_in_group = 2

innodb_log_file_size = 128M

innodb_log_buffer_size = 8M

nnodb_thread_concurrency = 12

 [mysqld]

user = mysql

pid-file = /var/run/mysqld/mysqld.pid

socket = /var/run/mysqld/mysqld.sock

port = 3306

basedir = /mysql/

datadir = /data01/data

tmpdir = /tmp

thread_cache_size = 256

table_cache = 1024

key_buffer = 64M

sort_buffer_size = 256K

read_buffer_size = 256K

read_rnd_buffer_size = 256K

max_allowed_packet = 1M

tmp_table_size=32M

max_heap_table_size=32M

query_cache_size=128M

query_cache_type=1

log_output=FILE

slow_query_log_file=/mysql/slow1.log

slow_query_log=1

long_query_time=2

log-error=/mysql/error.log

innodb_data_home_dir = /data01/data

innodb_data_file_path = ibdata1:1000M:autoextend

innodb_buffer_pool_size =24676M

innodb_additional_mem_pool_size = 8M

innodb_flush_log_at_trx_commit = 1

innodb_support_xa = 0

innodb_lock_wait_timeout = 50

innodb_flush_method=O_DIRECT

innodb_log_files_in_group = 2

innodb_log_file_size = 128M

innodb_log_buffer_size = 8M

innodb_thread_concurrency = 16

'리눅스ETC' 카테고리의 다른 글

특정날짜 이전/이후 데이터 찾기  (0) 2016.03.30
vm.overcommit_memory  (0) 2016.03.30
레드헷 로컬에서 yum 쓰기  (0) 2016.03.30
sftp 로그 남기기  (0) 2016.03.30
my.cnf utf8  (0) 2016.03.30

to Top