on 08-03-2005 1:40 PM
Hi Everybody,
I have to prepare a report which has extensive usage of SQLs and the performance will be an issue. On top of that many of the SQLs I want to test before being implemented in program.
Is there a place besides SQVI (since my SQLs are very complex) where I can check that my SQLs run fine????
Regards,
Deva.
A temporary program will show you that the SQL is "clean" in terms of producing the desired output. However, it will not give you an exact determination of performance... as database table sizes in different environments will dictate performance.
You could use SE30 - Run-time Analzyer to identify areas that have inefficient reads, etc.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Execution of ST04 transaction code displays the statistics relating to database performance in terms of Memory usage, space, SQL requests etc. But this could be analyzed better by basis people.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Deva, hi
Use transaction ST05 - SQL trace. On the first screen there is a pushbutton 'Enter SQL statement'. This takes you to a screen where you can enter SQL statements and then use the Explain button. It will give you an indication of the index access path that is likely to be used. If you get a 'No explain!' message then it can't understand your SQL statement, however, it is case-sensitive, make sure you enter the SQL syntax in upper case or it will always give you the 'No explain!' message, i.e.
'SELECT BELNR FROM BSIS WHERE BUKRS = '1000'' not 'select belnr from bsis where bukrs = '1000''
Once you have a statement explained, use the 'uncompressed explain' pushbutton to get estimated rows, estimated I/O, and estimated CPU.
Any problems, post back to this thread.
Kind regards
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No other way Deva !!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you just test them in a temporary program?
Regards,
Rich Heilman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.