2041442 - Update statistics on partitioned tables can be slow - SAP ASE | SAP Knowledge Base Article

SAP Knowledge Base Article - Preview

2041442 - Update statistics on partitioned tables can be slow - SAP ASE

Symptom

Update statistics on table with high number of partitions (over 100) can be very slow to merge the partition information into global table statistics.

Individual partitions can have update statistics run very quickly but the time for the update statistics at the table level far exceeds the sum of the times for each partition.

Executing DBCC STACKTRACE on the process may show the following functions:

stm_process_step()
stio_merge_col_list()
stio_mergepartitions()
stio_write_global_stats()

Read more...

Environment

SAP Adaptive Server Enterprise (ASE) 15.x prior to 15.7 SP121

Product

SAP Adaptive Server Enterprise 15.7

Keywords

histogram, update statistics  , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , Bug Filed

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.