APM 10.7.x
Analysis from Development for this specific use case:
"There were about 10m documents + 17m deleted documents not yet optimized, there are couple of Fields with huge amount of Terms (unique value, ~20m):
CorCrossProcessData
contents
StartTime
Starttimeinnanos
TraceID
Indexing this kind of Fields are very expensive, we have option to turn off 2 of them:
introscope.enterprisemanager.transactionevents.storage.index.corrids.enable
introscope.enterprisemanager.transactionevents.storage.index.contents.enable
The corrids property might be useful during support troubleshooting, you can turn off index on contents to reduce the index size "
Recommendation: reduce the size of the Traces DB index to prevent similar situations affecting the index optimization tasks
Apply below recommendation to all the EMs.
1. Stop EM
2. Delete traces/index folder
3. Add to the <EM-HOME>config/IntroscopeEnterpriseManager.properties file, below hidden property:
introscope.enterprisemanager.transactionevents.storage.index.contents.enable=false
4.Start the EM - a new index folder will be created during EM start
NOTE: You can create the index separately and before you start the EM by using the <EM-HOME>/tools/IndexRebuilder tool, see https://knowledge.broadcom.com/external/article/186347/reindexing-traces-in-ca-apm.html
APM Introscope Enterprise Manager - Troubleshooting and Best Practices
https://knowledge.broadcom.com/external/article/93176/introscope-enterprise-manager-troublesho.html