table size

From: Michael Bacovcin <mike_at_clinicom.com>
Date: Mon, 11 Oct 1993 15:43:49 GMT
Message-ID: <1993Oct11.154349.220944_at_clinicom.com>


Hi Oracle Netters

This may seem like a simple problem but I'm looking for a quick way to get the total number of rows in a table. Now I know select count(*) from foo; will work but that is a little compute intensive. Is there another less intensive way then a full table/index scan? It doesn't appear Oracle keeps the number laying around anywhere.

-- 
/-----------------------------mike_at_clinicom.com-------------------------------\

| Mike Bacovcin | The foundation of a good demo.. like true science |
| 303/443-1726 x155 | |
| CliniCom, Boulder | "...pay no attention to that |
Received on Mon Oct 11 1993 - 16:43:49 CET

Original text of this message