Skip to Content

Performance Issue : Incosistent behaviour after secondary index creation in different environments

Hi ,

We have created secondary index ‘on database tables A952, A954 and A955 in Dev environment and transported secondary indexes to STG1 and STG2 environments respectively with fields MANDT,KAPPL and MATNR.

The behavior of STG1 and STG2 environment to fetch data from db tables A952, A954 and A955(using select statement) is inconsistent after rebuilding and updating statistics of the newly created secondary index Z02.

SAP STG1 Environment:

Table A954, A952: Select statement is consuming least time to fetch data from these two tables and is picking the Z02 index

Table A955: Select statement is consuming time and doing a full scan.

SAP STG2 Environment:

Table A954: Select statement is consuming least time to fetch data from these two tables is picking the Z02 index

Table A955, A952: Select statement is consuming time and doing a full scan.

I have even used %Hints statement on the tables which are time consuming but without any luck.

Am I missing anything here. Appreciate your inputs to resolve this issue.

Thanks in advance.

-Always Learner

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Nov 28, 2017 at 10:44 AM
    • Could you check technical settings for those tables in the various system, look for buffering parameters?
    • Did you create the index without client field?
    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.