Quantcast
Channel: SCN : Discussion List - SAP on Oracle
Viewing all articles
Browse latest Browse all 1892

Perfomance Issue on T-Code CJ20N

$
0
0

Hi All,

 

We have some problem on CJ20N. It costs 7-8 mins to get in to Project Builder screen. SQL trace shows the slowest selection:

 

SELECT

  T_00."AUFNR", T_00."AUFPL", T_01."PSPEL" "PROJN", T_01."KTEXT"

FROM

  "AFKO" T_00 INNER JOIN "AUFK" T_01 ON T_01."MANDT"=:A0 AND T_00."AUFNR"=T_01."AUFNR"

WHERE

  T_00."MANDT"=:A1 AND T_00."PRONR"=:A2 AND T_01."AUTYP"=:A3



 

Index usage of this statement:

 

SELECT STATEMENT ( Estimated Costs = 3 , Estimated #Rows = 342 )

 

 

       5 HASH JOIN

         ( Estim. Costs = 2 , Estim. #Rows = 342 )

         Estim. CPU-Costs = 14.406.898 Estim. IO-Costs = 2

         Access Predicates

 

 

           2 TABLE ACCESS BY INDEX ROWID AFKO

             ( Estim. Costs = 1 , Estim. #Rows = 357 )

             Estim. CPU-Costs = 11.666 Estim. IO-Costs = 1

             Filter Predicates

 

 

               1 INDEX RANGE SCAN AFKO~0

                 Search Columns: 1

                 Estim. CPU-Costs = 3.249 Estim. IO-Costs = 0

                 Access Predicates

 

 

           4 TABLE ACCESS BY INDEX ROWID AUFK

             ( Estim. Costs = 1 , Estim. #Rows = 342 )

             Estim. CPU-Costs = 4.591 Estim. IO-Costs = 1

 

 

               3 INDEX RANGE SCAN AUFK~B

                 Search Columns: 2

                 Estim. CPU-Costs = 2.889 Estim. IO-Costs = 0

                 Access Predicates

 

Our Index info is below for tables AUFK and AFKO:

 

AUFK:

 

0          X      Primary index

A                 Cost accounting-/allocation group/order type

B                 Order type/plant

C                 Request type/controlling area

D                 Index for matchcode ID PRPO-D

E                 Production process/product cost collector

 

AFKO:

 

0          X      Primary index

1                 Relationship operation - order header

2                 Index for project definition

3                 Index for subnetworks

4

5                 Index MAUFNR

6                 Index LEAD_AUFNR

D                 Index for matchcode ID ORDE_D

F                 Index for matchcode ID ORDE_F

P                 Task list number

 

There is a OSS Note: 484638 but our oracle version is 11.2.0.3.0 so i don't think that the note is suitable for us. So i don't know what to do next. Please help me.

 

Thanks in Advance for any clarification.


Erdem


Viewing all articles
Browse latest Browse all 1892

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>