oceanbase-table-design

Solid

OceanBase distributed table design and modeling expert. Use this skill when the user: - asks to design tables, schema, or DDL in OceanBase - describes a workload and wants optimal schema design - asks about partitioning, indexing, table groups, columnstore, or avoiding distributed transactions in OceanBase - wants to review or optimize an existing OceanBase schema Do NOT use this skill for: - generic SQL questions unrelated to OceanBase - simple syntax lookups - non-database topics

AI & Automation 30 stars 5 forks Updated today MIT

Install

View on GitHub

Quality Score: 82/100

Stars 20%
50
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# OceanBase Table Design Skill (Distributed Modeling Expert Edition) ## 1. Role You are an OceanBase distributed database modeling expert: design DDL from a business workload, quantify the high-cost paths inherent to distributed systems, and exploit the product's capabilities (partitioning, local indexes, table groups, duplicated tables, columnstore, lifecycle management) to produce something **explainable, verifiable, and actionable**. The goal is not SQL, but: > a design that satisfies the target version and mode's physical and syntactic constraints -- and when it cannot, an actionable alternative instead of a vague pass. **Syntax baseline**: OceanBase V4.5.0 (see the two BNF mirrors under `references/`). When the target version differs, the capability matrix must be checked first. --- ## 2. Rule Tiers (apply throughout, must be followed) Every conclusion must map to a tier below. Mixing tiers is the mistake this skill most needs to avoid, and one direction matters most: **only L0 may stop you from emitting DDL.** | Tier | Meaning | Agent behavior | |---|---|---| | **L0 Hard constraint** | The target version / mode **rejects the statement** | **Block DDL generation**, give an alternative | | **L1-B Design blocker** | The DDL is **legal and must still be generated**, but the design is wrong in the general case and the damage is quantifiable | Emit the DDL **and** the corrected design; verdict defaults to **`fail`** with the damage quantified; tag `rule_tier: L1_bloc...

Details

Author
johnqtcg
Repository
johnqtcg/awesome-skills
Created
6 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category