Search:

Search all manuals
Search this manual
Manual
Couchbase Server Manual 2.0
Community Wiki and Resources
Download Couchbase Server 2.0
Couchbase Developer Guide 2.0
Client Libraries
Couchbase Server Forum
Additional Resources
Community Wiki
Community Forums
Couchbase SDKs
Parent Section
5.4 Database and View Compaction
Chapter Sections
Chapters

5.4.2. Auto-Compaction Configuration

Couchbase Server incorporates an automated compaction mechanism that can compact both data files and the view index files, based on triggers that measure the current fragmentation level within the database and view index data files.

Note

Spatial indexes are not automatically compacted. Spatial indexes must be compacted manually. For more information, see Section 8.6.10, “Compacting Bucket Data and Indexes”.

Auto-compaction can be configured in two ways:

The available settings for both default Auto-Compaction and Couchbase Bucket specific settings are identical:

Configuration of auto-compaction is performed through the Couchbase Server Web Admin Console. For more information on the default settings, see Section 6.8, “Settings. Information on per-bucket settings is through the Couchbase Bucket create/edit screen. See Section 6.3.1, “Creating and Editing Data Buckets”.