MySQL Forums
Forum List  »  InnoDB

Re: Block Nested Loop
Posted by: Peter Brawley
Date: June 15, 2018 11:43AM

Consider reading the docs for Explain at

The opening para says ...

For SELECT statements, the EXPLAIN statement produces extra (“extended”) information that is not part of EXPLAIN output but can be viewed by issuing a SHOW WARNINGS statement following EXPLAIN. The Message value in SHOW WARNINGS output displays how the optimizer qualifies table and column names in the SELECT statement, what the SELECT looks like after the application of rewriting and optimization rules, and possibly other notes about the optimization process.

Using block nested loop is not a warning, it's just extended query analysis.

Is this problem query running on the system you sought help with in Sept 2017 in the thread,660420,660420#msg-660420 ? At that time, your system had grossly insufficient RAM for its MySQL buffer settings, insufficient also for the database load, so the system was swapping, thus killing performance.

If that is still the case, that is the most likely reason for the poor query performance you observe.

Otherwise for help with improving the performance of the present problem query, post the query, the complete Explain result inside BBCode code tags, and the result of SHow Create Table on each table referenced by the query.

Options: ReplyQuote

Written By
June 15, 2018 10:15AM
Re: Block Nested Loop
June 15, 2018 11:43AM

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.