Skip to main content
Sharded PlanetScale Postgres is currently in development. This page will be updated as Neki becomes available. Check back regularly or join the waitlist to stay informed.

Introducing Neki

Neki is sharded Postgres by the team that operates some of the largest sharded Vitess clusters in the world. We’re building Neki in close collaboration with design partners who already operate Postgres at significant scale. Neki is architected from first principles to bring Vitess-level scale and reliability to Postgres workloads. Vitess transformed MySQL sharding from an operational nightmare into an accessible, proven technology. It powers some of the largest sites on the internet: Slack, GitHub, Square, and hundreds more. Neki is being built from first principles to bring this same power to Postgres. Neki is not a fork of Vitess. Vitess succeeds by leveraging MySQL’s strengths and engineering around its weaknesses. Postgres is a fundamentally different database with its own architecture, replication model, and operational characteristics. To achieve Vitess-level capabilities for Postgres, we’re building from scratch — applying everything we’ve learned from years of operating sharded databases at massive scale.

Read the announcement

Learn why we’re building Neki and what it means for Postgres scaling.

Proven expertise at scale

Deep experience running Vitess-backed workloads in production.

Built from first principles

Postgres-first architecture — not a MySQL port.

Operational knowledge baked in

Built by engineers who operate sharded clusters every day.

Neki features at a glance

  • Horizontal sharding for Postgres — Scale beyond a single database instance by distributing data and load across multiple nodes.
  • Operational simplicity — Automation-first design aimed at reducing toil and operational complexity common in hand-rolled sharding.
  • Production-informed architecture — Failure handling, query routing, connection pooling, and distributed transaction patterns informed by operating sharded systems at scale.

Why sharding matters

Horizontal sharding means splitting your data across multiple database instances (often called shards) so that each instance holds a subset of rows or partitions. Applications route queries to the right shard based on a shard key or routing layer. That differs from vertical scaling, where you add CPU, memory, or faster storage to a single server. Vertical scaling eventually hits practical ceilings on disk size and write throughput on one primary, and widens the blast radius when that node fails. While a well-tuned single Postgres instance can scale further than many expect, horizontal sharding becomes the right choice when you need the benefits below — distributing load and data across several instances rather than growing one machine alone:
  • Scale beyond single-instance limits — Handle multi-TB datasets and hundreds of thousands of queries per second
  • Improve write performance — Distribute write load across multiple primary instances
  • Reduce single points of failure — Isolate failures to individual shards rather than your entire dataset
  • Improve tenant isolation — Isolate large or “noisy” customers so their workloads cannot impact others in a shared cluster

When horizontal sharding makes sense

Multi-tenant SaaS often benefits when a few tenants dominate storage or query volume. Sharding by tenant (or a related key) can keep heavy tenants from starving others and can simplify capacity planning per segment. Very large datasets or I/O-heavy workloads can exhaust the storage bandwidth or CPU of a single primary even after tuning. When you’ve addressed slow queries and optimized your storage class but still need more headroom, spreading data across shards increases scalability. Write-heavy applications that bottleneck on a single writer can sometimes scale reads with replicas, but writes still concentrate on the primary. Sharding splits writes across multiple primaries.

You might not need sharding

Before pursuing horizontal sharding, it’s worth exploring whether your current performance challenges can be solved through optimization. We’ve helped many teams migrate to PlanetScale Postgres, dramatically reduce database load, and improve performance without the complexity of sharding. Query Insights can identify slow queries, missing indexes, and inefficient query patterns that may be causing bottlenecks. Combined with schema recommendations, you can often achieve significant performance gains through targeted optimizations. Our Metal nodes deliver exceptional raw performance with NVMe storage that handles throughput and latency far better than traditional cloud storage. Many workloads that appear to need sharding are actually hitting I/O limits that Metal eliminates entirely. For many workloads, moving to PlanetScale Postgres on Metal and fixing a few expensive queries offers years of headroom before sharding becomes necessary. For teams currently facing Postgres scaling challenges, we recommend starting with these optimizations before considering sharding.

How Neki approaches Postgres sharding

Neki applies operational experience from running large-scale sharded systems: architectural choices reflect how clusters fail, how they are upgraded, and where operators spend the most time. It is Postgres-native — respecting replication, connections, and query execution in real deployments — and built by operators, for operators, with automation that targets reliability, scalability, and ease of use. Lessons from routing, pooling, failure handling, and sharding patterns that stay manageable at scale inform the design.

Frequently asked questions

Data (rows or logical partitions) is split across multiple database servers, and a router / proxy directs queries using a shard key. See Why Sharding Matters for definitions, routing detail, and how that compares to vertical scaling.
Vertical scaling grows one server; horizontal sharding adds instances and partitions data across them. See Why Sharding Matters for ceilings on vertical approaches and the tradeoffs sharding introduces.
When a well-tuned instance still cannot meet your goals after optimization. Many teams extend runway with query tuning and Metal first — see You Might Not Need Sharding. For typical workload patterns, see When Horizontal Sharding Makes Sense.
No, Vitess is tied to MySQL’s protocol and semantics; Postgres differs in planner, replication, and ecosystem. For positioning and how we build Neki, see Introducing Neki.
Neki is designed as PlanetScale’s path to horizontal scale for Postgres workloads. Running on PlanetScale Postgres today aligns your stack with the same platform and operational model Neki targets, which simplifies adoption when sharded Postgres fits your needs.
Join the waitlist at neki.dev or email neki@planetscale.com. More links are in Stay Updated and Related Resources.

Stay updated

As Neki progresses towards general availability, we’ll update this page with new information. We encourage you to check back regularly for updates:
  • Join the waitlist — Sign up at neki.dev to receive updates on Neki’s progress and get early access.
  • Read the PlanetScale blog — Follow our blog for announcements, technical deep-dives, and product updates.
  • Contact the Neki team — Get in touch if you have questions or are interested in becoming a design partner.

Need help?

Get help from the PlanetScale Support team, or join our Discord community to see how others are using PlanetScale.