How can I count the number of rows in a large table?
Currently executing from SQL Plus:
commit;
set transaction use rollback segment r01huge;
select count(rowid) from tablea;
Receive error message:
ORA-01555: snapshot too old: rollback segment number 3 with name "R03" too small
RBS r01huge (size 600m) was not set, used R03 (size 20m).
Last count 224,470,269
What is the best way to count the number of rows in the table?