Managing index size in Confluence Data Center
This insight is shown when your Confluence Data Center's index size approaches or exceeds 10 million objects. Index size represents the total number of indexed content objects in your Confluence instance. This includes pages, blog posts, comments, and (if enabled) attachments. The value is captured in your support zip file under the <usage.content.current> tag.
Thresholds: | |
---|---|
Optimal | Less than 9,000,000 |
Approaching Limit | Between 9,000,000-11,000,000 |
Exceeding Limit | More than 11,000,000 |
Critical | More than 12,500,000 |
How does large index size affect performance?
A large index can significantly impact your Confluence instance in several ways:
Users experience noticeably slower search response times as the system takes longer to query and retrieve data.
Administrative tasks like reindexing operations require extended completion times, consuming more system resources and potentially affecting overall system performance during these periods.
What's the recommendation?
You should aim to keep your index size below 10 million objects for optimal performance. If you're approaching or exceeding this threshold, consider the following actions:
Optimize attachment indexing
Attachment indexing can significantly contribute to your index size. You can disable content indexing for attachments while maintaining basic attachment search functionality:
Evaluate if you need full-text search for attachments
To disable attachment indexing:
Go to Confluence Administration > Configuration > Attachment Storage
Disable "Index attachments on creation"
Learn how to disable indexing attachments
Clean up unused spaces
Regular space maintenance can help manage index size:
Identify unused spaces:
Review space activity statistics
Look for spaces with no recent updates
Check for archived or obsolete projects
Before deletion:
Archive important but inactive spaces
Back up any necessary content
Communicate with space owners
Clean up your Confluence instance
Migrate to OpenSearch
OpenSearch provides better performance for large indexes:
Faster reindexing times
Improved search response times
Better handling of large data volumes
Review OpenSearch hardware recommendations for Confluence
Optimize storage infrastructure
Storage performance directly impacts index operations:
Use SSD storage for:
Local home directory
Shared home directory
Ensure adequate I/O capacity
Monitor storage performance regularly
Preventive measures
To prevent index size issues in the future:
Implement regular space cleanup procedures
Monitor index size growth trends
Set up archiving policies for inactive content
Review attachment indexing requirements periodically