MySQL Forums
Forum List  »  General

Re: Lock wait timeout exceeded; try restarting transaction
Posted by: Rick James
Date: September 18, 2013 07:27PM

SHOW CREATE TABLE publisher_ad_daily_stats
It sounds like it needs a compound index of (day, publisher_id) in either order.

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.