ST04問題
目前ST04看到的情況如下:
Data buffer
Size kb 2,097,152 Reads 4,992,482,876
Quality % 67.5 Physical reads 1,623,788,889
writes 1,591,961
Buffer busy waits 670,921
Buffer wait time s 685
Shared Pool Log buffer
Size kb 638,976 Size kb 14,384
DD-Cache quality % 95.9 Entries 14,362,606
SQL Area getratio % 0.3 Allocation retries 370
pinratio % 100.0 Alloc fault rate % 0.0
reloads/pins % 0.0012 Redo log wait s 97
Log files (in use) 8( 8)
Calls
User calls 87,523,212 Recursive calls 3,567,328
commits 162,895 Parses 443,364
rollbacks 454 User/Recursive calls 24.5
Reads / User calls 57.0
Time statistics
Busy wait time s 31,587 Sessions busy % 3.91
CPU time s 67,812 CPU usage % 2.91
Time/User call ms 1 CPU count 8
Redo logging
Writes 201,276 Write time s 613
OS-Blocks written 6,580,776 Mb written 6,221
Latching time s 0
Table scans & fetches Sorts
Short table scans 1,204,327 Memory 4,120,546
Long table scans 36,038 Disk 3
Fetch by rowid 297,334,076 Rows sorted 35,950,482
by continued row 162,060,548
Data buffer的Quality為67.5%低於95%
Busy wait time及CPU time 的比為32:68 比建議值60:40相反
請問該如何做調整???謝謝
很抱歉,Terry。目前这里没有ST04的专家,建议您到EN论坛去看看或者申请RemoteService。
Similar Messages
-
Purpose of ST02, ST03, ST04
hi,
Whats the Purpose of ST02, ST03, ST04. and what exactly we can do witg these T-codes
Regards
GaneshHi Ganesh,
This transactions are statistic transactions, ST02 show you the memory utilization and buffers, ST03/ST03N show you the performance of the processes, ST04 is the SQL Server Database Monitor.
Hope this help!
Juan
Please reward with points if helpful -
Error while execting Tcodes ST04,ST03,DB12,DB02
Hi Experts,
I had installed QAS & DEV instances successfully on one windows host.Below are the syste details.
OS :- Windows 2003 64 bit Standard Edition
Database :- Oracle 10.2.0.2
SAP :- R/3 4.7 Enterprise Ext. 200 SR1
Support Pack :-
SAP_Basis 6.20 Level 41
SAP_APPL 470 Level 21
SAP_ABA 6.20 Level 41
I am facing problem while executing transactions related to database i.e st04,st03,db12,db02.
After executing this transactions I received followng dumps.
1) Runtime Errors DBIF_DSQL2_SQL_ERROR
Exception CX_SY_NATIVE_SQL_ERROR
Database error text........: "ORA-00904: "KEY": invalid identifier"
Triggering SQL statement...: "FETCH NEXT "
Internal call code.........: "DBDS/NEW DSQL"
2) Runtime Errors RAISE_EXCEPTION
Exception condition "DB_RELEASE_UNKNOWN" raised
Error analysis
A RAISE statement in the program "SAPLSORA" raised the exception
condition "DB_RELEASE_UNKNOWN".
Since the exception was not intercepted by a superior program
in the hierarchy, processing was terminated.
3)Runtime Errors BCD_ZERODIVIDE
Exception CX_SY_ZERODIVIDE
An exception occurred. This exception is dealt with in more detail below
. The exception, which is assigned to the class 'CX_SY_ZERODIVIDE', was neither
caught nor passed along using a RAISING clause, in the procedure
"SKOM_CT_PERF_BUF_REDO" "(FUNCTION)"
Since the caller of the procedure could not have expected this exception
to occur, the running program was terminated.
The reason for the exception is:
In the current program "SAPLSKOM", an arithmetic operation ('DIVIDE',
'/', 'DIV', or 'MOD') with a type P operand attempted to divide
by 0.
4) Runtime Errors COMPUTE_BCD_OVERFLOW
Exception CX_SY_ARITHMETIC_OVERFLOW
Error analysis
An exception occurred. This exception is dealt with in more detail below
. The exception, which is assigned to the class 'CX_SY_ARITHMETIC_OVERFLOW',
was neither
caught nor passed along using a RAISING clause, in the procedure
"SKOM_CT_PERF_BUF_LIB" "(FUNCTION)"
Since the caller of the procedure could not have expected this exception
to occur, the running program was terminated.
The reason for the exception is:
An overflow has been determined in the current arithmetical operation
containing operands of type P. Possible causes include:
1. The results field of type P is to small and the result does not fit
into it.
places.
2. The result or partial result has more than 31 decimal places.
Thanks,
SachinHi Markus,
I have seen the note#741119, it asks to apply pack SAPKB64004, but its says its valid for Release 640 only. My release is 640 currently:
Software Component Name SAP_BASIS
Software Component Release 620
Support Package Level 0041
Highest Imported Support Package SAPKB62041
Short Description of Software Component SAP Basis Component
Support Package type Basis Support Pkg.
My question is, can i apply the pack directly on release 620? The prequisite to this pack says, the release should be 640. This forum helped me a lot, hoping you guys will solve my this issue as well.
Regards. -
Unable to see DB13 and ST04 logs in the system.
Hi All,
We are unable to see the DB13 logs in our SAP system. The same is happening while trying to look into the ST04 logs for Database Message Logs. In both the cases we find the same kind of log:
[in DB13 log]************************************************************************
BR252E Function fopen() failed for '/sapdba/sapcheck/cdvxzfrv.aly' at location file_printout-1
BR253E errno 2: No such file or directory
External program terminated with exit code 5
[in ST04 log]*************************************************************************
BR252E Function fopen() failed for '/sapdba/saptrace/background/alert_PIN.log' at location file_printout-1
BR253E errno 2: No such file or directory
External program terminated with exit code 5
SAP is running on Varitas cluster on two different nodes. One node is having SAP services and the another one Oracle services on it. Since the last week when we shifted the Oracle services from one node to another for monthly maintenace work, we are facing this problem.
Our system details are:
SAP 46C (kernel 46D_EXT) 32 bit
SuSe Linux 2.6.5-7 64 bit
Oracle 9.2.0.6.0
Can someone please help me on it.
AnilThanks Padmaja/Eric for your reply !!!
File systems are properly mounted and I can see these said files at OS level. Following are the env variable:
USER=dinadm
LOGNAME=dinadm
HOME=/home/dinadm
PATH=/oracle/DIN/920_64/bin:.:/home/dinadm:/usr/sap/DIN/SYS/exe/run:/opt/kde3/bin:/opt/gnome/bin:/usr/games:/home/dinadm/bin:/usr/bin/X11:/usr/bin:/bin:/usr/sbin:/sbin:/usr/lib/java/jre/bin
MAIL=/var/mail/dinadm
SHELL=/bin/tcsh
SSH_CLIENT=10.234.14.33 1364 22
SSH_CONNECTION=10.234.14.33 1364 10.234.13.50 22
SSH_TTY=/dev/pts/0
TERM=xterm
HOSTTYPE=x86_64-linux
VENDOR=suse
OSTYPE=linux
MACHTYPE=x86_64
SHLVL=1
PWD=/usr/sap/trans/data
GROUP=sapsys
HOST=insapr3din01
HOSTNAME=insapr3din01.pdc.in.ap.holcim.net
MANPATH=/usr/share/man:/usr/X11R6/man:/usr/local/man:/opt/gnome/share/man
MINICOM=-c on
INFODIR=/usr/local/info:/usr/share/info:/usr/info
INFOPATH=/usr/local:/opt/gnome:/usr
LESS=-M -I
LESSOPEN=lessopen.sh %s
LESSCLOSE=lessclose.sh %s %s
LESSKEY=/etc/lesskey.bin
PAGER=/usr/bin/less
MORE=-sl
GZIP=-9
CSHEDIT=emacs
COLORTERM=1
NNTPSERVER=news
XFILESEARCHPATH=/usr/lib/X11/%L/%T/%N%C:/usr/lib/X11/%l/%T/%N%C:/usr/lib/X11/%T/%N%C:/usr/lib/X11/%L/%T/%N:/usr/lib/X11/%l/%T/%N:/usr/lib/X11/%T/%N:/var/X11R6/%T/%N%C:/var/X11R6/%T/%N
INPUTRC=/etc/inputrc
LANG=en_US.UTF-8
QTDIR=/usr/lib/qt3
no_proxy=localhost
WINDOWMANAGER=/usr/X11R6/bin/kde
JAVA_BINDIR=/usr/lib/java/jre/bin
JAVA_ROOT=/usr/lib/java
JAVA_HOME=/usr/lib/java/jre
JRE_HOME=/usr/lib/java/jre
CVS_RSH=ssh
G_BROKEN_FILENAMES=1
GNOME_PATH=/opt/gnome:/usr
GNOMEDIR=/opt/gnome
ACLOCAL_PATH=/opt/gnome/share/aclocal
PKG_CONFIG_PATH=/opt/gnome/lib/pkgconfig
GTK_PATH=/usr/local/lib64/gtk-2.0:/opt/gnome/lib64/gtk-2.0:/usr/lib64/gtk-2.0
MODULE_VERSION=3.1.6
MODULE_VERSION_STACK=3.1.6
MODULESHOME=/usr/share/modules
MODULEPATH=/usr/share/modules/versions:/usr/share/modules/modulefiles
LOADEDMODULES=
CSHRCREAD=true
LS_OPTIONS=-N --color=tty -T 0
SAPSYSTEMNAME=DIN
DIR_LIBRARY=/usr/sap/DIN/SYS/exe/run
LD_LIBRARY_PATH=/usr/sap/DIN/SYS/exe/run:/oracle/client/92x_32/lib
THREAD=NOPS
dbms_type=ORA
dbs_ora_tnsname=DIN
dbs_ora_schema=SAPR3
ORACLE_PSRV=DIN
ORACLE_SID=DIN
ORACLE_HOME=/oracle/DIN/920_64
ORACLE_BASE=/oracle
ORA_NLS=/oracle/DIN/920_64/ocommon/NLS_723/admin/data
ORA_NLS32=/oracle/DIN/920_64/ocommon/NLS_733/admin/data
ORA_NLS33=/oracle/client/92x_32/ocommon/nls/admin/data
NLS_LANG=AMERICAN_AMERICA.WE8DEC
SAPDATA_HOME=/sapdata/oracle/DIN
waiting for your reply,
Anil -
Hi All,
I am getting following error message in st04 when the offilene database backup is run.
ORA-1109 signalled during: ALTER DATABASE CLOSE NORMAL...
System : R/3 4.7
DB : Oracle 9.2.0.6.0
Can anybody please tell me what exactly does it mean, and what can be the remedy for this?
Thanks.
Shamishperhaps your database was ALREADY down when you tried to shut it down.
this looks like a non-issue. -
Data buffer(st04) is lower and lower
recently, i find such an information in our sap system using ST04. Following is message:
Data buffer
Size kb 3,194,880
Quality % 89.4
the quality value is lower an lower.
why? what should i do?
please help me ! thanks a lotHello,
it moght be due to u have set the data bufer size is too small so that more in and out is there ...this is the basic and primary reason for u r problem...
so calculate u r data buffer size according to u r application usage....no. of users connected, more update ,insert or select transactions...
Thanks. -
Retrieving historical data from new ST04
In the old ST04, you could get a nice, 3 month daily overview of key measures just by hitting "Previous Days". I use that in my performance analyses. With the new ST04, I have no idea how that's done. From my understanding, the new ST04 should give you historical data if you give an initial snapshot date that's far enough back. But I see no way to define the initial date as anything but "Database Start". SAP_COLLECTOR_FOR_PERFMONITOR has been running consistently for months. Programs RSORAHCL and RSORAVSH are scheduled to run hourly every day. So the history should still be there, and should be accessible. However, the documentation on the new DBACOCKPIT is very sketchy, as far as I've seen.
Can anyone either point me to some good documentation on this topic, or provide some hints. I'd very much appreciate it.
Thanks very much.
GordonStefan,
The system I'm looking at, L6P, is on Basis 7.00 SP 13. For troubleshooting, I compared L6P to our G8P system , which is on Basis 7.00 SP 15.
One thing I found is that I can select some dates under the "Database Start" and "Up To Now" buttons on G8P, but not on L6P. I further found that in table TCOLL, RSORAHCL has all 7 days marked in G8P, but no days marked in L6P. That would explain why I see the dates in G8P, but not in L6P -- I need to flag the days for RSORAHCL in TCOLL.
So now, I know what I need to do to pick dates going back as far as what's in AWR, according to dba_hist_snapshot. I also see how I can change the snapshot interval and retention periods:
begin
dbms_workload_repository.modify_snapshot_settings (
interval => 20,
retention => 22460
end;
for example. The data's in minutes, so I'd want interval = 1440 and retention = 902460 for 3 months of daily snapshot data.
However, I still don't see how I can actually see the history. I go into Statistical Information --> System Summary Metrics, select Metrics Datasource dba-view, and put in the dates I want. I get a lot of metrics, but I don't see a way to limit them to the sepcific ones I want (for data buffer hit rate, I think I'll need to get the physical and logical reads). How can I clean this up to show only what I need?
Thanks very much.
Gordon -
Hi Experts, We are getting Exception CX_DBA_ADBC in function unit C_GET_DB_ORA_FILESYSTEM_REQUES ( function group S_ORA_COCKPIT_2 include line 0 ) error in
ST04 > Performance > Wait Event Analysis > Filesystem requests
As a correction we implemented OSS note 1262645 but still the problem persists.
Any advice would be much approeciated.
Regards, Amber SHello,
Check the below link, might help..
Re: Getting exception CX_DBA_ADBC while executing ST04
Regards,
Yoganand.V -
Getting a Dump in ST04 DYNPRO_FIELD_CONVERSION
Hi All,
We have an ECC 6.0 running on Oracle 10.2.0.2 and os is SUN - OS
When i go to ST04 i get a dump in the system
DYNPRO_FIELD_CONVERSION
Screen name.............. "SAPLS_ORA_COCKPIT_2"
Screen number............ 0001
Screen field............. "ST04N_DATA-DBUFF_BUSYWAITS"
Error text............... "FX015: Sign lost."
I have applied the note 1227629 manually
i.e In Structure ST04N_DATA i saw the following data elements were having length as 12. and it was increased to 16.
DBUFF_LOGREADS
DBUFF_PHYSREADS
DBUFF_PHYSWRITES
DBUFF_BUSYWAITS
DBUFF_WAITTIME
and after that in SE80 selected function group S_ORA_COCKPIT_2 under the screen 0001 changed the length from 15 10 16 for fields DBUFF_LOGREADS
DBUFF_PHYSREADS
DBUFF_PHYSWRITES
DBUFF_BUSYWAITS
DBUFF_WAITTIME
however we still have the error. Any pointers would be helpful
Regards,
Ershad AhmedHello Rohith,
Thanks for the reply . I checked the note 1227629 its applicable from Basis Support pack 14onwards
and we are currently on 13 and the other notes 1137886, 1136458 tells us to increase the length to 16
and thats been done, The last note 1246251 shows a different Screen field
Screen field............. "ST04N_DATA-SHPL_CAQUAL"
Regards,
Ershad Ahmed -
Performance analysis in tcode st02, st03, st04, st06
what performance analysis we will do in tcode st02, st03, st04, st06. I want to know the in detail calculation.
Thanks.
RohitHi,
Buffer: The first column shows the names of the buffers:
Four ABAP repository buffers.
The program, CUA, screen, and calendar buffers.
The table buffers.
Hit Ratio:
A hit is when an object (such as a table, screen, or program) in the buffer is accessed. If the object has to be read from the database, the buffer access fails.
Allocated Size:
The allocated size is measured in KB. It is different from the available buffer size because a part of the size is used for buffer management.
Freespace :
Freespace is important for analyzing the buffer size. The space remaining in the buffer is displayed in KB and percentage of the available buffer size.
Number of Directories:
Even though there is freespace in the buffer, objects may not always be loaded into the buffer because there are no more free directories. The Buffers Monitor displays the number of directories available for the buffer, and the number and percentage free. The buffer directories point to the location of the objects that are located in the buffer.
Swapping:
When a buffer has insufficient freespace or free directories, it has to swap objects out of the buffer in order to load a new object. The column Swap shows how many objects have been swapped out since system startup.
Database Accesses
When an object cannot be read from the buffer, the database has to be accessed. The number ofdatabase accesses is displayed in the last column of this screen. -
Running SQL 2005 X64, ECC 6.0
Recent upgrade from 32 bit 4.6c/sql 2000 and install on new hardware
ST04->Detail Analysis Menu->SQL Server Parameters->Database Options
Bombs.
Error message No parameters found
Please help.
Thanks.May be a permission issue with the new schema. Here's the output you were looking for. Server names changed.
B Mon Jul 23 10:06:34 2007
B create_con (con_name=+DBO+0000)
B New connection 1 created
B Connect to +DBO+0000 as with MSSQL_SERVER=DBserver MSSQL_DBNAME=PRD OBJECT_SOURCE=dbo
C Thread ID:3956
C dbmssslib.dll patch info
C patchlevel 0
C patchno 72
C patchcomment MSSQL: Thread check in DbSlDisconnect (969143)
C Network connection used from Appserver to DBserver using tcp:DBserver
C Connected to db server : [DBserver] server_used : [tcp:DBserver], dbname: PRD, dbuser: dbo
C pn_id:DBserver_PRD_PRD
B Connection 1 opened (DBSL handle 1)
B Wp Hdl ConName ConId ConState TX PRM RCT TIM MAX OPT Date Time DBHost
B 000 000 R/3 000000000 ACTIVE NO YES NO 000 255 255 20070721 142519 DBserver
B 000 001 +DBO+0000 000000001 ACTIVE NO NO NO 004 255 255 20070723 100634 DBserver -
Running DBMON for ST04 Statistics?
Is everyone running DBMON for ST04 statistics? At one time it slowed down general database activity because it was so busy collecting statistics. We are checking to see if that is still true.
The main reason for the question is whether it could be slowing down our CRM 7.0 database accesses.
Thanks much,
-MargieHi Margie,
there is good and bad news ...
The good news is, that the system will no longer hang with the new setup - it needs a few ressources, but not really a lot.
The bad news is, that part of the data is not really reliable as the "1ms" SQLs are typically faster than that ...
Therefore, I prefer to directly use the OpsNav Plan Cache and then deactivate this within SAP.
That is really a great feature !!!
Regards
Volker Gueldenpfennig, consolut international ag
http://www.consolut.com http://www.4soi.de http://www.easymarketplace.de -
Define an interval in st04 / SQL-Cache
Hi,
one of our customers runs their systems with DB2 under solaris. The others work with DB2 z/OS or Oracle.
In these both platforms there is a functionality to define an interval in the Statement Cache / Cursor Cache. With a 'reset' button i can reset all data to zero. And with the 'since reset' button i get new data only for the time since pushing the 'reset' button.
I wonder if there is nothing familiar in the DB6 SQL-Cache.
In the st04 transaction there are some buttons to define such an interval, but it seems they work only on the database snapshot screen for bufferpools, cache etc.
The SAP status shows a DB2 9.5.4 and ECC 6.0 SP 18.
Is there something that i have overlooked ?
regards
KayHello Kay,
The behaviour in recent support pack and db2 release levels is that the sql chace is refreshed once you check the sql cache in dbacockpit/st04.
The new behaviour whereby the SQL cache data is refreshed upon entering ST04 -> SQL chache is
the preferred behaviour. The main reason for the old behaviour where the previously stored SQL cache data was initially displayed until a refresh was requested, was due to very slow SQL cahce retrieval in previous releases.
With newer releases, especially db2 v9, it has become faster to retrieve and so, reached an acceptable speed that the behaviour has been changed to trigger a refresh of the data immediately once ST04-> sql cache is
selected.
With this you can be sure that the sql cache you are seeing is current, whenever you check it via dbacockpit.
Hope this helps,
Paul -
Hi
Could anyone please explain me what is the field `User/ recursive calls` in ST04 view means? Does it anyway related to the performance of DB?
I had a error situation yesterday and after that the user /recursive calls value increased drastically to 14..earlier it was 4.4.
please clear my doubt.
regards,
Vinodh.Hi,
Recursive calls occur when oracle itself must issue an SQL statement in addition to the SQL statement issued by the particular user process. For information of how to reduce the recursive calls, go thorugh page 51 of the below link:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0667b7c9-0e01-0010-e4a3-873e87656048
Cheers,
Bharath -
hi to all gurus,
can anybody tell me the difference between the t-codes al02 and st04 although both are used for checking the performance of the database.hello,
AL02 is used as SAP Alert Monitor. You can setup alerts to monitor your system.
But now a days we are not using AL02. We are using RZ20 to set up CCMS monitor alerts.
ST02 gives you Tune summary. There you can find out all details about Memory parameters & all buffers. It highlights swaps in your system. You can also switch to other transactions also like Database performance, OS06 etc.
So ST02 is really very helpful monitoring transaction. Generally used to monitor system swaps & other buffer parameters
Hope you can get idea..
Regards
Anju
Maybe you are looking for
-
ADF BC View Objects: Disappearing where clauses
Playing around with the 11g Technical Preview I find out that sometimes the where clauses - added to View Objects by means of the new "Join Type" field in the VO-editor UI - disappear. I'm not able to reproduce exactly and "on demand", but it seems t
-
Mexican Government report .. New
Has anyone done any work or has a solution to generate from SAP FICO AP the report that is required from August 17th 2007 in Mexico? Report is called 'Declaration Informativa de Operaciones con Terceros. is basically a monthly statutory report lookin
-
Web Dynpro ABAP ALV On Data check
Hi If i push the check button and i find an error in my on data check event and send an error message l_message_manager->REPORT_ATTRIBUTE_ERROR_MESSAGE. It will not check again when i am pushing of the check button again, i guess because no data has
-
Problems print with Canon i850/ which driver?
Ever since I installed Leopard, I have had printing problems with the color on my Canon i850 printer. Usually this has to do with magenta. If cleaned the printer, etc., and didn't have this problem in Tiger. Sometimes magenta will print in some color
-
Hey everyone, I am using version 3.10.3-1 of the kernel, version 22.0 of firefox and installed the flashplugin package. Everything seemed to be working great first, but now I have this bug: Sometimes (I cannot pin down what exactly makes this start)