Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Anyone using YAPP? Possible bug in yapp_rep?
Works for me.
Make sure you are logged into the statspack account ( perfstat ) when you run the report. Assuming that you created yappack in the same account as statspack of course.
Jared
The old
"works on my machine..."
;-)
Unless yapp modifies the statspack columns... I don't have the startup_time that yap_rep is referring to.
I followed the readme and
Logged on as perfstat
Ran @yapp_prepare
Then @yapp_rep
LOCDB SQL> show user;
USER is "PERFSTAT"
LOCDB SQL> select table_name from cat;
TABLE_NAME
STATS$BG_EVENT_SUMMARY STATS$BUFFER_POOL STATS$BUFFER_POOL_STATISTICS STATS$DATABASE_INSTANCE STATS$ENQUEUESTAT STATS$FILESTATXS STATS$IDLE_EVENT STATS$LATCH STATS$LATCH_CHILDREN STATS$LATCH_MISSES_SUMMARY STATS$LEVEL_DESCRIPTION STATS$LIBRARYCACHE STATS$PARAMETER STATS$ROLLSTAT STATS$ROWCACHE_SUMMARY STATS$SESSION_EVENT STATS$SESSTAT STATS$SGASTAT_SUMMARY STATS$SGAXS STATS$SNAPSHOT STATS$SNAPSHOT_ID STATS$SQL_SUMMARY STATS$STATSPACK_PARAMETER STATS$SYSSTAT STATS$SYSTEM_EVENT STATS$WAITSTAT YAPP_CSV YAPP_EVENT YAPP_IDLE_EVENT
stats$database_instance.startup time
Which is not in my statspack table.
SQL>desc STATS$DATABASE_INSTANCE;
DBID NOT NULL NUMBER INSTANCE_NUMBER NOT NULL NUMBER DB_NAME NOT NULL VARCHAR2(9) INSTANCE_NAME NOT NULL VARCHAR2(16) HOST_NAME VARCHAR2(64) , stats$database_instance di and di.startup_time = s.startup_time
Possibly I have a old version of statspack?
Thanks
bob
--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author: Bob Metelsky
INET: bmetelsky_at_cps92.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-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 May 08 2003 - 15:14:44 CDT