Re: Waiting for Table metadata lock for DWH
Posted by: Peter Brawley
Date: September 02, 2019 10:04AM

Next time it happens, these queries might point at what's going on ...

show engine innodb status\G

select * from sys.innodb_lock_waits;

select * from performance_schema.data_lock_waits;

select * from performance_schema.metadata_locks;

And see http://mysql.wisborg.dk/2014/01/13/who-holds-the-metadata-lock-mysql-5-7-3-brings-help/



Edited 1 time(s). Last edit at 09/02/2019 10:12AM by Peter Brawley.

Options: ReplyQuote


Subject
Written By
Posted
Re: Waiting for Table metadata lock for DWH
September 02, 2019 10:04AM


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.