SELECT Statement Does Not Return the Number of Rows Told By EXPLAIN (Doc ID 2271036.1)

Last updated on MAY 28, 2017

Applies to:

MySQL Cluster - Version 7.2 and later
MySQL Server - Version 5.5 and later
Information in this document applies to any platform.

Symptoms

The actual number of rows returned by a SELECT query and the number of rows indicated by the EXPLAIN output are different.

For example consider the following table and query:

 

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms