I routinely restore a snapshot, made with mysqldump (--innodb-optimize-keys-enabled), but as the size is growing, I'm exepriencing a problem with the Percona distro, but not the equivalent vanilla one.
Specifically, I get a timeout (in the log: "error writing communication packets") while restoring the biggest tables - for example:
Engine: InnoDB Version: 10 Row_format: Compact Rows: 16205204 Avg_row_length: 80 Data_length: 1302331392Max_data_length: 0 Index_length: 1610137600 Data_free: 7340032 Auto_increment: 139395716 Collation: utf8_general_ci
Now, I've read carefully the information around, but after trying the most obvious things, I'm stuck.
Specifically, the following are the timeout related variables:
+----------------------------+----------+| Variable_name | Value |+----------------------------+----------+| connect_timeout | 10 || delayed_insert_timeout | 300 || innodb_lock_wait_timeout | 120 || innodb_rollback_on_timeout | OFF || interactive_timeout | 28800 || lock_wait_timeout | 31536000 || net_read_timeout | 1200 || net_write_timeout | 1200 || slave_net_timeout | 3600 || wait_timeout | 28800 |+----------------------------+----------+
I'm referring to a Percona distro problem, because if I use the vanilla server, the problem doesn't happen, while it always does with the former.
The error often happens while the innodb indexes are built, but not necessarily - sometimes also while INSERTing.
System details follow:
- Ubuntu precise x86-64 (experienced also on a Hardy x86-64)- Percona 5.5.27-rel28.1 - expand_fast_index_creation = 1- Vanilla 5.5.27- configuration is the shared for both - skip-networking is enabled. - innodb buffer pool: 1 GB
Specifically, I get a timeout (in the log: "error writing communication packets") while restoring the biggest tables - for example:
Engine: InnoDB Version: 10 Row_format: Compact Rows: 16205204 Avg_row_length: 80 Data_length: 1302331392Max_data_length: 0 Index_length: 1610137600 Data_free: 7340032 Auto_increment: 139395716 Collation: utf8_general_ci
Now, I've read carefully the information around, but after trying the most obvious things, I'm stuck.
Specifically, the following are the timeout related variables:
+----------------------------+----------+| Variable_name | Value |+----------------------------+----------+| connect_timeout | 10 || delayed_insert_timeout | 300 || innodb_lock_wait_timeout | 120 || innodb_rollback_on_timeout | OFF || interactive_timeout | 28800 || lock_wait_timeout | 31536000 || net_read_timeout | 1200 || net_write_timeout | 1200 || slave_net_timeout | 3600 || wait_timeout | 28800 |+----------------------------+----------+
I'm referring to a Percona distro problem, because if I use the vanilla server, the problem doesn't happen, while it always does with the former.
The error often happens while the innodb indexes are built, but not necessarily - sometimes also while INSERTing.
System details follow:
- Ubuntu precise x86-64 (experienced also on a Hardy x86-64)- Percona 5.5.27-rel28.1 - expand_fast_index_creation = 1- Vanilla 5.5.27- configuration is the shared for both - skip-networking is enabled. - innodb buffer pool: 1 GB
6EEC3FRead view up limit trx id 6EEC3FRead view low limit trx id 6EEC3FRead view individually stored trx ids:-----------------Main thread process no. 9131, id 140187853780736, state: flushing logNumber of rows inserted 18538828, updated 0, deleted 0, read 031689.40 inserts/s, 0.00 updates/s, 0.00 deletes/s, 0.00 reads/s------------TRANSACTIONS------------Trx id counter 6EEC3FPurge done for trx's n
Comment