|
最新的sap ags回复:
Dear Mr. Sun,
Sorry for late reply. Your message has been forwarded to SV-BO
component to check performanc related issues.
Due to no variant for issue reproduction, and the SQL statement doesn't
exist in SQL cache anymore. I fetched the SQL from AWR and found,
in the index COEP~Z01 you mentioned as 'right index', the first column
is 'MATNR', which is not specified in where clause. That's reason
why CBO doesn't use this index and it is the normal behaviour but not a
bug.
I have noticed that you have added hint to force using index~Z01 in
ABAP coding ZCOR051. And I have found the second column of COEP~1 is
LEDNR with distinct 1. If it can be hardcoded in ABAP then index COEP~1
access should be more optimal.
I'll discuss with you later on the phone.
BR,
Alex Li
Support Consultant
SAP AGS China
我不能赞同他说的关于不走索引coep~z01的解释,他给的解释是正确的吗?
索引的相关信息:
|
|