Statspack Downloads.
I attempt to download the Statspack file: 817_prod.tar. I click the link which brings me to the disclaimer page. I click all of the check boxes, and click the "I Accept" button. I am returned to the original download page without error, and no download.
The link is still broke, but I performed the following workaround:
1. Find a server with Oracle 8.1.7 installed.
2. Copy all files with names that start with "sp" from the version 8.1.7 $ORACLE_HOME/rdbms/admin directory to the same directory on the version 8.1.6 server. All of these files do not exist is version 8.1.6, so they can be copied directly into the $ORACLE_HOME/rdbms/admin directory without negative impact.
3. Follow the upgrade instructions in the spdoc.txt file.
4. File list follows:
spauto.sql
spcpkg.sql
spcreate.sql
spctab.sql
spcusr.sql
spdoc.txt
spdrop.sql
spdtab.sql
spdusr.sql
sppurge.sql
spreport.sql
sptrunc.sql
spuexp.par
spup816.sql
Similar Messages
-
Statspack Problem(Please Help)
Hi,
I got the below error from Statspack report run. It runs after every one hour and the database version is 9.2.0.8. Please help how to resolve it.
ERROR: Database/Instance does not exist in STATS$DATABASE_INSTANCE
ERROR: Begin Snapshot Id specified does not exist for this database/instance
ERROR: End Snapshot Id specified does not exist for this database/instance
WARNING: timed_statitics setting changed between begin/end snaps: TIMINGS ARE IN
VALID
ERROR: Snapshots chosen span an instance shutdown: RESULTS ARE INVALID
ERROR: Session statistics are for different sessions: RESULTS NOT PRINTED
begin
ERROR at line 1:
ORA-20100: Missing Init.ora parameter db_block_size
ORA-06512: at "PERFSTAT.STATSPACK", line 727
ORA-06512: at "PERFSTAT.STATSPACK", line 1126
ORA-06512: at line 2
STATSPACK report for
DB Name DB Id Instance Inst Num Release Cluster Host
:ela := ;
ERROR at line 4:
ORA-06550: line 4, column 17:
PLS-00103: Encountered the symbol ";" when expecting one of the following:
( - + case mod new not null <an identifier>
<a double-quoted delimited-identifier> <a bind variable> avg
count current exists max min prior sql stddev sum variance
execute forall merge time timestamp interval date
<a string literal with character set specification>
<a number> <a single-quoted SQL string> pipe
The symbol "null" was substituted for ";" to continue.
ORA-06550: line 6, column 16:
PLS-00103: Encountered the symbol ";" when expecting one of the following:
( - + case mod new not null <an identifier>
<a double-quoted delimited-identifier> <a bind variable> avg
count current exists max min prior sql stddev su
Cache Sizes (end)
~~~~~~~~~~~~~~~~
Buffer Cache: M Std Block Size: K
Shared Pool Size: M Log Buffer: K
Load Profile
~~~~~~~~~~~ Per Second Per Transaction
Redo size:
Logical reads:
Block changes:
Physical reads:
Physical writes:
User calls:
Parses:
Hard parses:
Sorts:
Logons:
Executes:
Transactions:
% Blocks changed per Read: Recursive Call %:
Rollback per transaction %: Rows per Sort:
Instance Efficiency Percentages (Target 100%)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Buffer Nowait %: Redo NoWait %:
Buffer Hit %: In-memory Sort %:
Library Hit %: Soft Parse %:
Execute to Parse %: Latch Hit %:
Parse CPU to Parse Elapsd %: % Non-Parse CPU:
SGA Memory Summary for DB: Instance: Snaps: 23410 -23412
SGA regions Size in Bytes
sum
End of Report
UNDO Usage
Free space in GB 29.52
USED space in GB 75.2
TEMP_TABLESPACE MB_TOTAL MB_USED MB_FREE
TEMP 208162 6 208156
WHS_CUBES_TEMP 33000 0 33000
WHS_VIEWER_TEMP 67688 0 67688
HP-UX eesci007 B.11.11 U 9000/800 08/18/10
04:00:44 %usr %sys %wio %idle
04:00:49 57 29 13 2
04:00:54 57 24 17 2
04:00:59 57 29 11 2
04:01:04 54 31 13 3
04:01:09 51 33 13 3
Average 55 29 14 2
procs memory page faults cpu
r b w avm free re at pi po fr de sr in sy cs us sy id
5 6user605926 wrote:
Hi,
I got the below error from Statspack report run. It runs after every one hour and the database version is 9.2.0.8. Please help how to resolve it.
ERROR: Database/Instance does not exist in STATS$DATABASE_INSTANCE
ERROR: Begin Snapshot Id specified does not exist for this database/instance
ERROR: End Snapshot Id specified does not exist for this database/instance
WARNING: timed_statitics setting changed between begin/end snaps: TIMINGS ARE IN
VALID
ERROR: Snapshots chosen span an instance shutdown: RESULTS ARE INVALID
ERROR: Session statistics are for different sessions: RESULTS NOT PRINTED
begin
ERROR at line 1:
ORA-20100: Missing Init.ora parameter db_block_size
ORA-06512: at "PERFSTAT.STATSPACK", line 727
ORA-06512: at "PERFSTAT.STATSPACK", line 1126
ORA-06512: at line 2
You might want to take a look at the docs: http://download.oracle.com/docs/cd/B10500_01/server.920/a96533/statspac.htm#21708
Note:
It is not correct to specify begin and end snapshots where the begin snapshot and end snapshot were taken from different instance startups. In other words, the instance must not have been shutdown between the times that the begin and end snapshots were taken.
At the first part of the report the database id is given. Do a select * from STATS$DATABASE_INSTANCE and verify that the DBID present matches the database/instance you are attempting to run the reprot upon. The report should be ran from the same instance in which the snapshots were taken. -
What are the imporant things to check the performance degradation in StatsPack report?
Check the performace tuning guide from Oracle.
Most common things to look at are
Top wait events,
Hit ratios
Top SQLs
http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14211/toc.htm -
Hi,
How should i analyze my statspack report. what are major attributes whihc i should concentrate more in analyzing the SP report.
Thankx.....After checking the generic hit ratios section,
Check the top 5 wait events and most expensive SQL queries.
Oracle Performance Tuning Guide has good explanation on most common wait events.
http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14211/toc.htm
also try upload your result to here
http://oraperf.com/ -
Can i get all statemnts analysys in a procedure when i run statspack
Hi,
I am running statspack to findout sql staements which are taking long time.I have some procedures too to analyze.can i get statistics for all statements within the procedures indivisually or i will get only overall statistics for that peocedure.i i want stats for all statements in a procedure which level i need to run.I i want explain plan also in stats report which level of snapshots i need to take.Please suggest me in this regard.
Thanks and Regards
Anandhttp://download-east.oracle.com/docs/cd/B10501_01/server.920/a96533/sqltrace.htm#1018
-
A free-tool to parse the Statspack Report of Oracle
Here is a good tool SPAnalyzer to parse the content from statspack report.
And Please do not attach my websit, We just want to share my product with oracle developer.
I know somebody do not want to see this free tool. :)
Like Oracle
[Sourceforge Download Link|http://nchc.dl.sourceforge.net/sourceforge/oraclestatspack/SPReportAnalyzer_en.jar]
Edited by: user10176627 on 2009-1-2 上午7:04user10176627 wrote:
Any good suggestion is welcome.Perhaps the first good suggestion would be that you should not be advertising your product and touting for email addresses on the OTN forum.
You might then consider that you've posted (to date) six times on the forum: three times to advertise your SPAnalyzer, and three times to ask for help with performance issues. That's not a good track record for someone who hopes to get people interested in a tool that is supposed to analyze statspack reports.
Regards
Jonathan Lewis
http://jonathanlewis.wordpress.com
http://www.jlcomp.demon.co.uk
"Science is more than a body of knowledge; it is a way of thinking" Carl Sagan -
Here is A free-tool to parse the Statspack Report of Oracle
Here is a good tool SPAnalyzer to parse the content from statspack report.
[Download URL|http://www.oracle.com.cn/attachment.php?aid=60198]
Like Oracle
Edited by: user10176627 on 2009-1-1 上午10:58I don't know why you have posted this in the international forum since the content in that links are in Chineese. So, we cannot understand a single letter of it.
Regards.
Satyaki De. -
Error SP2-0640 when installing Statspack
Oracle 9.2.0.1.0 . Windows.
Trying to install statspack, keep getting the same error in spctab.lis
SP2-0640: Not connected
I have read this is a connect string issue. I have read I should run the spcreate.sql even as system instead of sys. I have unsuccessfully installed, then used the spdrop.sql to return.
I connect through SQL*Plus as this: sys/***@***** as sysdba - all on the one line.
I am able to create the perfstat user and allocate required tablespace and temp space, but when creating STATS$... tables the process fails with said error.
If I try to run later a query such as exec statspack.snap; I get this error
PLS-00201: identifier 'STATSPACK.SNAP' must be declared
Sources used:
http://www.akadia.com/services/ora_statspack_survival_guide.html
http://download.oracle.com/docs/cd/B10501_01/server.920/a96533/statspac.htm#21605
I read that one should run the three scripts individually:
spcusr.sql as sysdba
spctab.sql and spckg.sql as perfstat
Thanks.
Message was edited by:
Dan Asqlplus sys/***@*** as sysdba
has never worked on Windows
It should be sqlplus "sys/***@** as sysdba"
The first document you claim to have read actually does use the double quotes.
Posting an error message without context in this case is vague.
The PLS-00201 demonstrates statspack doesn't exist in the user PERFSTAT.
As you are calling an Ascii script, issues with a readable script usually can be resolved by reading the script.
When I read the script my conclusion is you never created the PERFSTAT user.
In either case, if you don't post spcusr.lis nor spctab.lis, I can only recommend you troubleshoot this yourself. It is not that difficult and you could actually learn something.
Sybrand Bakker
Senior Oracle DBA
Sybrand Bakker
Senior Oracle DBA -
Application download slow down
Downloading Free apps one at a time isn't an issue, but try 2 or more is a difficulty. My problem now is there are 3 apps are sitting there, partial downloaded, waiting, but it's not moving. I'd like to remove these apps, but tapping them doesn't make them respond. The icons are in grey. I've run restore, powercycle, anyone with a solution how to cancel & remove them. I'll stick to downloading one app at a time.
whats the size of redo log... logswitch happening very frequent in above log...4 logswitch in 6 mins.make a plan to increase redolog size.
Cpu(s): 0.3%us, 0.2%sy, 0.0%ni, 98.8%id, 0.7%wa, 0.0%hi, 0.0%si, 0.0%stmostly idle cpu.
can any one tel us what is happening and what can be done as it is happening in PROD instanceyou have to generate AWR /statspack report to get more detail on this. -
Where can i find the statspack concepts documentation?
I need statspack concept document,who can help me ?
Thanks!Thanks for reply.
I had download the document,pdf type.But i want to have one reference for statspack.Not user guide or tutorial.
I found that some books do not offer all-around detail about statspack report,specially columns on the part.
So i want a reference,just like database reference,including all detail explain on statspack report. -
Hi,
this is Top 5 Timed Events in statpack report :
Top 5 Timed Events
~~~~~~~~~~~~~~~~~~ % Total
Event Waits Time (s) Call Time
CPU time 122 91.65
db file sequential read 1,571 2 1.61
db file scattered read 1,174 2 1.59
log file sequential read 342 2 1.39
control file parallel write 450 2 1.39
Wait Events DB/Inst: AKI1/AKI1 Snaps: 5-6but in my statpack report I have not the following two lines :
db file sequential read 1,571 2 1.61
db file scattered read 1,174 2 1.59Which collect level should I chose for my snapshot to have them ?
Many thanks.db file sequential read
1,571 2
1.61
le scattered read 1,174
2 1.59 ich collect level should I chose for my snapshot to
have them ?If these two events are in top 5 they will be in the list.
You should check Oracle document,
Using Statspack
http://download.oracle.com/docs/cd/B10501_01/server.920/a96533/statspac.htm#34837 -
Generate STATSPACK report automatically
Hi
Version 8174.
I have a job that once per hour taking a snapshot by execution the follwoing command : statspack.snap;
I also would like it to create the file in the filesystem automatically , and save me the errort to execute :
@?/rdbms/admin/spreport.sql
ThanksHere we go :
1. Some example in the doc :
http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96533/statspac.htm#30085
2. a couple of years ago I wrote some thing about that :
Re: Automating STATSPACk reporting - how?
You can of course improve it
Nicolas. -
Hi All,
How to identify whether STATSPACK is configured or not in 8x DB (thru an SQL)?
We use the following tables for the purpose mentioned next to it in 9x.
stats$snapshot -- Snapshot Details
stats$sql_summary - Statistics of SQL executed during a snap
stats$sqltext - SQL text executed
sTAtS$SYSTEM_EVENT - System events during a snap
STATS$FILESTATXS - I/O Stats during a snap
But what are equivalent tables from where we can find the similar information in 8x?
Thanks in Advance,
JaggyamYou need probably to check if there's a PERFSTAT user/schema and what objects are owned by it.
" STATSPACK differs from the existing UTLBSTAT/UTLESTAT performance scripts in the following ways:
* They collect more data, including high resource SQL.
* Many of the manual calculations which were required with BSTAT/ESTAT are now provided; for example. the first page contains a summary of instance performance and load.
* Permanent tables are created. Each time a new "snapshot" of data is taken, it is added to these tables, with keys which allow comparison between snapshots.
* A new user, PERFSTAT, is automatically created. All objects created by this package are owned by PERFSTAT. This user has limited query-only privileges.
* Written in PL/SQL and uses SQL*Plus as the reporting tool.
Like UTLBSTAT.SQL and UTLESTAT.SQL, STATSPACK can be found in the ORACLE_HOME/rdbms/admin/ directory on UNIX and in the ORACLE_HOME/rdbms81/admin directory on NT. "
http://download-west.oracle.com/docs/cd/A87860_01/doc/server.817/a76992/ch12_too.htm#12109 -
Hi,
Please let me know the steps to find out current snapshot settings in STATSPACK.
Version : 9.2.0.3.0
OS : SunOS 8.
Thanks in advance.Gowin_dba wrote:
Hi,
Please let me know the steps to find out current snapshot settings in STATSPACK.
Version : 9.2.0.3.0
OS : SunOS 8.
Thanks in advance.by default , the spauto.sql script will setup snapshot collection jobs to run every hour, on the hour. you can change the frequency of hte snapshot statistic collection period by editing the spauto.sql script. after making changes, re-execute the script spauto.sql will cause statistic collection to occur on the schedule you specified.
the location of spauto.sql script in unix $ORACLE_HOME/rdbms/admin/sqpauto.sql, windows %ORACLE_HOME%\rdbms\admin\spauto.sql
for more information refer:
http://users.telenet.be/oraguy.be/Statspack2.htm
http://download.oracle.com/docs/cd/B10501_01/server.920/a96533/statspac.htm
Edited by: rajeysh on Jun 16, 2010 9:49 PM -
I need statspack Quick guide if someone know the link
The person should be quick enough to pick up, guides always remain static :)
Try this:
http://download-east.oracle.com/docs/cd/B10501_01/server.920/a96533/statspac.htm#34837
Daljit Singh
Maybe you are looking for
-
Mini DVI to DVI connector not right for my PC disply with 15pin input.
Hi Guys I'm trying to attach my macbook to a PC monitor that has a 15 pin connector and I can't find the right cable. I just bought myself a mini DVI to DVI connector but realised that its not the right one !! Anyone know what I should be ordering ?
-
Hi, I have HP LaserJet 200 colorMFP M276nw and trying to install the driver on my mac pro; it gives me the error message that the driver is not available.
-
Photoshop CS6 shuts downs when using the move tool
Photoshop CS6 shuts downs when using the move tool. It seemas to run fine until i try and use the move tool. PS worked fine just a few weeks ago and now it has this issue. What can i do to resole this issue? Thnaks, System Specs Windows XP Home SP3 A
-
I cannot find a way to set my home page as default when I open new tabs
open firefox 4 beta select a home page through options menu open a new tab It is a blank page Look for a way to have the new tab open with the home page as default. In IE there is a checkbox to select the home page as default on new tabs Using Win7 p
-
Error Code -8062???
Can't empty my trash!! This error code comes up everytime!!! HELP!!! I downloaded Family Feud from Uproar.com and the file was named mop.com.....yikes. now I can't empty my trash without getting that code -8062.