Huawei Cloud Dws Spec Planner logo

Huawei Cloud Dws Spec Planner

Organization
huaweicloud
huawei-cloud-dws-spec-planner

Huawei Cloud DWS data warehouse configuration planning and sizing. Supports coupled/decoupled architecture, outputs minimum-spec plan and multi-sheet Excel report. Automatically calculates CPU cores, storage capacity, and generates structured report. Applicable to DWS cluster planning, node spec selection, data warehouse migration, capacity planning, and scale-out scenarios. Trigger words: "DWS planning", "DWS sizing", "DWS cluster planning", "DWS node spec", "data warehouse migration to DWS", "DWS scale-out", "DWS capacity planning", "DWS规划", "DWS选型", "DWS集群规划", "DWS节点规格", "数据仓库迁移DWS", "存算一体", "存算分离", "DWS扩容", "DWS容量规划"

Overview

Publisherhuaweicloud
Repositoryhuaweicloud-skills
Skill namehuawei-cloud-dws-spec-planner
Stars
59
Forks
24
Bundled files
12
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 12 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by huaweicloud on GitHub. Read the source before you install it.

Installation

Install the Huawei Cloud Dws Spec Planner AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/huaweicloud/huaweicloud-skills/tree/master/skills/bigdata/dws/huawei-cloud-dws-spec-planner
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/huaweicloud/huaweicloud-skills.git /tmp/huaweicloud-skills
mkdir -p .claude/skills
cp -r /tmp/huaweicloud-skills/skills/bigdata/dws/huawei-cloud-dws-spec-planner .claude/skills/huawei-cloud-dws-spec-planner
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Huawei Cloud Dws Spec Planner in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Huawei Cloud Dws Spec Planner on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Huawei Cloud Dws Spec Planner is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Huawei Cloud DWS Data Warehouse Configuration Planning and Sizing

Trigger Words

Chinese triggers: "DWS规划", "DWS选型", "DWS集群规划", "DWS节点规格", "数据仓库迁移DWS", "华为云DWS", "Data Warehouse Service", "DWS sizing", "存算一体", "存算分离", "日增数据量", "DWS扩容", "DWS容量规划"

English triggers: "DWS planning", "DWS sizing", "DWS cluster planning", "DWS node spec", "data warehouse migration to DWS", "Huawei Cloud DWS", "Data Warehouse Service", "coupled storage-compute", "decoupled storage-compute", "daily incremental data", "DWS scale-out", "DWS capacity planning"

Overview

Based on migration or greenfield scenarios, configuration planning is performed for both coupled and decoupled storage-compute architecture modes. The skill outputs one minimum-spec plan that satisfies requirements (minimum compute surplus under constraints), along with storage growth reserve and scale-out cadence recommendations based on daily incremental data. Functional boundary: requirement survey -> architecture mode confirmation -> CPU core calculation -> minimum-spec flavor selection -> hot data storage/cache capacity calculation -> (optional) growth reserve and scale-out cadence -> report output -> Excel generation.

Security rule: Specifications are sourced from Huawei Cloud official document dws_01_00018 (updated 2026-07-31). Scripts must be executed via skill action=exec; direct shell execution is prohibited.

Prerequisites

  • Python3 + openpyxl (pip install openpyxl)

Workflow

Phase 1: Requirement Survey

Collect the following key information (8 required + 2 optional):

CategorySurvey ItemDescription
Scenario typeMigration / GreenfieldDetermines CPU core calculation method
Data volumeTotal data to warehouse (GB/TB)Basis for CPU core and storage capacity calculation
Daily incremental (optional)Daily average new data (GB/day)Storage growth reserve and scale-out cadence; does not change node spec
Retention period (optional)Retention cycle (months)Growth prediction enabled only when daily incremental is also provided
Competitor infoCompetitor CPU total, memory ratioMigration scenario only; matching configuration
Source cluster survey (v2.4.0)MPP cluster scale and utilization (5 groups, 20 questions)Calibrate matching cores and hot data criteria when migrating or taking over source workload
WorkloadCompute-intensive or notGreenfield scenario +30% cores
Query characteristicsMany point queries or notIndex space +30%~50%
Architecture modeCoupled / DecoupledDetermines storage calculation method and high watermark
Cache strategyCost-optimized / Performance-optimized / Hot window N days / Custom hot data volumeDecoupled only (v2.3.0)
Deployment regionTarget regionFlavor availability

Source cluster survey checklist: references/source-cluster-survey.md

Phase 2: Architecture Mode Confirmation

ArchitectureApplicable ScenarioHigh WatermarkCache Strategy
Coupled<20TB, high performance70%N/A (all data on local SSD)
Decoupled>=20TB or low hot data ratio / fast growth80%Cost-optimized 50% / Performance-optimized 100% / Hot window N days / Custom (v2.3.0)

Storage calculation rules: references/storage-calculation.md

Phase 3: CPU Core Calculation

  • Migration scenario: Total CPU = competitor CPU total (matching configuration); memory ratio follows competitor; when competitor cores not provided, fallback to ceil(data volume/100GB)
  • Greenfield scenario: Base cores = ceil(total warehouse data/100GB); compute-intensive x1.3 (memory ratio 1:8), otherwise 1:4
  • Both decoupled and coupled use total warehouse data for CPU derivation (v2.5.1); cache ratio only affects storage/cache capacity allocation, not CPU cores
  • Constraints: single node >=16vCPU/64GB, node count >=3 (high availability)
  • Daily incremental data does not participate in CPU/node derivation; only used for Phase 5 growth reserve

Full CPU calculation logic: references/cpu-sizing-algorithm.md

Phase 4: Node Flavor Planning (Single Minimum-Spec Plan)

Iterate through DWS dedicated flavor catalog (dwsx2/dwsx3/dwsax3 series), satisfying hard constraints (>=16 cores/>=64GB/>=3 nodes), select the combination with minimum compute surplus (nodes + storage). Selection rationale is auto-generated via four-step formula chain: (1) compute derivation -> (2) memory ratio -> (3) concurrency/HA -> (4) storage verification.

Flavor catalog: references/ecs-flavor-catalog.md Selection algorithm: references/single-plan-algorithm.md

Phase 5: Storage Capacity Calculation and Growth Reserve

  1. Storage capacity (based on current warehouse volume):

    • Coupled: Effective capacity = total / high watermark (70%); many point queries x(1+index%); per node = ceil(total/nodes, round up to 100GB)
    • Decoupled: Hot data calculated by cache policy -> effective cache = hot data / high watermark (80%) -> same as above
    • Cache policy priority: custom (custom hot data volume) > window (hot window N days) > cost/performance (50%/100%)
  2. Growth reserve (optional, requires both daily incremental + retention period):

    • Planning period new data = daily incremental x 30 days/month x retention months; end-of-period total = current + new
    • Scale-out line (90% utilization) capacity -> net growth headroom -> estimated scale-out time point
    • Growth prediction does not change recommended spec; only outputs scale-out recommendations

Growth calculation and Excel template: references/excel-report-template.md

Phase 6: Report Output

Generate structured Markdown report + 5-sheet Excel report:

SheetNameContent
1Config Recommendation OverviewSingle plan summary + detailed spec
2Resource and Storage CalculationCPU derivation + storage capacity calculation process
3Selection Decision RationaleDecision points + candidate flavor comparison table
4Capacity Growth and Scale-out RecommendationsDaily incremental x retention period -> scale-out time point
5Decoupled OBS SpecOBS capacity calculation

Common scenarios: references/sizing-scenarios.md

Output Rules

  • Output only one plan (minimum spec satisfying requirements, minimum compute surplus); no Plan A/B comparison
  • CPU/nodes derived from current warehouse volume; daily incremental does not inflate initial spec (minimum spec philosophy)
  • Both decoupled and coupled CPU calculated from total warehouse data (v2.5.1); cache ratio only affects storage/cache capacity allocation
  • Missing info handled with defaults but must be annotated (e.g., index space default +30%, cache strategy default performance-optimized 100%)
  • Excel report must generate 5 sheets; when daily incremental and retention period not provided, Sheet 4 outputs N/A
  • Key decision points must be proactively asked: scenario type, data volume, competitor CPU/memory ratio, compute-intensive, point queries, architecture mode, cache strategy, deployment region

Core Commands

Report Generation

bash
python scripts/generate_dws_report.py

File naming: DWS_Sizing_Report_<YYYYMMDD>.xlsx

Parameter Confirmation

ParameterRequired/OptionalDescriptionDefault
Scenario typeRequiredMigration / Greenfield; determines CPU core calculation methodN/A
Total warehouse dataRequiredGB/TB; basis for CPU core and storage capacity calculationN/A
Competitor CPU total and memory ratioConditionalMigration scenario only; matching configuration; fallback to ceil(data/100GB) when not providedUses fallback formula when not provided
Source cluster surveyConditionalCalibrate matching cores and hot data caliber when migratingN/A
WorkloadRequiredCompute-intensive or not; greenfield compute-intensive x1.3Non-compute-intensive
Query characteristicsRequiredMany point queries or not; index space +30%~50%Default +30% with annotation
Architecture modeRequiredCoupled / Decoupled; determines storage calculation and high watermarkN/A
Cache strategyConditionalDecoupled only; cost-optimized 50% / performance-optimized 100% / hot window N days / custom hot data volumePerformance-optimized 100%
Deployment regionRequiredTarget regionN/A
Daily incremental dataOptionalDaily new data GB/day; for storage growth reserve and scale-out cadence only; does not change node specN/A
Data retention periodOptionalRetention cycle (months); growth prediction enabled only when daily incremental also providedN/A

Notes

  1. Production single node >= 16vCPU and >= 64GB (hard requirement); node count >= 3 (high availability)
  2. DWS != general ECS: Uses dedicated flavor names (dwsx2/dwsx3/dwsax3 etc.); cannot use MRS aC9/ac7
  3. Migration scenario cores: Match competitor cores; no hard >=96 floor; when competitor cores not provided, fallback to ceil(data volume/100GB)
  4. CPU-memory ratio: Migration follows competitor; greenfield non-compute-intensive -> 1:4, compute-intensive -> 1:8
  5. CPU derived from current warehouse volume: Daily incremental does not inflate initial spec; both decoupled and coupled use total warehouse data (v2.5.1); cache ratio does not affect CPU
  6. Coupled high watermark 70% (SSS cloud disk), decoupled high watermark 80% (local cache disk)
  7. Index space: Many point queries +30%~50%; default +30% with annotation
  8. Cache policy (v2.3.0): cost -> total x50%, performance -> total x100% (default), window -> min(daily incremental x N, total), custom -> given value (<= total)
  9. Storage/cache capacity: Configured disk size = actual usable capacity; no replica space reservation needed
  10. Source survey caliber (v2.4.0): (1) Distinguish logical volume vs physical volume with replicas (Doris default 3 replicas); (2) Matching cores calculated from source CPU utilization; (3) Memory ratio based on DWS query profile, not copied from source

References

DocumentDescription
Acceptance CriteriaSpec output acceptance criteria
CPU Sizing AlgorithmCPU core calculation algorithm (migration/greenfield)
ECS Flavor CatalogDWS dedicated flavor catalog (dwsx2/dwsx3/dwsax3 series 1:4/1:8)
IAM PoliciesIAM permission requirements (no API permissions needed for this planning skill)
Single Plan AlgorithmSingle-plan minimum-spec selection algorithm and candidate comparison
Storage CalculationStorage capacity calculation (coupled/decoupled, high watermark, index space)
Excel Report TemplateExcel report template and report_data data structure
Sizing ScenariosCommon planning scenarios (Scenario A-F, with daily incremental growth examples)
Source Cluster SurveySource cluster survey checklist (5 groups, 20 items, v2.4.0)
Verification MethodsOutput verification and validation methods

Code Structure

text
scripts/
└── generate_dws_report.py          # Excel report generation (5 sheets, single plan + growth analysis)
references/
├── acceptance-criteria.md          # Spec output acceptance criteria
├── cpu-sizing-algorithm.md         # CPU core calculation algorithm (migration/greenfield)
├── ecs-flavor-catalog.md           # DWS dedicated flavor catalog (dwsx2/dwsx3/dwsax3 series 1:4/1:8)
├── excel-report-template.md        # Excel report template and report_data data structure
├── iam-policies.md                 # IAM permission requirements (no API permissions needed)
├── single-plan-algorithm.md        # Single-plan minimum-spec selection algorithm and candidate comparison
├── sizing-scenarios.md             # Common planning scenarios (Scenario A-F, with daily incremental growth examples)
├── source-cluster-survey.md        # Source cluster survey checklist (5 groups, 20 items, v2.4.0)
├── storage-calculation.md          # Storage capacity calculation (coupled/decoupled, high watermark, index space)
└── verification-method.md          # Output verification and validation methods

Verification

  • Execute python scripts/generate_dws_report.py to generate Excel report; confirm 5 sheets output (Config Recommendation Overview / Resource and Storage Calculation / Selection Decision Rationale / Capacity Growth and Scale-out Recommendations / Decoupled OBS Spec)
  • Verify recommended spec satisfies hard constraints: single node >= 16vCPU and >= 64GB, node count >= 3
  • Verify decoupled scenario CPU calculated from total warehouse data (same as coupled); cache ratio adjustment does not affect CPU cores
  • Confirm daily incremental data does not inflate initial spec (only used for Phase 5 growth reserve)

Best Practices

  • DWS uses dedicated flavor names (dwsx2/dwsx3/dwsax3); cannot use MRS aC9/ac7 general-purpose ECS flavors
  • Decoupled suitable for >=20TB or low hot data ratio / fast growth scenarios; coupled suitable for <20TB high-performance scenarios
  • Cache policy priority: custom > window > cost/performance; select based on business hot data characteristics
  • Source survey distinguishes logical volume vs physical volume with replicas (Doris default 3 replicas); matching cores calculated from CPU utilization
  • Daily incremental data does not change node spec; only affects scale-out cadence recommendations

Edge Cases

  • DWS dedicated flavors: DWS uses dedicated PaaS flavor names (dwsx2/dwsx3/dwsax3 etc.); cannot use general-purpose ECS flavors (e.g., MRS aC9/ac7); must confirm target region DWS flavor availability before sizing
  • Architecture switch: Decoupled suitable for >=20TB or low hot data ratio / fast growth; coupled suitable for <20TB high performance. When switching architecture, CPU calculation caliber unchanged (both use total warehouse data); only storage/cache capacity calculation changes (total -> hot data volume)
  • Daily incremental boundary: Daily incremental does not participate in CPU/node derivation; only used for Phase 5 growth reserve and scale-out cadence. When daily incremental + retention period not provided, Sheet 4 outputs N/A
  • Missing info handling: Missing info handled with defaults but must be annotated (index space default +30%, cache strategy default performance-optimized 100%); silent use of defaults is not allowed
  • Source survey caliber distinction: Migration scenario must distinguish logical volume vs physical volume with replicas (e.g., Doris default 3 replicas); matching cores calculated from source CPU utilization; memory ratio based on DWS query profile, not copied from source
  • Cache policy priority conflict: custom > window > cost/performance; when multiple strategies provided, use by priority; explain actual effective strategy to user
  • Very small data volume: When data <100GB, fallback to ceil(data/100GB) = 1 core; but constrained by single node >=16vCPU hard requirement; actual minimum spec is 16 cores

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Huawei Cloud Dws Spec Planner AI skill do?

Huawei Cloud DWS data warehouse configuration planning and sizing. Supports coupled/decoupled architecture, outputs minimum-spec plan and multi-sheet Excel report. Automatically calculates CPU cores, storage capacity, and generates structured report. Applicable to DWS cluster planning, node spec selection, data warehouse migration, capacity planning, and scale-out scenarios. Trigger words: "DWS planning", "DWS sizing", "DWS cluster planning", "DWS node spec", "data warehouse migration to DWS", "DWS scale-out", "DWS capacity planning", "DWS规划", "DWS选型", "DWS集群规划", "DWS节点规格", "数据仓库迁移DWS", "存算...

Why use Huawei Cloud Dws Spec Planner on TypingMind?

Because you install it once and use it with any model. Huawei Cloud Dws Spec Planner is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Huawei Cloud Dws Spec Planner in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/huaweicloud/huaweicloud-skills/tree/master/skills/bigdata/dws/huawei-cloud-dws-spec-planner. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Huawei Cloud Dws Spec Planner?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Huawei Cloud Dws Spec Planner?

As many as you like. As long as a model supports skills, you can use Huawei Cloud Dws Spec Planner with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Huawei Cloud Dws Spec Planner AI skill free?

Yes. It is published on GitHub by huaweicloud under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇