on 02-25-2008 5:38 PM
Hi All
the below query is taking too much time in system. Can you suggest any solution.
SELECT
"VKONT"
FROM
"DFKKOP"
WHERE
"MANDT" = :A0 AND "AUGST" = :A1 AND "VKONT" IN ( :A2 , :A3 , :A4 , :A5 , :A6 ) AND "BUKRS" = :A7
AND "STAKZ" = :A8 AND "HVORG" = :A9 AND "TVORG" = :A10 AND "FAEDN" > :A11 AND NOT "AUGRD" IN (
:A12 , :A13 )#
Execution Plan
Explain from v$sql_plan: Address: 00000004D9EC3B08 Hash_value: 32710645 Child_number: 0
SELECT STATEMENT ( Estimated Costs = 6 , Estimated #Rows = 0 )
3 INLIST ITERATOR
2 TABLE ACCESS BY INDEX ROWID DFKKOP
( Estim. Costs = 6 , Estim. #Rows = 1 )
1 INDEX RANGE SCAN DFKKOP~4
( Estim. Costs = 4 , Estim. #Rows = 75 )
Search Columns: 4
Do you have an index appropriate for your where clause?
MANDT, AUGST, VKONT, BUKRS, STAKZ, HVORG, TVORG, FAEDN, AUGRD
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.