Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

How to get the rows count in a faster way for the tables that has billions of records

2835760Oct 7 2015 — edited Oct 9 2015

 

  How to get the rows count in a faster way for the tables that has billions of records:

 

Select count (*) from <t1> ; - The expected time to return results is longer here

select from dba_tables; -- it doesn’t help in real time scenario.. since it requires the stats to be generated on the table.. and that requires a longer time to complete.

Greatly appreciate your help on this.

 

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Nov 6 2015
Added on Oct 7 2015
18 comments
2,702 views