on 11-09-2007 9:40 AM
Hello,
I want to improve the performance of my MaxDB. So I tried to create indexes and now I want to check if these indexes are used or not!
1st: Is there a possibility to force MaxDB to use the index, if the sql statement consists e.g. LIKE '%N600%'?
2nd: Exist a list or something else where I can see which sql statements in MaxDB dont support index strategy?
Thx for help and kind regards,
Frank
Hello Frank,
A1: You could force MaxDB to use an index - but this wouldn't help much. The index could not be used efficiently with a like condition which starts with %.
Q2: Please check out the tuning section in the Wiki:
https://wiki.sdn.sap.com/wiki/x/jRI
Especially this section might be of interest for you:
https://wiki.sdn.sap.com/wiki/x/GXE
In General: if you want to check the execution plan for a specific SQL statement, use the EXPLAIN statement (just add EXPLAIN before the SELECT and execute it in SQLStudio).
HTH,
Melanie
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.