[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6ACSJWW89BC84MF34E59Q4W":3,"skill-same:01M6ACSJWW89BC84MF34E59Q4W":290},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":50,"linkOnly":51,"markdownContent":52,"markdownBody":53,"frontMatter":54,"refName":59,"commitSha":60,"skillDirectory":61,"forksCount":62,"repositoryHtmlUrl":63,"repositoryHomepageUrl":64,"ownerHtmlUrl":65,"ownerBlogUrl":66,"ownerDescription":17,"updatedAt":67,"install":68,"resources":81},"01M6ACSJWW89BC84MF34E59Q4W","doris-best-practices","Apache Doris 表设计最佳实践","Apache Doris table design and cluster sizing best practices. MUST USE when writing, reviewing, or optimizing Doris CREATE TABLE statements, partition\u002Fbucket strategies, data models, or cluster configurations. ALSO MUST USE whenever the doris-architecture-advisor skill produces DDL — apply the Pre-Flight Checklist to every CREATE TABLE before output. Also triggers on any workload design involving: IoT, analytics, dashboard, CDC, time-series, log analysis, real-time warehouse, point query, data platform, or any scenario where table design decisions are being made. Also triggers on replacing or migrating from legacy analytics\u002Fsearch\u002Fserving stacks such as Impala, Kudu, Elasticsearch\u002FES, Greenplum, Presto, HBase, Hive, Hadoop, Redis, or Lambda-style multi-engine data platforms, even when Apache Doris is not named explicitly. Also use when user provides an Apache Doris connection string or asks to get started. Also triggers on slow query investigation, query profiling, runtime performance diagnosis, tablet skew analysis, and table health checks — any scenario where runtime evidence (profile output, tablet distribution) informs optimization. Cluster lifecycle, billing, and networking are managed-service operations, out of scope here — use your platform's cluster-management console for those.","Apache Doris 表设计与集群规模规划最佳实践。在编写、审查或优化 Doris CREATE TABLE 语句、分区\u002F分桶策略、数据模型或集群配置时，必须使用。当 doris-architecture-advisor 技能产出 DDL 时同样必须使用——在输出前对每个 CREATE TABLE 应用预检清单（Pre-Flight Checklist）。在涉及以下任何工作负载设计时同样触发：IoT、分析、仪表盘、CDC、时序数据、日志分析、实时数仓、点查询、数据平台，或任何需要做出表设计决策的场景。在替换或迁移自旧有分析\u002F搜索\u002F服务技术栈（如 Impala、Kudu、Elasticsearch\u002FES、Greenplum、Presto、HBase、Hive、Hadoop、Redis，或 Lambda 架构式的多引擎数据平台）时同样触发，即使未明确提及 Apache Doris。当用户提供 Apache Doris 连接串或询问如何上手时也使用。在慢查询排查、查询性能分析（query profiling）、运行时性能诊断、tablet 倾斜分析和表健康检查时同样触发——即任何由运行时证据（profile 输出、tablet 分布）指导优化的场景。集群生命周期、计费和网络属于托管服务运维操作，不在本技能范围内——请使用所在平台的集群管理控制台处理这些事项。","apache\u002Fdoris-skills","apache","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F47359?v=4","01M6AC83E6K4FDKK7HZ8WNMQKE","The Apache Software Foundation","01M6ACSCMG5B9TTB7694HY14D0",50,"Apache-2.0",null,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdoris-best-practices\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BTGTEHKD89NSZ5CT4Y5AGV","数据工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C771HCQSGSRTDBNNWD8VP7","数据仓库架构设计与优化","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,10,41,42,43,44,45,46,47,48,49],"doris best practices","doris","best practices","console","hive","hadoop","iot","impala","cdc","search","design","networking","create","workload","analytics","architecture","dashboard","performance","writing","2026-11-10 10:12:30",false,"---\nname: doris-best-practices\ndescription: >\n  Apache Doris table design and cluster sizing best practices.\n  MUST USE when writing, reviewing, or optimizing Doris CREATE TABLE statements,\n  partition\u002Fbucket strategies, data models, or cluster configurations.\n  ALSO MUST USE whenever the doris-architecture-advisor skill produces DDL — apply\n  the Pre-Flight Checklist to every CREATE TABLE before output.\n  Also triggers on any workload design involving: IoT, analytics, dashboard, CDC,\n  time-series, log analysis, real-time warehouse, point query, data platform, or\n  any scenario where table design decisions are being made.\n  Also triggers on replacing or migrating from legacy analytics\u002Fsearch\u002Fserving\n  stacks such as Impala, Kudu, Elasticsearch\u002FES, Greenplum, Presto, HBase,\n  Hive, Hadoop, Redis, or Lambda-style multi-engine data platforms, even when\n  Apache Doris is not named explicitly.\n  Also use when user provides an Apache Doris connection string or asks to get started.\n  Also triggers on slow query investigation, query profiling, runtime performance\n  diagnosis, tablet skew analysis, and table health checks — any scenario where\n  runtime evidence (profile output, tablet distribution) informs optimization.\n  Cluster lifecycle, billing, and networking are managed-service operations, out of\n  scope here — use your platform's cluster-management console for those.\nlicense: Apache-2.0\nmetadata:\n  author: tomz-alt\n  version: \"0.1.0\"\n---\n\n# Apache Doris Best Practices\n\n> Problem-first table design intelligence for Apache Doris.\n> 37 rules, 7 use case templates, 4 sizing guides.\n> All details in `references\u002F` directory.\n\n---\n\n## 1 ▸ Problem-First Routing\n\n### I need to build…\n\n| Problem | Template(s) | Key Rules |\n|---------|-------------|-----------|\n| Real-time log\u002Fevent analytics | `usecase-log-event` | DUPLICATE, RANGE partition, dynamic TTL, ZSTD |\n| CDC \u002F MySQL sync to Doris | `usecase-cdc-sync` | UNIQUE MoW, sequence_col, HASH bucket |\n| Dashboard with pre-aggregated metrics | `usecase-dashboard-metrics` | AGGREGATE, BITMAP_UNION, sync MV |\n| User-facing API with low-latency point queries | `usecase-point-query` | UNIQUE MoW, store_row_column, BloomFilter |\n| Star schema with JOIN-heavy analytics | `usecase-star-schema-join` | Colocation, same bucket key\u002Fcount |\n| Small dimension \u002F lookup table | `usecase-dimension-lookup` | DUPLICATE, RANDOM bucket, 3 buckets |\n| Observability (logs + traces + metrics) | `usecase-observability` | 3 tables: DUP logs, DUP traces, AGG metrics |\n| Vehicle\u002Ffleet tracking | `usecase-log-event` + `usecase-point-query` | Time-series + point-query hybrid |\n| E-commerce order analytics | `usecase-star-schema-join` + `usecase-dashboard-metrics` | Star schema + AGG rollups |\n| Full-text search \u002F content search | `schema-index-text-search` | Inverted index, MATCH, BM25 |\n| User behavior \u002F funnel analysis | `schema-types-bitmap-count-distinct` | BITMAP_UNION, bitmap_intersect |\n| Semi-structured JSON data | `schema-types-variant-json` | VARIANT type, schema_template |\n\n### My query is slow after evidence shows…\n\nFor live slow-query or runtime diagnosis, do **not** use this table as the first response. First read `references\u002Fcli-investigation.md` and collect or attempt evidence (`profile get`, `profile list`, `profile history`, `tablet`, `EXPLAIN`, or `auth status`). Use this table only after evidence points to the symptom.\n\n| Symptom | Check These Rules | Quick Fix |\n|---------|------------------|-----------|\n| Full table scan on WHERE clause | `schema-keys-selectivity-first` | Move filtered column to sort key position 1 |\n| JOINs are slow \u002F shuffle | `usecase-star-schema-join` | Small dims (\u003C1GB): broadcast + runtime filter. Large: colocation |\n| COUNT DISTINCT is slow | `schema-types-bitmap-count-distinct` | Switch to BITMAP_UNION aggregation |\n| LIKE '%keyword%' is slow | `schema-index-ngram-for-like` | Add NGram BloomFilter index |\n| Point query latency too high | `usecase-point-query` | Enable store_row_column + Prepared Statement |\n| Storage growing too fast | `schema-partition-auto-on-demand` + `schema-props-compression` | AUTO PARTITION + ZSTD compression + scheduled DROP PARTITION |\n| Sync MV not being used | `schema-mv-sync-rollup` | Use raw columns (not date_trunc) in MV GROUP BY; unique aliases |\n| Async MV rewrite fails | `schema-mv-async-join` + `schema-mv-async-limits` | Check State\u002FRefreshState; query MV directly if predicate fails |\n| Data skew \u002F hot tablets | `schema-bucket-composite-for-skew` | Composite bucket key or RANDOM |\n| Import fails \u002F data version error | `schema-mv-async-limits` | Check concurrent MV refresh limit (max 3) |\n| VARCHAR in key kills perf | `schema-keys-fixed-length-types` | Move VARCHAR after fixed-length types |\n| Writes slow on UNIQUE table | `schema-model-prefer-mow` | Ensure MoW is enabled (not MoR) |\n\n---\n\n## 2 ▸ Pre-Flight Checklist (Before Any CREATE TABLE)\n\nRun through this checklist in order. Each step references the relevant rule:\n\n- [ ] **Data model** — UNIQUE (updates?) vs DUPLICATE (append?) vs AGGREGATE (pre-agg only?) → `schema-model-choose-for-workload`\n- [ ] **Partition strategy** — Time-series? AUTO PARTITION preferred. Small table? Skip. Do NOT combine AUTO with dynamic_partition. → `schema-partition-*`\n- [ ] **Bucket key + count** — HASH on JOIN key. Calculate explicit count: `daily_GB \u002F target_tablet_GB`. Use explicit fallback counts when volume is unknown: 3 for small dimensions, 8 for medium tables, 16-32 for large daily fact tables. → `schema-bucket-*`\n- [ ] **Sort key order** — High-selectivity first, fixed-length before VARCHAR → `schema-keys-*`\n- [ ] **Data types** — Native types, not STRING. DECIMAL not FLOAT. → `schema-types-*`\n- [ ] **Indexes** — BloomFilter for equality, Inverted for text, NGram for LIKE → `schema-index-*`\n- [ ] **Properties** — MoW enabled? Compression? Cloud mode replication_num=1? → `schema-props-*`\n- [ ] **DDL hard constraints** (Apache Doris rejects DDL if any violated):\n  - UNIQUE KEY + PARTITION BY RANGE → partition column MUST be in the UNIQUE KEY: `UNIQUE KEY(id, dt) PARTITION BY RANGE(dt)`\n  - Key columns must be the FIRST N columns in schema, same order — put key cols first, non-key after. Example: `UNIQUE KEY(account_id, symbol)` means schema must start with `account_id, symbol, ...` — never place non-key columns between key columns\n  - `store_row_column = \"true\"` works on UNIQUE MoW and DUPLICATE — NOT on AGGREGATE (Doris rejects AGG: \"Aggregate table can't support row column\"). Verified on 4.x; older versions were UNIQUE-only\n  - AUTO PARTITION requires `date_trunc()` AND empty parens: `AUTO PARTITION BY RANGE(date_trunc(col, 'day')) ()` — bare column name fails, missing `()` fails\n  - Dynamic partition requires explicit `PARTITION BY RANGE(col) ()` clause in DDL — properties alone are not enough\n  - Do not set `dynamic_partition.buckets`; put the numeric count only in `DISTRIBUTED BY HASH(col) BUCKETS N`\n  - `compaction_policy = \"time_series\"` only for DUPLICATE tables — fails on UNIQUE\n  - Async MV refresh: use `REFRESH AUTO ON SCHEDULE EVERY 10 MINUTE` or `REFRESH COMPLETE ON SCHEDULE EVERY 10 MINUTE` — NOT `REFRESH SCHEDULE EVERY`, NOT `REFRESH ASYNC EVERY(INTERVAL ...)`. Minimum interval: 1 MINUTE\n  - MV using `NOW()`\u002F`CURDATE()`: add `PROPERTIES (\"enable_nondeterministic_function\" = \"true\")`\n  - BOOLEAN defaults must be quoted: `DEFAULT \"true\"` not `DEFAULT TRUE`\n  - BloomFilter index: use `PROPERTIES (\"bloom_filter_columns\" = \"col1,col2\")` — NOT inline `INDEX ... USING BLOOM FILTER`\n  - AGGREGATE column syntax: aggregation function BEFORE default: `col BIGINT SUM DEFAULT \"0\"` — NOT `col BIGINT DEFAULT \"0\" SUM`\n  - AGGREGATE `DEFAULT \"null\"` only works for VARCHAR — fails on INT, DATE, DECIMAL, BIGINT. Omit DEFAULT entirely for REPLACE_IF_NOT_NULL on non-string types: `vip_level INT REPLACE_IF_NOT_NULL` (not `DEFAULT \"null\"`)\n  - `enable_unique_key_partial_update` is a session variable, NOT a table property\n  - Full details: `schema-ddl-gotchas`\n\n---\n\n## 2b ▸ DDL Templates (copy the closest match, customize columns)\n\nFor each CREATE TABLE, select the closest template below. Customize column names, types, bucket count, and partition settings. Do NOT write DDL from scratch.\n\n### T1: Append-only events\u002Flogs (DUPLICATE)\n```sql\nCREATE TABLE events (\n    entity_id    VARCHAR(64)  NOT NULL,\n    event_time   DATETIME     NOT NULL,\n    event_type   VARCHAR(50)  NOT NULL,\n    payload      VARIANT\n) DUPLICATE KEY(entity_id, event_time, event_type)\nPARTITION BY RANGE(event_time) ()\nDISTRIBUTED BY HASH(entity_id) BUCKETS 10\nPROPERTIES (\n    \"dynamic_partition.enable\" = \"true\",\n    \"dynamic_partition.time_unit\" = \"DAY\",\n    \"dynamic_partition.start\" = \"-90\",\n    \"dynamic_partition.end\" = \"3\",\n    \"dynamic_partition.prefix\" = \"p\",\n    \"compression\" = \"zstd\",\n    \"compaction_policy\" = \"time_series\",\n    \"replication_num\" = \"1\"\n);\n```\n\n### T2: Updatable with partition (UNIQUE MoW + CDC)\n```sql\nCREATE TABLE orders (\n    order_id     BIGINT       NOT NULL,\n    order_time   DATETIME     NOT NULL,\n    update_time  DATETIME     NOT NULL,\n    status       VARCHAR(20),\n    amount       DECIMAL(18,2)\n) UNIQUE KEY(order_id, order_time)\nPARTITION BY RANGE(order_time) ()\nDISTRIBUTED BY HASH(order_id) BUCKETS 5\nPROPERTIES (\n    \"enable_unique_key_merge_on_write\" = \"true\",\n    \"function_column.sequence_col\" = \"update_time\",\n    \"dynamic_partition.enable\" = \"true\",\n    \"dynamic_partition.time_unit\" = \"DAY\",\n    \"dynamic_partition.start\" = \"-365\",\n    \"dynamic_partition.end\" = \"3\",\n    \"dynamic_partition.prefix\" = \"p\",\n    \"replication_num\" = \"1\"\n);\n```\n\n### T3: Small dimension \u002F lookup (UNIQUE, no partition)\n```sql\nCREATE TABLE dim_product (\n    product_id   INT          NOT NULL,\n    name         VARCHAR(200),\n    category     VARCHAR(50)\n) UNIQUE KEY(product_id)\nDISTRIBUTED BY HASH(product_id) BUCKETS 3\nPROPERTIES (\n    \"enable_unique_key_merge_on_write\" = \"true\",\n    \"replication_num\" = \"1\"\n);\n```\n\n### T4: Pre-aggregated KPIs (AGGREGATE)\n```sql\nCREATE TABLE daily_kpi (\n    stat_date    DATE         NOT NULL,\n    dimension    VARCHAR(50)  NOT NULL,\n    metric_sum   BIGINT       SUM DEFAULT \"0\",\n    metric_max   DOUBLE       MAX DEFAULT \"0\",\n    unique_users BITMAP       BITMAP_UNION\n) AGGREGATE KEY(stat_date, dimension)\nPARTITION BY RANGE(stat_date) ()\nDISTRIBUTED BY HASH(dimension) BUCKETS 3\nPROPERTIES (\n    \"dynamic_partition.enable\" = \"true\",\n    \"dynamic_partition.time_unit\" = \"MONTH\",\n    \"dynamic_partition.start\" = \"-12\",\n    \"dynamic_partition.end\" = \"1\",\n    \"dynamic_partition.prefix\" = \"p\",\n    \"replication_num\" = \"1\"\n);\n```\n\n### T5: Point query \u002F API serving (UNIQUE MoW + row store)\n```sql\nCREATE TABLE user_profiles (\n    user_id      BIGINT       NOT NULL,\n    update_time  DATETIME     NOT NULL,\n    name         VARCHAR(100),\n    data         VARIANT\n) UNIQUE KEY(user_id)\nDISTRIBUTED BY HASH(user_id) BUCKETS 5\nPROPERTIES (\n    \"enable_unique_key_merge_on_write\" = \"true\",\n    \"function_column.sequence_col\" = \"update_time\",\n    \"store_row_column\" = \"true\",\n    \"light_schema_change\" = \"true\",\n    \"replication_num\" = \"1\"\n);\n```\n\n---\n\n## 3 ▸ Connection & CLI\n\nApache Doris speaks the MySQL protocol, so the **always-available** path is any MySQL-compatible client (`mysql`) plus SQL and the FE HTTP REST API. Some distributions also ship an **optional management CLI** (referred to here as `doriscli`) that adds ergonomic profiling and diagnostics commands — use it when your distribution provides one, otherwise use the native path.\n\n### Detect the optional CLI\n\nBefore running any queries, detect whether the CLI binary is available:\n\n1. Check `DORIS_CLI_PATH` env var — if set, use that binary path\n2. `command -v doriscli` — use from PATH\n3. If none available: fall back to `mysql` client (see `references\u002Fstart-*.md`)\n\n### When doriscli is available, prefer it for all operations:\n\n| Task | doriscli Command |\n|------|-----------------|\n| Run SQL | `doriscli sql \"SELECT ...\"` |\n| DDL inspection | `doriscli sql \"SHOW CREATE TABLE db.t\"` |\n| Table\u002Ftablet health | `doriscli tablet db.t` (overview) or `doriscli tablet db.t --detail` |\n| Profile a slow query | `doriscli sql \"SELECT ...\" --profile` → captures query_id |\n| Get query profile | `doriscli profile get \u003Cqid>` or `--full` for complete diagnosis |\n| Compare fast vs slow | `doriscli profile diff \u003Cslow_qid> \u003Cfast_qid>` |\n| Performance trend | `doriscli profile history \u003Csql_pattern> --days 7` |\n| Test connection | `doriscli auth status` |\n| Switch environment | `doriscli use \u003Cname>` |\n\n### Runtime Query Investigation\n\nFor slow queries or runtime performance issues, read `references\u002Fcli-investigation.md`.\n\n- **Evidence first is mandatory**: collect or attempt profile, tablet, DDL, stats, EXPLAIN, history, active-query, or connection evidence before forming hypotheses. If evidence cannot be collected locally, state that and provide the exact commands to run\n- **Prefer existing profiles**: use `profile get \u003Cquery_id>`, `profile list`, or `profile history` before re-executing SQL\n- **Proactive discovery**: for vague slow-query reports, start with `auth status`, `profile list --active`, and recent `profile list` before asking the user for more context\n- **Safety gate**: before running user SQL with `--profile`, check whether it is safe (no DDL, no mutation, no unbounded scan). For unknown, peak-hour, or expensive SQL, run `doriscli sql \"EXPLAIN \u003Cquery>\" --format json` first and ask confirmation or request an existing query_id\n- **Hypotheses, not verdicts**: diagnostic mappings are heuristics. Present evidence, likely cause, what to check next, and when the conclusion may be wrong\n- If doriscli is unavailable, fall back to SQL commands listed in the reference\n- Always use `--format json` for structured agent-readable output\n\n### Quick-start guides\n\n- `references\u002Fstart-self-hosted.md` — Self-hosted \u002F BYOC \u002F on-prem\n- Cloud mode (storage-compute) connection differs only in the HTTP port (8080 vs 8030) — same guide applies\n\n---\n\n## 4 ▸ Cluster Sizing\n\nSizing guides are in:\n- `references\u002Fsizing-fe.md` — FE node sizing\n- `references\u002Fsizing-be-integrated.md` — BE sizing (integrated storage)\n- `references\u002Fsizing-be-cloud.md` — BE sizing (cloud \u002F storage-compute)\n- `references\u002Fsizing-storage-formula.md` — Storage calculation formula\n\n---\n\n## 5 ▸ Rule Index by Category\n\n### Data Model — CRITICAL (4 rules)\n- `schema-model-choose-for-workload` — DUP vs UNIQUE vs AGG decision tree\n- `schema-model-prefer-mow` — Always MoW for UNIQUE tables\n- `schema-model-avoid-agg-for-updates` — AGG cannot UPDATE\u002FDELETE\n- `schema-model-sequence-col-for-cdc` — Sequence column for out-of-order CDC\n\n### Partition Strategy — CRITICAL (4 rules)\n- `schema-partition-range-for-timeseries` — RANGE for time-series\n- `schema-partition-dynamic-ttl` — Dynamic partition for automated TTL\n- `schema-partition-auto-on-demand` — AUTO for sporadic data\n- `schema-partition-skip-for-small` — Skip partitioning under 1 GB\n\n### Bucket Strategy — CRITICAL (5 rules)\n- `schema-bucket-hash-vs-random` — HASH for pruning, RANDOM for DUP only\n- `schema-bucket-high-cardinality-key` — Choose high-cardinality column\n- `schema-bucket-composite-for-skew` — Composite key to fix data skew\n- `schema-bucket-target-size` — Target 1-10 GB per tablet\n- `schema-bucket-cloud-mandatory-hash` — Cloud MoW requires HASH\n\n### Sort Key — CRITICAL (5 rules)\n- `schema-keys-selectivity-first` — High selectivity first\n- `schema-keys-fixed-length-types` — Fixed-length before VARCHAR\n- `schema-keys-prefix-index-limits` — 36 bytes max, VARCHAR terminates it\n- `schema-keys-cluster-key-for-mow` — Cluster key for UNIQUE tables\n- `schema-keys-avoid-float` — No FLOAT\u002FDOUBLE in sort key\n\n### Data Types — HIGH (5 rules)\n- `schema-types-native-vs-string` — Native types, not STRING\n- `schema-types-zonemap-limitations` — JSON\u002FARRAY disable ZoneMap\n- `schema-types-variant-json` — VARIANT for semi-structured JSON\n- `schema-types-bitmap-count-distinct` — BITMAP_UNION for exact count-distinct\n- `schema-types-doris-specifics` — DATETIME precision, VARCHAR vs STRING\n\n### Indexes — HIGH (7 rules)\n- `schema-index-bloomfilter` — BloomFilter for equality\n- `schema-index-inverted` — Inverted for text\u002Frange\n- `schema-index-ngram-for-like` — NGram for LIKE %pattern%\n- `schema-index-bitmap` — Bitmap for medium cardinality\n- `schema-index-vector` — HNSW\u002FIVF for ANN search\n- `schema-index-text-search` — Full-text MATCH + BM25\n\n### Query Acceleration — HIGH (3 rules)\n- `schema-mv-sync-rollup` — Sync MV for single-table aggregation\n- `schema-mv-async-join` — Async MV for multi-table JOIN\n- `schema-mv-async-limits` — Operational limits (50M rows, 3 concurrent)\n\n### Table Properties — HIGH\u002FMEDIUM (2 rules)\n- `schema-props-cloud-forced` — Cloud mode forced properties\n- `schema-props-compression` — LZ4 vs ZSTD compression\n\n### Caching — MEDIUM (2 rules)\n- `schema-cache-file-cache` — File cache for cloud mode\n- `schema-cache-query-partition` — Query and partition cache\n","# Apache Doris Best Practices\n\n> Problem-first table design intelligence for Apache Doris.\n> 37 rules, 7 use case templates, 4 sizing guides.\n> All details in `references\u002F` directory.\n\n---\n\n## 1 ▸ Problem-First Routing\n\n### I need to build…\n\n| Problem | Template(s) | Key Rules |\n|---------|-------------|-----------|\n| Real-time log\u002Fevent analytics | `usecase-log-event` | DUPLICATE, RANGE partition, dynamic TTL, ZSTD |\n| CDC \u002F MySQL sync to Doris | `usecase-cdc-sync` | UNIQUE MoW, sequence_col, HASH bucket |\n| Dashboard with pre-aggregated metrics | `usecase-dashboard-metrics` | AGGREGATE, BITMAP_UNION, sync MV |\n| User-facing API with low-latency point queries | `usecase-point-query` | UNIQUE MoW, store_row_column, BloomFilter |\n| Star schema with JOIN-heavy analytics | `usecase-star-schema-join` | Colocation, same bucket key\u002Fcount |\n| Small dimension \u002F lookup table | `usecase-dimension-lookup` | DUPLICATE, RANDOM bucket, 3 buckets |\n| Observability (logs + traces + metrics) | `usecase-observability` | 3 tables: DUP logs, DUP traces, AGG metrics |\n| Vehicle\u002Ffleet tracking | `usecase-log-event` + `usecase-point-query` | Time-series + point-query hybrid |\n| E-commerce order analytics | `usecase-star-schema-join` + `usecase-dashboard-metrics` | Star schema + AGG rollups |\n| Full-text search \u002F content search | `schema-index-text-search` | Inverted index, MATCH, BM25 |\n| User behavior \u002F funnel analysis | `schema-types-bitmap-count-distinct` | BITMAP_UNION, bitmap_intersect |\n| Semi-structured JSON data | `schema-types-variant-json` | VARIANT type, schema_template |\n\n### My query is slow after evidence shows…\n\nFor live slow-query or runtime diagnosis, do **not** use this table as the first response. First read `references\u002Fcli-investigation.md` and collect or attempt evidence (`profile get`, `profile list`, `profile history`, `tablet`, `EXPLAIN`, or `auth status`). Use this table only after evidence points to the symptom.\n\n| Symptom | Check These Rules | Quick Fix |\n|---------|------------------|-----------|\n| Full table scan on WHERE clause | `schema-keys-selectivity-first` | Move filtered column to sort key position 1 |\n| JOINs are slow \u002F shuffle | `usecase-star-schema-join` | Small dims (\u003C1GB): broadcast + runtime filter. Large: colocation |\n| COUNT DISTINCT is slow | `schema-types-bitmap-count-distinct` | Switch to BITMAP_UNION aggregation |\n| LIKE '%keyword%' is slow | `schema-index-ngram-for-like` | Add NGram BloomFilter index |\n| Point query latency too high | `usecase-point-query` | Enable store_row_column + Prepared Statement |\n| Storage growing too fast | `schema-partition-auto-on-demand` + `schema-props-compression` | AUTO PARTITION + ZSTD compression + scheduled DROP PARTITION |\n| Sync MV not being used | `schema-mv-sync-rollup` | Use raw columns (not date_trunc) in MV GROUP BY; unique aliases |\n| Async MV rewrite fails | `schema-mv-async-join` + `schema-mv-async-limits` | Check State\u002FRefreshState; query MV directly if predicate fails |\n| Data skew \u002F hot tablets | `schema-bucket-composite-for-skew` | Composite bucket key or RANDOM |\n| Import fails \u002F data version error | `schema-mv-async-limits` | Check concurrent MV refresh limit (max 3) |\n| VARCHAR in key kills perf | `schema-keys-fixed-length-types` | Move VARCHAR after fixed-length types |\n| Writes slow on UNIQUE table | `schema-model-prefer-mow` | Ensure MoW is enabled (not MoR) |\n\n---\n\n## 2 ▸ Pre-Flight Checklist (Before Any CREATE TABLE)\n\nRun through this checklist in order. Each step references the relevant rule:\n\n- [ ] **Data model** — UNIQUE (updates?) vs DUPLICATE (append?) vs AGGREGATE (pre-agg only?) → `schema-model-choose-for-workload`\n- [ ] **Partition strategy** — Time-series? AUTO PARTITION preferred. Small table? Skip. Do NOT combine AUTO with dynamic_partition. → `schema-partition-*`\n- [ ] **Bucket key + count** — HASH on JOIN key. Calculate explicit count: `daily_GB \u002F target_tablet_GB`. Use explicit fallback counts when volume is unknown: 3 for small dimensions, 8 for medium tables, 16-32 for large daily fact tables. → `schema-bucket-*`\n- [ ] **Sort key order** — High-selectivity first, fixed-length before VARCHAR → `schema-keys-*`\n- [ ] **Data types** — Native types, not STRING. DECIMAL not FLOAT. → `schema-types-*`\n- [ ] **Indexes** — BloomFilter for equality, Inverted for text, NGram for LIKE → `schema-index-*`\n- [ ] **Properties** — MoW enabled? Compression? Cloud mode replication_num=1? → `schema-props-*`\n- [ ] **DDL hard constraints** (Apache Doris rejects DDL if any violated):\n  - UNIQUE KEY + PARTITION BY RANGE → partition column MUST be in the UNIQUE KEY: `UNIQUE KEY(id, dt) PARTITION BY RANGE(dt)`\n  - Key columns must be the FIRST N columns in schema, same order — put key cols first, non-key after. Example: `UNIQUE KEY(account_id, symbol)` means schema must start with `account_id, symbol, ...` — never place non-key columns between key columns\n  - `store_row_column = \"true\"` works on UNIQUE MoW and DUPLICATE — NOT on AGGREGATE (Doris rejects AGG: \"Aggregate table can't support row column\"). Verified on 4.x; older versions were UNIQUE-only\n  - AUTO PARTITION requires `date_trunc()` AND empty parens: `AUTO PARTITION BY RANGE(date_trunc(col, 'day')) ()` — bare column name fails, missing `()` fails\n  - Dynamic partition requires explicit `PARTITION BY RANGE(col) ()` clause in DDL — properties alone are not enough\n  - Do not set `dynamic_partition.buckets`; put the numeric count only in `DISTRIBUTED BY HASH(col) BUCKETS N`\n  - `compaction_policy = \"time_series\"` only for DUPLICATE tables — fails on UNIQUE\n  - Async MV refresh: use `REFRESH AUTO ON SCHEDULE EVERY 10 MINUTE` or `REFRESH COMPLETE ON SCHEDULE EVERY 10 MINUTE` — NOT `REFRESH SCHEDULE EVERY`, NOT `REFRESH ASYNC EVERY(INTERVAL ...)`. Minimum interval: 1 MINUTE\n  - MV using `NOW()`\u002F`CURDATE()`: add `PROPERTIES (\"enable_nondeterministic_function\" = \"true\")`\n  - BOOLEAN defaults must be quoted: `DEFAULT \"true\"` not `DEFAULT TRUE`\n  - BloomFilter index: use `PROPERTIES (\"bloom_filter_columns\" = \"col1,col2\")` — NOT inline `INDEX ... USING BLOOM FILTER`\n  - AGGREGATE column syntax: aggregation function BEFORE default: `col BIGINT SUM DEFAULT \"0\"` — NOT `col BIGINT DEFAULT \"0\" SUM`\n  - AGGREGATE `DEFAULT \"null\"` only works for VARCHAR — fails on INT, DATE, DECIMAL, BIGINT. Omit DEFAULT entirely for REPLACE_IF_NOT_NULL on non-string types: `vip_level INT REPLACE_IF_NOT_NULL` (not `DEFAULT \"null\"`)\n  - `enable_unique_key_partial_update` is a session variable, NOT a table property\n  - Full details: `schema-ddl-gotchas`\n\n---\n\n## 2b ▸ DDL Templates (copy the closest match, customize columns)\n\nFor each CREATE TABLE, select the closest template below. Customize column names, types, bucket count, and partition settings. Do NOT write DDL from scratch.\n\n### T1: Append-only events\u002Flogs (DUPLICATE)\n```sql\nCREATE TABLE events (\n    entity_id    VARCHAR(64)  NOT NULL,\n    event_time   DATETIME     NOT NULL,\n    event_type   VARCHAR(50)  NOT NULL,\n    payload      VARIANT\n) DUPLICATE KEY(entity_id, event_time, event_type)\nPARTITION BY RANGE(event_time) ()\nDISTRIBUTED BY HASH(entity_id) BUCKETS 10\nPROPERTIES (\n    \"dynamic_partition.enable\" = \"true\",\n    \"dynamic_partition.time_unit\" = \"DAY\",\n    \"dynamic_partition.start\" = \"-90\",\n    \"dynamic_partition.end\" = \"3\",\n    \"dynamic_partition.prefix\" = \"p\",\n    \"compression\" = \"zstd\",\n    \"compaction_policy\" = \"time_series\",\n    \"replication_num\" = \"1\"\n);\n```\n\n### T2: Updatable with partition (UNIQUE MoW + CDC)\n```sql\nCREATE TABLE orders (\n    order_id     BIGINT       NOT NULL,\n    order_time   DATETIME     NOT NULL,\n    update_time  DATETIME     NOT NULL,\n    status       VARCHAR(20),\n    amount       DECIMAL(18,2)\n) UNIQUE KEY(order_id, order_time)\nPARTITION BY RANGE(order_time) ()\nDISTRIBUTED BY HASH(order_id) BUCKETS 5\nPROPERTIES (\n    \"enable_unique_key_merge_on_write\" = \"true\",\n    \"function_column.sequence_col\" = \"update_time\",\n    \"dynamic_partition.enable\" = \"true\",\n    \"dynamic_partition.time_unit\" = \"DAY\",\n    \"dynamic_partition.start\" = \"-365\",\n    \"dynamic_partition.end\" = \"3\",\n    \"dynamic_partition.prefix\" = \"p\",\n    \"replication_num\" = \"1\"\n);\n```\n\n### T3: Small dimension \u002F lookup (UNIQUE, no partition)\n```sql\nCREATE TABLE dim_product (\n    product_id   INT          NOT NULL,\n    name         VARCHAR(200),\n    category     VARCHAR(50)\n) UNIQUE KEY(product_id)\nDISTRIBUTED BY HASH(product_id) BUCKETS 3\nPROPERTIES (\n    \"enable_unique_key_merge_on_write\" = \"true\",\n    \"replication_num\" = \"1\"\n);\n```\n\n### T4: Pre-aggregated KPIs (AGGREGATE)\n```sql\nCREATE TABLE daily_kpi (\n    stat_date    DATE         NOT NULL,\n    dimension    VARCHAR(50)  NOT NULL,\n    metric_sum   BIGINT       SUM DEFAULT \"0\",\n    metric_max   DOUBLE       MAX DEFAULT \"0\",\n    unique_users BITMAP       BITMAP_UNION\n) AGGREGATE KEY(stat_date, dimension)\nPARTITION BY RANGE(stat_date) ()\nDISTRIBUTED BY HASH(dimension) BUCKETS 3\nPROPERTIES (\n    \"dynamic_partition.enable\" = \"true\",\n    \"dynamic_partition.time_unit\" = \"MONTH\",\n    \"dynamic_partition.start\" = \"-12\",\n    \"dynamic_partition.end\" = \"1\",\n    \"dynamic_partition.prefix\" = \"p\",\n    \"replication_num\" = \"1\"\n);\n```\n\n### T5: Point query \u002F API serving (UNIQUE MoW + row store)\n```sql\nCREATE TABLE user_profiles (\n    user_id      BIGINT       NOT NULL,\n    update_time  DATETIME     NOT NULL,\n    name         VARCHAR(100),\n    data         VARIANT\n) UNIQUE KEY(user_id)\nDISTRIBUTED BY HASH(user_id) BUCKETS 5\nPROPERTIES (\n    \"enable_unique_key_merge_on_write\" = \"true\",\n    \"function_column.sequence_col\" = \"update_time\",\n    \"store_row_column\" = \"true\",\n    \"light_schema_change\" = \"true\",\n    \"replication_num\" = \"1\"\n);\n```\n\n---\n\n## 3 ▸ Connection & CLI\n\nApache Doris speaks the MySQL protocol, so the **always-available** path is any MySQL-compatible client (`mysql`) plus SQL and the FE HTTP REST API. Some distributions also ship an **optional management CLI** (referred to here as `doriscli`) that adds ergonomic profiling and diagnostics commands — use it when your distribution provides one, otherwise use the native path.\n\n### Detect the optional CLI\n\nBefore running any queries, detect whether the CLI binary is available:\n\n1. Check `DORIS_CLI_PATH` env var — if set, use that binary path\n2. `command -v doriscli` — use from PATH\n3. If none available: fall back to `mysql` client (see `references\u002Fstart-*.md`)\n\n### When doriscli is available, prefer it for all operations:\n\n| Task | doriscli Command |\n|------|-----------------|\n| Run SQL | `doriscli sql \"SELECT ...\"` |\n| DDL inspection | `doriscli sql \"SHOW CREATE TABLE db.t\"` |\n| Table\u002Ftablet health | `doriscli tablet db.t` (overview) or `doriscli tablet db.t --detail` |\n| Profile a slow query | `doriscli sql \"SELECT ...\" --profile` → captures query_id |\n| Get query profile | `doriscli profile get \u003Cqid>` or `--full` for complete diagnosis |\n| Compare fast vs slow | `doriscli profile diff \u003Cslow_qid> \u003Cfast_qid>` |\n| Performance trend | `doriscli profile history \u003Csql_pattern> --days 7` |\n| Test connection | `doriscli auth status` |\n| Switch environment | `doriscli use \u003Cname>` |\n\n### Runtime Query Investigation\n\nFor slow queries or runtime performance issues, read `references\u002Fcli-investigation.md`.\n\n- **Evidence first is mandatory**: collect or attempt profile, tablet, DDL, stats, EXPLAIN, history, active-query, or connection evidence before forming hypotheses. If evidence cannot be collected locally, state that and provide the exact commands to run\n- **Prefer existing profiles**: use `profile get \u003Cquery_id>`, `profile list`, or `profile history` before re-executing SQL\n- **Proactive discovery**: for vague slow-query reports, start with `auth status`, `profile list --active`, and recent `profile list` before asking the user for more context\n- **Safety gate**: before running user SQL with `--profile`, check whether it is safe (no DDL, no mutation, no unbounded scan). For unknown, peak-hour, or expensive SQL, run `doriscli sql \"EXPLAIN \u003Cquery>\" --format json` first and ask confirmation or request an existing query_id\n- **Hypotheses, not verdicts**: diagnostic mappings are heuristics. Present evidence, likely cause, what to check next, and when the conclusion may be wrong\n- If doriscli is unavailable, fall back to SQL commands listed in the reference\n- Always use `--format json` for structured agent-readable output\n\n### Quick-start guides\n\n- `references\u002Fstart-self-hosted.md` — Self-hosted \u002F BYOC \u002F on-prem\n- Cloud mode (storage-compute) connection differs only in the HTTP port (8080 vs 8030) — same guide applies\n\n---\n\n## 4 ▸ Cluster Sizing\n\nSizing guides are in:\n- `references\u002Fsizing-fe.md` — FE node sizing\n- `references\u002Fsizing-be-integrated.md` — BE sizing (integrated storage)\n- `references\u002Fsizing-be-cloud.md` — BE sizing (cloud \u002F storage-compute)\n- `references\u002Fsizing-storage-formula.md` — Storage calculation formula\n\n---\n\n## 5 ▸ Rule Index by Category\n\n### Data Model — CRITICAL (4 rules)\n- `schema-model-choose-for-workload` — DUP vs UNIQUE vs AGG decision tree\n- `schema-model-prefer-mow` — Always MoW for UNIQUE tables\n- `schema-model-avoid-agg-for-updates` — AGG cannot UPDATE\u002FDELETE\n- `schema-model-sequence-col-for-cdc` — Sequence column for out-of-order CDC\n\n### Partition Strategy — CRITICAL (4 rules)\n- `schema-partition-range-for-timeseries` — RANGE for time-series\n- `schema-partition-dynamic-ttl` — Dynamic partition for automated TTL\n- `schema-partition-auto-on-demand` — AUTO for sporadic data\n- `schema-partition-skip-for-small` — Skip partitioning under 1 GB\n\n### Bucket Strategy — CRITICAL (5 rules)\n- `schema-bucket-hash-vs-random` — HASH for pruning, RANDOM for DUP only\n- `schema-bucket-high-cardinality-key` — Choose high-cardinality column\n- `schema-bucket-composite-for-skew` — Composite key to fix data skew\n- `schema-bucket-target-size` — Target 1-10 GB per tablet\n- `schema-bucket-cloud-mandatory-hash` — Cloud MoW requires HASH\n\n### Sort Key — CRITICAL (5 rules)\n- `schema-keys-selectivity-first` — High selectivity first\n- `schema-keys-fixed-length-types` — Fixed-length before VARCHAR\n- `schema-keys-prefix-index-limits` — 36 bytes max, VARCHAR terminates it\n- `schema-keys-cluster-key-for-mow` — Cluster key for UNIQUE tables\n- `schema-keys-avoid-float` — No FLOAT\u002FDOUBLE in sort key\n\n### Data Types — HIGH (5 rules)\n- `schema-types-native-vs-string` — Native types, not STRING\n- `schema-types-zonemap-limitations` — JSON\u002FARRAY disable ZoneMap\n- `schema-types-variant-json` — VARIANT for semi-structured JSON\n- `schema-types-bitmap-count-distinct` — BITMAP_UNION for exact count-distinct\n- `schema-types-doris-specifics` — DATETIME precision, VARCHAR vs STRING\n\n### Indexes — HIGH (7 rules)\n- `schema-index-bloomfilter` — BloomFilter for equality\n- `schema-index-inverted` — Inverted for text\u002Frange\n- `schema-index-ngram-for-like` — NGram for LIKE %pattern%\n- `schema-index-bitmap` — Bitmap for medium cardinality\n- `schema-index-vector` — HNSW\u002FIVF for ANN search\n- `schema-index-text-search` — Full-text MATCH + BM25\n\n### Query Acceleration — HIGH (3 rules)\n- `schema-mv-sync-rollup` — Sync MV for single-table aggregation\n- `schema-mv-async-join` — Async MV for multi-table JOIN\n- `schema-mv-async-limits` — Operational limits (50M rows, 3 concurrent)\n\n### Table Properties — HIGH\u002FMEDIUM (2 rules)\n- `schema-props-cloud-forced` — Cloud mode forced properties\n- `schema-props-compression` — LZ4 vs ZSTD compression\n\n### Caching — MEDIUM (2 rules)\n- `schema-cache-file-cache` — File cache for cloud mode\n- `schema-cache-query-partition` — Query and partition cache\n",{"name":5,"license":16,"metadata":55,"description":58},{"author":56,"version":57},"tomz-alt","0.1.0","Apache Doris table design and cluster sizing best practices. MUST USE when writing, reviewing, or optimizing Doris CREATE TABLE statements, partition\u002Fbucket strategies, data models, or cluster configurations. ALSO MUST USE whenever the doris-architecture-advisor skill produces DDL — apply the Pre-Flight Checklist to every CREATE TABLE before output. Also triggers on any workload design involving: IoT, analytics, dashboard, CDC, time-series, log analysis, real-time warehouse, point query, data platform, or any scenario where table design decisions are being made. Also triggers on replacing or migrating from legacy analytics\u002Fsearch\u002Fserving stacks such as Impala, Kudu, Elasticsearch\u002FES, Greenplum, Presto, HBase, Hive, Hadoop, Redis, or Lambda-style multi-engine data platforms, even when Apache Doris is not named explicitly. Also use when user provides an Apache Doris connection string or asks to get started. Also triggers on slow query investigation, query profiling, runtime performance diagnosis, tablet skew analysis, and table health checks — any scenario where runtime evidence (profile output, tablet distribution) informs optimization. Cluster lifecycle, billing, and networking are managed-service operations, out of scope here — use your platform's cluster-management console for those.\n","main","3f49b0021e7900d691790da5feec34034826b970","skills\u002Fdoris-best-practices",15,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-skills","https:\u002F\u002Fdoris.apache.org","https:\u002F\u002Fgithub.com\u002Fapache","https:\u002F\u002Fwww.apache.org\u002F","2026-11-14 10:33:10",{"source":9,"skillName":5,"commands":69,"prompt":79,"zipAvailable":80},[70,73,76],{"tool":71,"command":72},"npx","npx skills add apache\u002Fdoris-skills --skill doris-best-practices",{"tool":74,"command":75},"bunx","bunx skills add apache\u002Fdoris-skills --skill doris-best-practices",{"tool":77,"command":78},"pnpm","pnpm dlx skills add apache\u002Fdoris-skills --skill doris-best-practices","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdoris-best-practices\u002FSKILL.md",true,[82,88,92,96,100,104,108,112,116,120,124,128,132,136,140,144,148,152,156,160,164,168,172,176,180,184,188,192,196,200,204,208,212,216,220,224,228,232,236,240,244,248,252,256,260,264,268,272,276,280,284],{"path":83,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":86,"sourceHtmlUrl":87},"references\u002Fcli-investigation.md","REFERENCE","参考文档",17218,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdoris-best-practices\u002Freferences\u002Fcli-investigation.md",{"path":89,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":90,"sourceHtmlUrl":91},"references\u002Fschema-bucket-cloud-mandatory-hash.md",740,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdoris-best-practices\u002Freferences\u002Fschema-bucket-cloud-mandatory-hash.md",{"path":93,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":94,"sourceHtmlUrl":95},"references\u002Fschema-bucket-composite-for-skew.md",1423,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdoris-best-practices\u002Freferences\u002Fschema-bucket-composite-for-skew.md",{"path":97,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":98,"sourceHtmlUrl":99},"references\u002Fschema-bucket-hash-vs-random.md",1639,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdoris-best-practices\u002Freferences\u002Fschema-bucket-hash-vs-random.md",{"path":101,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":102,"sourceHtmlUrl":103},"references\u002Fschema-bucket-high-cardinality-key.md",797,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdoris-best-practices\u002Freferences\u002Fschema-bucket-high-cardinality-key.md",{"path":105,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":106,"sourceHtmlUrl":107},"references\u002Fschema-bucket-target-size.md",1318,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdoris-best-practices\u002Freferences\u002Fschema-bucket-target-size.md",{"path":109,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":110,"sourceHtmlUrl":111},"references\u002Fschema-cache-file-cache.md",784,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdoris-best-practices\u002Freferences\u002Fschema-cache-file-cache.md",{"path":113,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":114,"sourceHtmlUrl":115},"references\u002Fschema-cache-query-partition.md",598,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdoris-best-practices\u002Freferences\u002Fschema-cache-query-partition.md",{"path":117,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":118,"sourceHtmlUrl":119},"references\u002Fschema-ddl-gotchas.md",5029,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdoris-best-practices\u002Freferences\u002Fschema-ddl-gotchas.md",{"path":121,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":122,"sourceHtmlUrl":123},"references\u002Fschema-index-bitmap.md",676,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdoris-best-practices\u002Freferences\u002Fschema-index-bitmap.md",{"path":125,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":126,"sourceHtmlUrl":127},"references\u002Fschema-index-bloomfilter.md",804,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdoris-best-practices\u002Freferences\u002Fschema-index-bloomfilter.md",{"path":129,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":130,"sourceHtmlUrl":131},"references\u002Fschema-index-inverted.md",778,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdoris-best-practices\u002Freferences\u002Fschema-index-inverted.md",{"path":133,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":134,"sourceHtmlUrl":135},"references\u002Fschema-index-ngram-for-like.md",728,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdoris-best-practices\u002Freferences\u002Fschema-index-ngram-for-like.md",{"path":137,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":138,"sourceHtmlUrl":139},"references\u002Fschema-index-text-search.md",1282,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdoris-best-practices\u002Freferences\u002Fschema-index-text-search.md",{"path":141,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":142,"sourceHtmlUrl":143},"references\u002Fschema-index-vector.md",906,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdoris-best-practices\u002Freferences\u002Fschema-index-vector.md",{"path":145,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":146,"sourceHtmlUrl":147},"references\u002Fschema-keys-avoid-float.md",833,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdoris-best-practices\u002Freferences\u002Fschema-keys-avoid-float.md",{"path":149,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":150,"sourceHtmlUrl":151},"references\u002Fschema-keys-cluster-key-for-mow.md",1106,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdoris-best-practices\u002Freferences\u002Fschema-keys-cluster-key-for-mow.md",{"path":153,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":154,"sourceHtmlUrl":155},"references\u002Fschema-keys-fixed-length-types.md",933,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdoris-best-practices\u002Freferences\u002Fschema-keys-fixed-length-types.md",{"path":157,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":158,"sourceHtmlUrl":159},"references\u002Fschema-keys-prefix-index-limits.md",1774,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdoris-best-practices\u002Freferences\u002Fschema-keys-prefix-index-limits.md",{"path":161,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":162,"sourceHtmlUrl":163},"references\u002Fschema-keys-selectivity-first.md",2201,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdoris-best-practices\u002Freferences\u002Fschema-keys-selectivity-first.md",{"path":165,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":166,"sourceHtmlUrl":167},"references\u002Fschema-model-avoid-agg-for-updates.md",1519,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdoris-best-practices\u002Freferences\u002Fschema-model-avoid-agg-for-updates.md",{"path":169,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":170,"sourceHtmlUrl":171},"references\u002Fschema-model-choose-for-workload.md",1505,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdoris-best-practices\u002Freferences\u002Fschema-model-choose-for-workload.md",{"path":173,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":174,"sourceHtmlUrl":175},"references\u002Fschema-model-prefer-mow.md",916,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdoris-best-practices\u002Freferences\u002Fschema-model-prefer-mow.md",{"path":177,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":178,"sourceHtmlUrl":179},"references\u002Fschema-model-sequence-col-for-cdc.md",1216,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdoris-best-practices\u002Freferences\u002Fschema-model-sequence-col-for-cdc.md",{"path":181,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":182,"sourceHtmlUrl":183},"references\u002Fschema-mv-async-join.md",2549,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdoris-best-practices\u002Freferences\u002Fschema-mv-async-join.md",{"path":185,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":186,"sourceHtmlUrl":187},"references\u002Fschema-mv-async-limits.md",1435,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdoris-best-practices\u002Freferences\u002Fschema-mv-async-limits.md",{"path":189,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":190,"sourceHtmlUrl":191},"references\u002Fschema-mv-sync-rollup.md",1836,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdoris-best-practices\u002Freferences\u002Fschema-mv-sync-rollup.md",{"path":193,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":194,"sourceHtmlUrl":195},"references\u002Fschema-partition-auto-on-demand.md",1490,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdoris-best-practices\u002Freferences\u002Fschema-partition-auto-on-demand.md",{"path":197,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":198,"sourceHtmlUrl":199},"references\u002Fschema-partition-dynamic-ttl.md",1407,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdoris-best-practices\u002Freferences\u002Fschema-partition-dynamic-ttl.md",{"path":201,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":202,"sourceHtmlUrl":203},"references\u002Fschema-partition-range-for-timeseries.md",2116,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdoris-best-practices\u002Freferences\u002Fschema-partition-range-for-timeseries.md",{"path":205,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":206,"sourceHtmlUrl":207},"references\u002Fschema-partition-skip-for-small.md",911,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdoris-best-practices\u002Freferences\u002Fschema-partition-skip-for-small.md",{"path":209,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":210,"sourceHtmlUrl":211},"references\u002Fschema-props-cloud-forced.md",405,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdoris-best-practices\u002Freferences\u002Fschema-props-cloud-forced.md",{"path":213,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":214,"sourceHtmlUrl":215},"references\u002Fschema-props-compression.md",534,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdoris-best-practices\u002Freferences\u002Fschema-props-compression.md",{"path":217,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":218,"sourceHtmlUrl":219},"references\u002Fschema-types-bitmap-count-distinct.md",1119,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdoris-best-practices\u002Freferences\u002Fschema-types-bitmap-count-distinct.md",{"path":221,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":222,"sourceHtmlUrl":223},"references\u002Fschema-types-doris-specifics.md",1002,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdoris-best-practices\u002Freferences\u002Fschema-types-doris-specifics.md",{"path":225,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":226,"sourceHtmlUrl":227},"references\u002Fschema-types-native-vs-string.md",695,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdoris-best-practices\u002Freferences\u002Fschema-types-native-vs-string.md",{"path":229,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":230,"sourceHtmlUrl":231},"references\u002Fschema-types-variant-json.md",1270,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdoris-best-practices\u002Freferences\u002Fschema-types-variant-json.md",{"path":233,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":234,"sourceHtmlUrl":235},"references\u002Fschema-types-zonemap-limitations.md",796,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdoris-best-practices\u002Freferences\u002Fschema-types-zonemap-limitations.md",{"path":237,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":238,"sourceHtmlUrl":239},"references\u002Fsizing-be-cloud.md",577,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdoris-best-practices\u002Freferences\u002Fsizing-be-cloud.md",{"path":241,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":242,"sourceHtmlUrl":243},"references\u002Fsizing-be-integrated.md",514,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdoris-best-practices\u002Freferences\u002Fsizing-be-integrated.md",{"path":245,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":246,"sourceHtmlUrl":247},"references\u002Fsizing-fe.md",511,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdoris-best-practices\u002Freferences\u002Fsizing-fe.md",{"path":249,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":250,"sourceHtmlUrl":251},"references\u002Fsizing-storage-formula.md",620,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdoris-best-practices\u002Freferences\u002Fsizing-storage-formula.md",{"path":253,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":254,"sourceHtmlUrl":255},"references\u002Fstart-self-hosted.md",1685,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdoris-best-practices\u002Freferences\u002Fstart-self-hosted.md",{"path":257,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":258,"sourceHtmlUrl":259},"references\u002Fusecase-cdc-sync.md",1792,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdoris-best-practices\u002Freferences\u002Fusecase-cdc-sync.md",{"path":261,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":262,"sourceHtmlUrl":263},"references\u002Fusecase-dashboard-metrics.md",1467,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdoris-best-practices\u002Freferences\u002Fusecase-dashboard-metrics.md",{"path":265,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":266,"sourceHtmlUrl":267},"references\u002Fusecase-dimension-lookup.md",1088,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdoris-best-practices\u002Freferences\u002Fusecase-dimension-lookup.md",{"path":269,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":270,"sourceHtmlUrl":271},"references\u002Fusecase-log-event.md",1859,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdoris-best-practices\u002Freferences\u002Fusecase-log-event.md",{"path":273,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":274,"sourceHtmlUrl":275},"references\u002Fusecase-observability.md",2760,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdoris-best-practices\u002Freferences\u002Fusecase-observability.md",{"path":277,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":278,"sourceHtmlUrl":279},"references\u002Fusecase-point-query.md",1430,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdoris-best-practices\u002Freferences\u002Fusecase-point-query.md",{"path":281,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":282,"sourceHtmlUrl":283},"references\u002Fusecase-star-schema-join.md",2975,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdoris-best-practices\u002Freferences\u002Fusecase-star-schema-join.md",{"path":285,"resourceType":286,"resourceTypeDesc":287,"sizeBytes":288,"sourceHtmlUrl":289},"scripts\u002Fcleanup-state.sh","SCRIPT","脚本",6237,"https:\u002F\u002Fgithub.com\u002Ftoku345\u002Fdotfiles\u002Fblob\u002Fmain\u002Fprivate_dot_codex\u002Fskills\u002Fpr-review-coach\u002Fscripts\u002Fcleanup-state.sh",[291,315,325,350,368,383],{"skillNo":292,"name":293,"nameZh":17,"description":294,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":295,"categories":296,"keywords":297,"publishedAt":50},"01M6M1B6Y0NBNVC1WN8QEVGZ28","doris-pr-description","Write, rewrite, or check the title and description of an Apache Doris pull request against the Doris PR standard. Takes the facts from the handoff file that development left when there is one, and collects them from the diff, commits, linked issue, and existing tests otherwise; classifies the PR type, fills that type's required fields, drafts the issue a Feature needs, validates the draft with a bundled checker, and creates or updates the PR on GitHub only after the user confirms. Use whenever the user wants to open, create, submit, or update a Doris PR; write, fix, or improve a PR title or description; prepare a branch for review; rewrite an existing PR's description for comparison; or check whether a description meets the standard. Also use for short requests in any language, such as \"open a PR\", \"write the PR description\", or \"is this PR description good enough?\", even when the standard is not mentioned.","https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdoris-pr-description\u002FSKILL.md",[],[298,299,32,300,301,302,303,43,304,10,305,306,307,308,309,310,311,312,313,314],"pr","pr description","doris pr description","open","request","updates","update","checker","improve","branch","short","fix","good","only","pr title","submit","review",{"skillNo":316,"name":317,"nameZh":17,"description":17,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":318,"categories":319,"keywords":320,"publishedAt":50},"01M6M1B0334YPC8P5KQ11V0JX8","develop-with-evidence","https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdevelop-with-evidence\u002FSKILL.md",[],[321,322,323,324],"develop with evidence","with","evidence","develop",{"skillNo":326,"name":327,"nameZh":328,"description":329,"descriptionZh":330,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":331,"categories":332,"keywords":339,"publishedAt":50},"01M6ACTH4YX29N7GXTT61H6WTK","doris-repo-review","Doris PR 代码审查","Review an Apache Doris PR from a local clone with the same multi-agent, shared-ledger convergence workflow as the CI Code Review Runner. Use when the user supplies a PR to `\u002Fdoris-repo-review`, asks to review a Doris PR locally, or asks for the CI-style review flow. Safely align only the current worktree to the exact PR head, refuse to disturb tracked local changes, write equivalent English and Chinese review documents with verified path-line anchors, and never build, test, or edit source. Treat a review as pipeline-equivalent only when an explicitly selected qualified reviewer uses a supported effort (xhigh or max, plus ultra for Codex), preferring GPT-6 Astra on Codex and Fable 5.1 on Claude Code. After a converged APPROVE result, automatically post one machine-readable PASS comment bound to the reviewed commit.","从本地 clone 审查 Apache Doris PR，使用与 CI Code Review Runner 相同的多智能体、共享账本收敛工作流。当用户提供一个 PR 给 `\u002Fdoris-repo-review`、要求在本地审查 Doris PR，或要求 CI 风格的审查流程时使用。安全地仅将当前 worktree 对齐到确切的 PR head，拒绝干扰已跟踪的本地更改，编写对等的英文和中文审查文档并附带经过验证的路径行锚点，绝不构建、测试或编辑源码。只有在明确选择合格审查者并使用受支持的 effort（xhigh 或 max，Codex 另支持 ultra）时，才将审查视为等同流水线；Codex 上优先 GPT-6 Astra，Claude Code 上优先 Fable 5.1。在收敛出 APPROVE 结果后，自动发布一条绑定到被审查 commit 的机器可读 PASS 评论。","https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdoris-repo-review\u002FSKILL.md",[333,336],{"categoryNo":334,"categoryName":335,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师",{"categoryNo":337,"categoryName":338,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BR5V701HCN066VEP7H4812","代码仓库协作管理",[340,32,314,10,341,342,343,344,345,346,298,347,348,349],"doris repo review","codex","code review","workflow","test","commit","documents","code","gpt","worktree",{"skillNo":351,"name":352,"nameZh":353,"description":354,"descriptionZh":355,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":356,"categories":357,"keywords":364,"publishedAt":50},"01M6ACTEQZ2S4PDZ2MW3C12HJ4","doris-profile-reader","Doris 查询 Profile 性能分析","Interpret Apache Doris query runtime profiles, especially profile bottleneck triage, misleading wait counters, per-operator metric priority, scan, join-order\u002Fruntime-filter analysis, and evidence-bounded performance explanations. Use when given a Doris profile, query id, profile URL\u002Ftext, or a request to explain Doris query performance.","解读 Apache Doris 查询运行时 profile，尤其包括 profile 瓶颈分诊、误导性等待计数器、每算子指标优先级、扫描、join 顺序\u002F运行时过滤分析，以及基于证据的性能解释。当给定 Doris profile、query id、profile URL\u002F文本，或要求解释 Doris 查询性能时使用。","https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdoris-profile-reader\u002FSKILL.md",[358,361],{"categoryNo":359,"categoryName":360,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BRSRYQ3M8N5063NNQPF2B1","调试与故障排查",{"categoryNo":362,"categoryName":363,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8C0TB31G8AP3NPCQDCRXCW2","数据库管理员",[365,32,48,366,10,367],"doris profile reader","triage","operator",{"skillNo":369,"name":370,"nameZh":371,"description":372,"descriptionZh":373,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":374,"categories":375,"keywords":378,"publishedAt":50},"01M6ACTCZC9VCV91Q0RVNZC2R5","doris-debug-tablet","Doris Tablet 故障诊断","Use for Doris tablet\u002Freplica health, version skew, clone backlog, disk balance, and tablet repair. Commands: SHOW PROC tablet_health, SHOW TABLET, ADMIN REPAIR.","用于 Doris tablet\u002F副本健康、版本倾斜、克隆积压、磁盘均衡以及 tablet 修复。命令：SHOW PROC tablet_health、SHOW TABLET、ADMIN REPAIR。","https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdoris-debug\u002Ftablet\u002FSKILL.md",[376,377],{"categoryNo":359,"categoryName":360,"taxonomyType":28,"taxonomyTypeDesc":29},{"categoryNo":362,"categoryName":363,"taxonomyType":23,"taxonomyTypeDesc":24},[379,32,380,381,382],"doris debug","doris debug tablet","debug","admin",{"skillNo":384,"name":385,"nameZh":386,"description":387,"descriptionZh":388,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":389,"categories":390,"keywords":393,"publishedAt":50},"01M6ACTAVGGVYTAWTPMMZYS71J","doris-debug-resource-isolation","Doris 资源隔离调试","Use for Doris Workload Group \u002F resource tag queue starvation, CPU\u002Fmemory isolation leaks, and workload policy debugging. Commands: SHOW WORKLOAD GROUPS, EXPLAIN resource.","用于 Doris Workload Group \u002F 资源标签队列饥饿、CPU\u002F内存隔离泄漏以及工作负载策略调试。命令：SHOW WORKLOAD GROUPS、EXPLAIN resource。","https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdoris-debug\u002Fresource-isolation\u002FSKILL.md",[391,392],{"categoryNo":359,"categoryName":360,"taxonomyType":28,"taxonomyTypeDesc":29},{"categoryNo":362,"categoryName":363,"taxonomyType":23,"taxonomyTypeDesc":24},[381,32,379,394,395,44,396,397],"doris debug resource isolation","memory","debugging","policy"]