SQL%ROWCOUNT vs count(*)
Hi,
I need to get the count of huge tables having record count more than 2 billion.
Iam handling this in pl/sql procedure, which approach is the best
1. SQL%ROWCOUNT or
2. select /*+ parallel(src) */
count(1)
into v_t1_src
from table.
Please note we have multiple cpu and the process run in parallel
Thanks in advance