MySQL Forums
Forum List  »  General

Re: "SHOW VARIABLES" and "mysqladmin variables" show different settings
Posted by: rihad rihad
Date: February 18, 2011 12:50AM

Here are my /etc/my.cnf settings:
Quote

$ grep -v -e '^[[:space:]]*#' -e '^$' /etc/my.cnf
[client]
port = 3306
socket = /tmp/mysql.sock

[mysqld]
bind-address = 127.0.0.1
interactive_timeout = 86400
port = 3306
socket = /tmp/mysql.sock
back_log = 50
max_connections = 100
table_open_cache = 2048
max_allowed_packet = 16M
binlog_cache_size = 1M
max_heap_table_size = 64M
sort_buffer_size = 8M
join_buffer_size = 16M
thread_cache_size = 8
query_cache_size = 64M
query_cache_limit = 2M
ft_min_word_len = 4
default-storage-engine = MYISAM
thread_stack = 192K
transaction_isolation = REPEATABLE-READ
tmp_table_size = 128M
log-bin=mysql-bin
expire_logs_days = 5
binlog_format=mixed
log_warnings
slow_query_log
long_query_time = 2
server-id = 1
key_buffer_size = 32M
read_buffer_size = 2M
read_rnd_buffer_size = 16M
bulk_insert_buffer_size = 64M
myisam_sort_buffer_size = 128M
myisam_max_sort_file_size = 10G
myisam_repair_threads = 1
myisam_recover
innodb_io_capacity = 666
innodb_file_per_table = 1
innodb_support_xa = 1 #needed as a side effect for ACID-compliant sync_binlog
sync_binlog = 1
innodb_additional_mem_pool_size = 16M
innodb_buffer_pool_size = 6G
innodb_buffer_pool_instances = 2
innodb_data_file_path = ibdata1:10M:autoextend
innodb_autoextend_increment = 16
innodb_write_io_threads = 8
innodb_read_io_threads = 8
innodb_thread_concurrency = 24
innodb_flush_log_at_trx_commit = 1
innodb_log_buffer_size = 8M
innodb_log_file_size = 1G
innodb_log_files_in_group = 3
innodb_max_dirty_pages_pct = 90
innodb_lock_wait_timeout = 120

[mysqldump]
quick
max_allowed_packet = 16M

[mysql]
safe-updates

[myisamchk]
key_buffer_size = 512M
sort_buffer_size = 512M
read_buffer = 8M
write_buffer = 8M

[mysqlhotcopy]
interactive-timeout

[mysqld_safe]
open-files-limit = 8192

The substring "join" is found only here: join_buffer_size = 16M (default 8M).



Edited 1 time(s). Last edit at 02/18/2011 12:51AM by rihad rihad.

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.