My Oracle Support Banner

Disparity between num_rows from dba_tables and count(*) from the table, even if new stats exists using DBMS_STATS (Doc ID 795979.1)

Last updated on OCTOBER 28, 2019

Applies to:

Oracle Database - Enterprise Edition - Version 9.0.1.2 to 11.2.0.1.0 [Release 9.0.1 to 11.2]
Information in this document applies to any platform.

Purpose

Disparity between:

SELECT COUNT(*) FROM %TABLE%;
&
SELECT num_rows FROM dba_tables;

Questions and Answers

To view full details, sign in with your My Oracle Support account.

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


In this Document
Purpose
Questions and Answers

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.