Configuration: In order from three files:
port = 3306
socket = /var/run/mysqld/mysqld.sock
pid-file = /var/run/mysqld/mysqld.pid
user = mysql
basedir = /usr
datadir = /var/lib/mysql
tmpdir = /tmp
lc_messages_dir = /usr/share/mysql
lc_messages = en_US
skip-external-locking
bind-address = 0.0.0.0
max_connections = 10000
table_open_cache = 50000
max_allowed_packet = 512M
group_concat_max_len = 50M
ignore_db_dirs = lost+found
interactive_timeout = 57600
wait_timeout = 57600
key_buffer_size = 512M
connect_timeout = 5
thread_cache_size = 128
sort_buffer_size = 4M
bulk_insert_buffer_size = 16M
tmp_table_size = 1G
max_heap_table_size = 1G
myisam_recover_options = BACKUP
myisam_sort_buffer_size = 512M
concurrent_insert = 2
read_buffer_size = 2M
read_rnd_buffer_size = 1M
query_cache_limit = 128K
query_cache_size = 64M
log_warnings = 2
slow_query_log = 1
slow_query_log_file = /var/log/mysql/slow_query.log
log_queries_not_using_indexes = 1
long_query_time = 10
log_slow_verbosity = query_plan
default_storage_engine = InnoDB
innodb_file_per_table = 1
binlog_cache_size = 1G
expire_logs_days = 10
innodb_adaptive_flushing_method = keep_average
innodb_autoinc_lock_mode = 2
innodb_buffer_pool_instances = 8
innodb_buffer_pool_size = 100G
innodb_flush_log_at_trx_commit = 2
innodb_flush_neighbor_pages = none
innodb_io_capacity = 30000
innodb_lock_wait_timeout = 50
innodb_locks_unsafe_for_binlog = 1
innodb_log_block_size = 4096
innodb_log_buffer_size = 500M
innodb_log_file_size = 2G
innodb_log_files_in_group = 10
innodb_open_files = 8000
innodb_read_io_threads = 8
innodb_spin_wait_delay = 0
innodb_thread_concurrency = 4
innodb_write_io_threads = 8
max_binlog_size = 1G
max_heap_table_size = 1G
tmp_table_size = 1G
transaction-isolation = READ-COMMITTED
query_cache_type = 0
query_cache_size = 0
binlog_format = ROW
wsrep_provider_options = "gcache.size=400G; gcache.dir=/var/trx/galera"
wsrep_provider = /usr/lib/galera/libgalera_smm.so
wsrep_sst_method = xtrabackup
wsrep_sst_auth = "XXXX:XXXX"
wsrep_certify_nonPK = 1
wsrep_convert_LOCK_to_trx = 0
wsrep_auto_increment_control = 1
wsrep_causal_reads = 0
wsrep_slave_threads = 16
wsrep_max_ws_rows = 500000
wsrep_max_ws_size = 4294967296
Hi Jeff,
Could you please provide the cnf file and structures (and the number of rows) for two tables which get serialized this way? I don't observe it on a primitive example, so it must be something specific either for the tables or for configuration.
(it's just a small fraction of the output, i was able to alter the table dozens of times, and every time it happened within a second or so.