Select count from partitioned and subpartitioned table.
751548Feb 4 2010 — edited Feb 5 2010I need a number of rows in myTable - huge partitioned and subpartitioned table.
I created simple pl/sql blok in loop to get a count for each subpartition incrementing total by this count.
I noticed it takes twice time less than getting count from whole table (select count(1) from myTable).
Why is that?
Thanks,
Michael