Hi,
We just resolved a performance issue, I guess it's due to table fragmentation, but not sure how the fragmentation happened as the table is always truncated and reloaded.
I thought the TRUNCATE would always reset the HWM and the fragmentation wouldn't happen. Is there any other possibilities?
The job has always been running less than 30 mins. Recently nothing is changed to any procedures, tables etc - not confirmed with DBA DB maintenance. Then the job runs up to 11 hrs. By recreating the table, the job runs from 11 hrs to 25mins. Note the job and tables are old for years.
What could be the reason behind this please, any ideas
Thanks
Amy