Couchbase · Schema

AutoCompactionSettings

Auto-compaction configuration

AnalyticsApp ServicesBackupCapellaCloudDatabaseDBaaSEventingFull-Text SearchGatewayJSONMobileNoSQLReplicationSQL++SyncVector SearchXDCR

Properties

Name Type Description
databaseFragmentationThreshold object
viewFragmentationThreshold object
parallelDBAndViewCompaction boolean Whether to run database and view compaction in parallel
View JSON Schema on GitHub

JSON Schema

couchbase-autocompactionsettings-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/AutoCompactionSettings",
  "title": "AutoCompactionSettings",
  "type": "object",
  "description": "Auto-compaction configuration",
  "properties": {
    "databaseFragmentationThreshold": {
      "type": "object",
      "properties": {
        "percentage": {
          "type": "integer",
          "description": "Database fragmentation percentage threshold"
        },
        "size": {
          "type": "integer",
          "description": "Database fragmentation size threshold in bytes"
        }
      }
    },
    "viewFragmentationThreshold": {
      "type": "object",
      "properties": {
        "percentage": {
          "type": "integer",
          "description": "View fragmentation percentage threshold"
        },
        "size": {
          "type": "integer",
          "description": "View fragmentation size threshold in bytes"
        }
      }
    },
    "parallelDBAndViewCompaction": {
      "type": "boolean",
      "description": "Whether to run database and view compaction in parallel"
    }
  }
}