Chinaunix首页 | 论坛 | 博客

rgy

  • 博客访问: 428115
  • 博文数量: 179
  • 博客积分: 2580
  • 博客等级: 少校
  • 技术积分: 1890
  • 用 户 组: 普通用户
  • 注册时间: 2009-04-19 08:45
文章分类

全部博文(179)

文章存档

2012年(7)

2011年(43)

2010年(60)

2009年(69)

我的朋友

分类:

2010-12-09 16:59:09

[client]
character-set-server = utf8
port    = 3306
socket  = /tmp/mysql.sock

[mysqld]
character-set-server = utf8
replicate-ignore-db = mysql
replicate-ignore-db = test
replicate-ignore-db = information_schema
user    = mysql
port    = 3306
socket  = /tmp/mysql.sock
datadir = /opt/b2c/data/
log-error = /opt/b2c/logs/mysql/mysql_error.log
open_files_limit    = 10240
back_log = 600
max_connections = 5000
max_connect_errors = 6000
table_cache = 614
external-locking = FALSE
max_allowed_packet = 64M
sort_buffer_size = 1M
join_buffer_size = 1M
thread_cache_size = 500
thread_concurrency = 8
query_cache_size = 1000M
query_cache_limit = 10M
query_cache_min_res_unit = 10k
default-storage-engine = MyISAM
thread_stack = 192K
transaction_isolation = READ-COMMITTED
tmp_table_size = 512M
max_heap_table_size = 512M
long_query_time = 10
log-slave-updates
log-bin=/opt/b2c/logs/mysql/bin/mysql-bin
binlog_cache_size = 64M
binlog_format = MIXED
max_binlog_cache_size = 64M
max_binlog_size = 2G
relay-log-index = /opt/b2c/logs/mysql/relaylog/relaylog
relay-log-info-file = /opt/b2c/logs/mysql/relaylog/relaylog
relay-log = /opt/b2c/logs/mysql/relaylogrelaylog
expire_logs_days = 30
key_buffer_size = 256M
read_buffer_size = 16M
read_rnd_buffer_size = 64M
bulk_insert_buffer_size = 64M
myisam_sort_buffer_size = 128M
myisam_max_sort_file_size = 10G
myisam_repair_threads = 1
myisam_recover

interactive_timeout = 120
wait_timeout = 120

skip-name-resolve
#master-connect-retry = 10
slave-skip-errors = 1032,1062,126,1114,1146,1048,1396

#master-host     =   192.168.1.2
#master-user     =   username
#master-password =   password
#master-port     =  3306

server-id = 1

innodb_additional_mem_pool_size = 64M
innodb_buffer_pool_size = 512M
innodb_data_file_path = ibdata1:256M:autoextend
innodb_file_io_threads = 4
innodb_thread_concurrency = 8
innodb_flush_log_at_trx_commit = 2
innodb_log_buffer_size = 64M
innodb_log_file_size = 256M
innodb_log_files_in_group = 3
innodb_max_dirty_pages_pct = 90
innodb_lock_wait_timeout = 120
innodb_file_per_table = 0

#log-slow-queries = //opt/b2c/logs/mysql/slow.log
#long_query_time = 10

[mysqldump]
quick
max_allowed_packet = 32M

阅读(606) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~