MySQL Forums
Forum List  »  InnoDB

Re: Mysql hangs once in 2 days with mysterious deadlock?
Posted by: Hankin Chick
Date: October 06, 2014 05:40AM

The biggest table has 128 partitions.

> SELECTs and UPDATEs can take a long time -- other connections can collide with them.

Would it help if I locked the table before doing any updates/inserts?



mysql> SHOW VARIABLES LIKE 'innodb_file_per_table';
+-----------------------+-------+
| Variable_name | Value |
+-----------------------+-------+
| innodb_file_per_table | ON |

mysql> SHOW VARIABLES LIKE '%open%';

| have_openssl | DISABLED |
| innodb_open_files | 300 |
| open_files_limit | 16384 |
| table_open_cache | 256 |
+-------------------+----------+
mysql> SHOW VARIABLES LIKE 'autocommit';
+---------------+-------+
| Variable_name | Value |
+---------------+-------+
| autocommit | ON |



Thank you!

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.