Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: COUNT(*) takes forever
Try using select count(primary_key) from your_table. That should save some
time.
Richard Murphy wrote:
> Anyone now what would cause a simple select count(*) to take a very long
> time (hours) on a table of 26 million rows. Other processes on the
> database do not seem to be a problem. This is on Oracle 8 on VMS.
>
> Thanks, R.
Received on Thu Feb 04 1999 - 16:37:44 CST