Troubleshooting
Problem
- This takes a very long time.
Symptom
- Before fix (unpartitioned database tables): 10 minutes
- After fix (partitioned database tables): 1 or 2 minutes.
Cause
- TIP: See separate IBM Technote #375127 for more examples.
This Technote specifically relates to the scenario where the cause is that the customer's XDB (data) tables have grown so excessively large that the standard Microsoft SQL tables cannot give fast performance.
- For example, for the year 2019 the corresponding table name is XDB19.
- In very rare circumstances, customer's XDB tables are so large that they benefit from being 'split' into separate partitions.
- For more explanation on what partitioned tables are, see third-party (non-IBM) links below.
Environment
- the customer has huge XDB (data) tables
- database hosted on Microsoft SQL.
vchTableName | biRowCount | vchTableSize | vchDatASpaceUsed |
xdb17 | 80,000,000 | 30 GB | 11 GB |
xdb18 | 103,000,000 | 37 GB | 13 GB |
xdb19 | 80,000,000 | 30 GB | 11 GB |
Diagnosing The Problem
Resolving The Problem
- After doing this, the speed of the report increased from approximately 10 minutes to approximately 1-2 minutes.
Related Information
375127 - Controller Excel Report Performance Tips
Third Party (Microsoft) - Partitioned Tables and Indexes
Third Party (Microsoft) - Create Partitioned Tables and Indexes
Third Party (non-IBM) - Table Partitioning in SQL Server – The Basics
373067 - How to find out the size of each table inside a SQL database
Document Location
Worldwide
Was this topic helpful?
Document Information
Modified date:
25 February 2020
UID
ibm13422901