‎2018 Jul 17 8:36 AM
Hi,
I am working on ecc program performance improvement, when I execute my program found that the issue with the SER01 table. using ST05, SAT to measure the changes.
It seems like the Primary index of table SER01 is not working - In SELECT statement WHERE clause used the primary key + non-index field(SERNR+VBTYP) it takes 100 seconds. but when I use same query with only primary key(SERNR) it is taking 140 seconds. At runtime, I have seen the data in both cases output is same.
ST05- I can see INDEX UNIQUE SCAN SER01~0 is used.
Question:
1. In st05 detailed information of index it shows Last statistics date is 11/11/2015 is this something wrong and index table is not updated till date..?
2. In se16, total number of records 23,628,275 but in st05 shows 23,598,400. Do both numbers should match approximately..? now the diff is around 30K.
Thanks,
Vishwa
‎2018 Jul 17 9:04 AM
‎2018 Jul 17 4:14 PM
‎2018 Jul 18 7:39 AM
‎2018 Jul 18 6:12 PM
Hi Raymond,
My basis team has run statistics I have attached the latest screenshot. now in the st05 primary key entries are more than the total number of table entries.
but after the index update also the performance is same, am passing only primary key field which is taking more time than when I pass the primary key + non-indexed field.
Thanks,
Vishwa
‎2018 Jul 19 7:31 AM
Don't forget that the execution time is time to find records + time to transfer data from database server to application server. If you remove the non key criteria, more data will be copied.
What is your database, and which version?
(The statistics are statistics, the index itself is updated in nearly real time, only the stats were refreshed, and ony a sample of data were actually analyzed)