Al02 vs st04
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
Similar Messages
-
SSAA - System Administration Assistant
Hello ,
Can any one give some information on T-Code SSAA. We want to do a quick monitoring of our process chains, i know that RSPCM will do he job but we also want to know the start time and the end time of each and every process chain, at the same time we dont want to waste or put more time on this alone.
Also if any one can explain about the T-Code RZ20 as well,
points assured for all relevant answers.
Thanks in advance for all your help.Hello Lalitha,
SAP Processing Monitorization Checklist
Administrative personnel proactively monitor the system to identify processing errors and/or issues.
Understand the procedures in place and tools used to proactively monitor the system to identify processing errors and/or issues (i.e. BMC-Patrol, home-grown systems, Control/M, etc.) Ensure that the scheduled daily tasks checklist includes the following:
-Run transaction SM51 and check that all servers are up
-Run transaction RZ20 and check the CCMS alert monitor for alerts
-Run transaction SM50 and ensure that all work processes have a running or waiting status
-Run transaction SM13 and look for any failed updates. Check for lines with Err.
-Run transaction SM21 and check the system log. Check for: errors, warnings, security messages, abends, database problems, and any other different events.
-Run transaction SM12 and check for old locks. Check for entries from prior days.
-Run transactions SM04 and AL08 and review for any unknown or different user IDs and terminals.
-Run transaction ST22 and review and resolve dumps. Look for excessive numbers of dumps and look for dumps of an usual number.
-Run transaction ST03 and review workload statistics.
-Run transaction ST02 and review buffer statistics. Look for swaps.
-Run transactions AL02 and ST04 and review error log for problems.
Alternatively, administrators may execute transaction code SSAA (R/3 Administrative Activities), rather than executing all of the above transaction codes individually.
If CCMS is not used, determine the tools used to proactively monitor the system. Ensure that the tool is used effectively and that the tasks outlined above are monitored.
RZ20 or CCMS is a Central Monitor tool for monitoring the entire system landscape. We can create Alert to monitor specific devation of the system behaviour.
For more details
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2bc02d89-0901-0010-be9c-9c038d739e60
For CCMS summary
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/401842c5-804a-2a10-a8b6-daf772dfa3c3
Other related docs
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d688b190-0201-0010-739a-a56ffcc6b7fc
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6daa9990-0201-0010-8084-f5b7f5f1fcfa
Thanks
Chandran -
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. -
目前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。
-
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. -
Alternative tcode for AL02 in ECC 6.0
Hi All,
AL02 is a tcode in 4.7, its obsolete in ECC 6.0 . i want the alternate tcode for this in ECC 6.0.
can u suggest me some process to find such alternative tcodes for the obsolete one in the higher versions.Hi Nasreen,
The new Tcode for AL02 is RZ20 in ECC 6.0
Check this Wiki for the list of old and new Tcodes:
https://wiki.sdn.sap.com/wiki/display/ERP6/TransactionsChangedinECC6.0
Regards,
Chandra Sekhar -
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
Maybe you are looking for
-
Need help with running a Java program on Linux
I am trying to get a Java program to run on a Linux machine. The program is actually meant for a Mac computer. I want to see if someone with Java experience can help me determine what is causing the program to stall. I was successful in getting it in
-
Create PO related invoice - before goods receipt/confirmation
Hi all, sorry to ask this very basic question as our system is not working at the moment and I cannot test this out and have very little experience creating PO related invoice in SRM. First of all, we are operating on SRM 4. I would like to find out
-
How do I stream the dvd's I insert into my mac on my apple tv?
How do I stream the dvd's I insert into my mac on my apple tv?
-
Paid for Premium - but still on free mode
I paid for premium for last 6 months - I even checked account for receipt. its there.none of my devices or computers will work premium 0 still on free mode.Help me please.
-
Hi, I have a panel with a checkbox and a slider, and I want to put a string below the slider...so here is what i do... public void paint(Graphics g) { super.paint(g); * Get original font (need its height) originalF