Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> dbms_stats.gather_schema_stats make not be computing stats
This is an 8.1.7.0.0 data on Solaris 8.
I set monitoring to YES in all 14000+ tables. In the sys.dba_tab_modifications table there are 207 tables. Question: Does this mean that there are 207 tables with STALE staistics? From what I have read, that answer is suppose to be - yes. When I run the following script nightly, the number of tables (all owned by DBADMIN), in the sys.dba_tab_modifications is not decreasing: execute dbms_stats.gather_schema_stats ('DBADMIN', NULL, FALSE, 'FOR ALL COLUMNS SIZE 1', NULL, 'DEFAULT', TRUE, NULL, NULL, 'GATHER STALE', 'LIST'); Here is a sample output from the sys.dba_tab_modifications table:
TABLE_NAME TIMESTAMP ------------------------------ --------- PS_VENDOR_WTHD_JUR 20-NOV-02 PS_VNDR_ADDR_SCROL 20-NOV-02 PS_VNDR_BANK_ACCT 20-NOV-02 PS_VNDR_CNTCT_SCR 20-NOV-02 PS_VNDR_LOC_SCROL 20-NOV-02 PS_VNDR_URL 18-NOV-02 PS_VOUCHER 20-NOV-02 PS_VOUCHER_LINE 20-NOV-02 PS_XE_XREF_TMW 19-NOV-02207 rows selected.
Thanks
Gillian
Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services ---------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Thu Nov 21 2002 - 01:03:27 CST