Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: What's fast way to get total of records

Re: What's fast way to get total of records

From: Joel Garry <joel-garry_at_home.com>
Date: 1 Oct 2003 16:58:09 -0700
Message-ID: <91884734.0310011558.16d117e9@posting.google.com>


"zhao" <zhaohui_at_goconnect.net> wrote in message news:<3f73876f$0$95051$c30e37c6_at_lon-reader.news.telstra.net>...
> Hi,
>
> Can someone tell me what's fast way to get total of records in a table
> except using "select count(*)" statement? Can I get the information from a
> system table?
>
> Thanks,
>
> Andy

/* OracleOEM */ SELECT to_char(last_analyzed,'DD-MON-YYYY HH24:MI'),blocks,empty_blocks,avg_space,num_rows, sample_size,avg_row_len,chain_cnt,avg_space_freelist_blocks, num_freelist_blocks from sys.dba_tables WHERE owner = 'SCOTT' AND table_name = 'EMP';

jg

--
@home.com is bogus.
"Fast and Bulbous."  - Captain Beefheart
Received on Wed Oct 01 2003 - 18:58:09 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US