
Skill
doris-debug
diagnose Apache Doris production issues
Description
Apache Doris production diagnostics router. Use when Apache Doris queries are slow, imports are failing or timing out, compaction is raising -235 errors, nodes are OOM or crashing, materialized views are not rewriting, or tablet/replica health is degraded. Routes to the appropriate doris-debug-* skill. Covers shared-nothing and cloud (storage-compute separation) deployments.
SKILL.md
Doris Debug Router
How to use
- Identify the symptom domain from the table below.
- Read
shared/references/01-common-commands.mdfor diagnostic SQL and API commands. - Read
shared/references/02-source-map.mdto map symptoms to Apache Doris source code locations. - Open the target skill (
<domain>/SKILL.md) and follow its cause table and decision tree. - Check
shared/references/03-case-index.mdfor matching production case patterns.
Skill routing
| Symptom | Skill |
|---|---|
| Slow / timeout / hanging query, Profile analysis, Exchange WaitForData | query/SKILL.md |
| Stream Load / Broker Load / Routine Load failure, Group Commit WAL pile-up | import/SKILL.md |
| -235 / too many versions, compaction score high, compaction lag | compaction/SKILL.md |
| BE/FE OOM, crash, false Alive, memory leak | node/SKILL.md |
| Sync MV miss, async MTMV refresh/rewrite issues | materialized-view/SKILL.md |
| Tablet replica missing, clone backlog, disk skew, tablet repair | tablet/SKILL.md |
| FE/BE startup failure, port conflict, priority_networks misconfig | deployment/SKILL.md |
| Hive/Iceberg/Paimon/Glue catalog query failure, metadata refresh, S3/HDFS connectivity | data-lake/SKILL.md |
| Workload Group queue starvation, CPU/memory isolation leaks, spill issues | resource-isolation/SKILL.md |
| Storage-compute separation, meta-service latency, file cache, warmup | cloud/SKILL.md |
Shared references
| Document | Content |
|---|---|
shared/references/01-common-commands.md | Diagnostic SQL, HTTP API, and CLI commands |
shared/references/02-source-map.md | Symptom → Doris source code mapping (with version annotations) |
shared/references/03-case-index.md | 45 production case summaries across 8 domains |
shared/references/04-metrics-guide.md | Per-domain key metrics with thresholds |
shared/references/05-config-quick-ref.md | Per-domain key configuration parameters with tuning guidance |
shared/guides/ | Cross-module cascade troubleshooting |
Companion skills
doris-profile-reader: Deep Profile analysis for query bottlenecks (referenced byquery/SKILL.mdCause C — BE compute bottleneck).doris-best-practices: Preventive table design and configuration guidance.doris-architecture-advisor: Workload-aware architecture decisions.
Methodology
- Client → FE → BE → Disk/Network top-down investigation
- Logs / Metrics / Profile /
SHOW PROCevidence first - Stop the bleeding (throttle, kill,
reset_rpc_channel) before root cause - Verify hypotheses against Doris source code (
02-source-map.md) - Match known case patterns (
03-case-index.md) to avoid rediscovery
More skills from the doris-skills repository
View all 14 skillsdoris-architecture-advisor
design Apache Doris data architectures
Jul 12ArchitectureData EngineeringData PipelineDatabasedoris-best-practices
optimize Apache Doris table design and clusters
Jul 12DatabaseEngineeringPerformancedoris-debug-cloud
debug Apache Doris cloud mode issues
Jul 25CloudDebuggingPerformancedoris-debug-compaction
resolve Apache Doris compaction lag
Jul 25DatabaseDebuggingPerformancedoris-debug-data-lake
debug Apache Doris data lake connectivity
Jul 25Data EngineeringDatabaseDebuggingdoris-debug-deployment
troubleshoot Apache Doris deployment failures
Jul 25DebuggingDeploymentOperations
More from Apache Software Foundation
View publisherdatafusion-python
write Apache DataFusion Python code
datafusion-python
Jul 12Data AnalysisPythonSQLbydbql
generate and execute BanyanDB BydbQL queries
skywalking-banyandb
Jul 12AnalyticsDatabaseSQLcompiling
compile and build BanyanDB projects
skywalking-banyandb
Jul 12BuildEngineeringgh-pull-request
create GitHub pull requests for BanyanDB
skywalking-banyandb
Jul 12GitHubPull Requestsvendor-update
update Go and Node.js vendor dependencies
skywalking-banyandb
Jul 12GoNode.jscayenne-cgen
generate Cayenne entity Java classes
cayenne
Jul 12Data ModelingJavaORM