2009 Jan 22 2:57 PM
Hi!
We created an index for Z table but the ABAP program trace (using transaction ST05) for this table shows us that there is no access by this index. However, the same query in Oracle accesses the table by the index we created.
Any ideas of what happen here?
Thanks!!!!
Cristian
Hi!
We created an index for Z table but the ABAP program trace (using transaction ST05) for this table shows us that there is no access by this index. However, the same query in Oracle accesses the table by the index we created.
Any ideas of what happen here?
Thanks!!!!
Cristian
2009 Jan 22 3:04 PM
Hi ,
The index to be used is determined by the system during the program execution , in case you want the system to use a perticular index , then you will have to use Oracel Hints in the select statement , where you specify the index you want the system to use during data selection.
Please see the post which gives an example , Or[Oracle Hints [Specify Index ]|;
Regards
Arun
2009 Jan 22 3:07 PM
So it must be in two completely different systems - right?
Make sure the statistics are up to date in the system where it is not using the index.
Rob
2009 Jan 22 3:39 PM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |