Database Administration (MOSC)

MOSC Banner

select count(*) taking 3 minutes in a table with 0 rows

edited Jan 6, 2019 8:41PM in Database Administration (MOSC) 7 commentsAnswered ✓

Hi,

Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production

select count(*) from tableName; taking 3 minutes even though the table has 0 rows.

The same command on other tables in the same schema with millions of rows takes less than 30 second.

Please Help,

Hisham

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

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

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center