The current self-hosted documentation has grown organically and has several structural and content gaps that make it harder for users to find what they need.
self-hosted/
├── editions/ # Edition overview and licensing
├── quickstart/ # Quick start guide
├── deployment/ # Deployment
│ ├── overview # Architecture overview and deployment options
│ ├── requirements # Hardware and software requirements
│ ├── docker/ # Docker deployment (recommended for getting started)
│ │ ├── deploying-local # Docker Compose
│ │ └── deploying-offline # Air-gapped environments
│ ├── kubernetes/ # Kubernetes deployment
│ ├── benddeploy/ # BendDeploy (recommended for production)
│ └── object-storage/ # Object storage configuration
│ ├── overview
│ ├── amazon-s3
│ ├── google-gcs
│ ├── azure-blob
│ ├── minio
│ ├── other # Wasabi, CubeFS, R2, OSS, COS, etc.
│ └── preparing-storage
│
├── databend-meta/ # Meta Service
│ ├── deploy # Deploy a Meta cluster
│ ├── node-manage # Add and remove nodes
│ ├── backup-restore # Backup and restore
│ └── status-and-monitoring # Status and monitoring (merged from status + grpc)
│
├── databend-query/ # Query Service
│ ├── deploy # Deploy Query nodes
│ ├── cluster # Query cluster management
│ ├── scale # Scaling
│ └── status-and-monitoring # Status and monitoring
│
├── operations/ # Operations
│ ├── monitoring/ # Metrics monitoring (Prometheus/Grafana)
│ ├── logging/ # Logging (new dedicated section)
│ │ ├── server-logs # Server log configuration and retrieval
│ │ └── tracing # Distributed tracing (Jaeger)
│ ├── upgrade/ # Upgrade procedures
│ ├── backup-restore/ # Data backup and restore
│ ├── security/ # Security hardening (new)
│ └── troubleshooting/ # Troubleshooting (new)
│
└── references/ # Reference
├── node-config/ # Node configuration parameters
│ ├── metasrv-config # Meta service configuration
│ ├── query-config # Query service configuration
│ └── environment-variables
├── admin-users
└── warehouse-sql-commands
Background
The current self-hosted documentation has grown organically and has several structural and content gaps that make it harder for users to find what they need.
Proposed Structure
Design Principles
databend-meta/anddatabend-query/contain operational content only (deploy, manage, monitor)references/node-config/deployment/focuses on how to install, component management belongs in their own sectionsoperations/covers cross-component operations (monitoring, logging, upgrade, security, troubleshooting)logging/is a dedicated section separate frommonitoring/— they serve different purposesContent Mapping (Current → New)
02-deployment/01-deploying-local.mddeployment/docker/deploying-local02-deployment/02-deploying-offline.mddeployment/docker/deploying-offline02-deployment/03-deploying-databend.mddeployment/object-storage/, deploy steps →databend-meta/deploy+databend-query/deploy02-deployment/05-understanding-deployment-modes.mddeployment/overview02-production/01-preparing-storage.mddeployment/object-storage/preparing-storage02-production/02-deploying-databend-on-kubernetes.mddeployment/kubernetes/02-production/03-manage-query-warehouse-through-SQL.mddatabend-query/cluster02-production/10-metasrv-deploy.mddatabend-meta/deploy02-production/16-metasrv-grpc.mddatabend-meta/status-and-monitoring02-production/20-metasrv-add-remove-node.mddatabend-meta/node-manage02-production/30-metasrv-backup-restore.mddatabend-meta/backup-restore02-production/60-metasrv-status.mddatabend-meta/status-and-monitoring02-production/70-metasrv-cli-api.mdreferences/node-config/(CLI reference)02-production/90-benddeploy/deployment/benddeploy/03-operations/monitoring/20-server-logs.mdoperations/logging/server-logs03-operations/monitoring/30-tracing.mdoperations/logging/tracing03-operations/monitoring/(metrics only)operations/monitoring/03-operations/upgrade/operations/upgrade/04-references/node-config/references/node-config/04-references/admin-usersreferences/admin-users04-references/warehouse-sql-commandsreferences/warehouse-sql-commandsMissing Content to Add
deployment/requirements— Hardware/software requirements and environment checklistdeployment/overview— Architecture overview and deployment option comparisondatabend-query/deploy— Query node deployment (currently only mentioned inside the meta deploy doc)databend-query/scale— Query node scalingdatabend-query/status-and-monitoring— Query node status and monitoringoperations/backup-restore— Data-level backup and restore strategyoperations/security— TLS configuration, network isolation, authentication best practicesoperations/troubleshooting— Common errors, log analysis, diagnostic stepsImplementation Plan
02-production/to top-leveldatabend-meta/, merge status + grpc into one page, update all redirects and linksmanage-query-warehouse-through-SQLtodatabend-query/cluster, create stub pages for deploy/scale/status-and-monitoringdocker/subdir, promotebenddeploy/, createobject-storage/section, split03-deploying-databend.mdRelated