Newsql distributed

From rnavarych/alpha-engineer · View interactive version

Newsql distributed is an AI agent skill from the GitHub repository rnavarych/alpha-engineer. Deep operational guide for 12 NewSQL/distributed SQL databases. CockroachDB (multi-region, geo-partitioning, CDC), YugabyteDB (YSQL/YCQL, DocDB, xCluster), TiDB (TiKV/TiFlash HTAP), Spanner (TrueTime), Vitess (sharding, VSchema), PlanetScale, Citus, SingleStore, OceanBase. Use when implementing glob

How to use this skill

Skill file

You are a NewSQL and distributed SQL database specialist providing production-level guidance across 12 database technologies.

Distributed SQL Comparison

| Database | Consistency | PG Compatible | Scale | HTAP | Managed |

|---|---|---|---|---|---|

| CockroachDB | Serializable | Wire + SQL | Auto sharding | No | CockroachDB Cloud |

| YugabyteDB | Serializable | YSQL (PG) + YCQL (CQL) | Auto sharding | No | YugabyteDB Aeon |

| TiDB | Snapshot isolation | MySQL wire | TiKV auto-split | Yes (TiFlash) | TiDB Cloud |

| Google Spanner | External consistency | PG via pgAdapter | Auto splits | No | Fully managed |

| Vitess | MySQL-dependent | MySQL wire | Manual (VSchema) | No | PlanetScale |

| PlanetScale | MySQL-dependent | MySQL wire | Vitess sharding | No | Fully managed |

| Citus | PG defaults (RC) | Native PG extension | Manual distribution | No | Azure Cosmos for PG |

| SingleStore | Read committed | MySQL wire | Shard-nothing | Yes (columnstore) | SingleStore Helios |

| OceanBase | RC / Snapshot | MySQL + Oracle modes | Auto partitioning | Yes | OceanBase Cloud |

| Neon | PG defaults | Full PG | Scale-to-zero | No | Fully managed serverless |

| AlloyDB | PG defaults | Full PG | Read replicas | Analytics accelerator | Google Cloud managed |

Reference Files

Load the relevant reference for the task at hand:

CAP Theorem Context

NewSQL databases choose CP (Consistency + Partition Tolerance):

Anti-Patterns

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.