MySQL Forums
Forum List  »  InnoDB

Re: MySQL gets long semaphore locks on dict0dict.cc - but on DML operations
Posted by: Rick James
Date: August 18, 2016 04:31PM

"Don't queue it, just do it".

If it often better to launch a process to do something, rather than put things in a MySQL table that serves as a Queue.

I suspect the 17K rows is bogus; have you checked SELECT COUNT(*) FROM mytable;

Was the table created with innodb_file_per_table=ON? If so, run OPTIMIZE TABLE mytable; maybe that will clean things up.

Was the 99GB of free space caused by failing to delete rows for a long time?

If you are having performance issues, suggest compressing (in the client) the JSON string and putting it into `MEDIUMBLOB` instead of `LONGTEXT`.

I realize my answer does not directly address your problem, but it may make it into remission.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: MySQL gets long semaphore locks on dict0dict.cc - but on DML operations
2051
August 18, 2016 04:31PM


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.