Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2005
    Posts
    52

    Unanswered: Report of # of rows,object name & tablespace

    Hi,

    Does any ne have a scripts that provide the following details

    Table name tablespace no of records


    table dba_tabls or dba_all_objetcs does not provide correct values of no. of rows.


    thanks

  2. #2
    Join Date
    Jun 2004
    Posts
    127
    I would use this statement:

    Code:
    SELECT table_name, tablespace_name, num_rows
    FROM dba_tables;

  3. #3
    Join Date
    Jan 2004
    Location
    Croatia, Europe
    Posts
    4,094
    Provided Answers: 4
    Quote Originally Posted by jundba
    table dba_tabls or dba_all_objetcs does not provide correct values of no. of rows.
    It might, if you decide to gather statistics using one of ANALYZE TABLE, DBMS_UTITLITY.ANALYZE_SCHEMA or DBMS_STATS.GATHER_TABLE_STATS.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •