Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Tricky SQL Question -- Solved
Jonathan,
Thanks for the tips ... let me see how I incorporate this ... things to do ...
This allows me to have only two scripts to setup analysis on my 10 production and 24 other instances without a major maintenance. Now I am able to *predict* how much time it takes ... based on last analysis ... here is a sample input based on yesterday's data ...
oraclei_at_ariel-CSI2> . oraenv
ORACLE_SID = [CSI2] ? ABC
oraclei_at_ariel-ABC2> sys
SQL*Plus: Release 9.2.0.2.0 - Production on Fri Mar 7 08:36:56 2003
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected.
SQL> set serveroutput on
SQL> exec system.dbpk_statistics.refresh_rank;
Ranking based on analyze time is complete.
Select from view "V_ANALYSIS_INFO" for an *estimate*.
PL/SQL procedure successfully completed.
SQL> set line 200
SQL> select * from system.v_analysis_info;
Analysis Information
8 rows selected.
I have configured it to make 8 parallel streams ..
Here are some things that I am doing ...
The package has procedures to performs the set-up
(tables/view/procedure/package creation). It also does two types of ranks,
first time when analysis times are not available, it groups them by row
count. After first analysis, it re-ranks them based on analysis time which
is more accurate than row count.
Thanks once again for all the ideas ...
Raj
-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Jamadagni, Rajendra INET: Rajendra.Jamadagni_at_espn.com 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-LReceived on Fri Mar 07 2003 - 07:44:15 CST
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).
- text/plain attachment: ESPN_Disclaimer.txt
![]() |
![]() |