# Vitess

> Vitess is a cloud-native, horizontally-scalable distributed database system built around MySQL, enabling unlimited scaling through generalized sharding.

Vitess is an open-source database clustering system for horizontal scaling of MySQL, distributed under the Apache License 2.0. Originally developed as a core component of YouTube's database infrastructure starting in 2011, it grew to encompass tens of thousands of MySQL nodes before being open-sourced and adopted more broadly. It is a graduated project of the Cloud Native Computing Foundation (CNCF).

## What It Is

Vitess sits between your application and MySQL, acting as a transparent proxy and orchestration layer that adds sharding, connection pooling, query rewriting, and high availability without requiring changes to application code. It is written primarily in Go and is designed to run on Kubernetes, though local installation is also supported. The core value proposition is making MySQL behave like a horizontally scalable, cloud-native database while preserving full MySQL wire-protocol compatibility.

## Architecture and Core Capabilities

Vitess introduces several key components that work together to deliver scalability and resilience:

- **VTGate**: A stateless proxy that routes queries to the correct shards, presenting a single MySQL endpoint to applications.
- **VTTablet**: A per-MySQL-instance agent that manages query serving, connection pooling, and replication.
- **VTAdmin**: A web-based administration interface introduced in late 2022 for managing clusters.
- **schemadiff**: An in-memory schema diffing, normalization, validation, and manipulation library added in 2023.
- **Sharding**: Flexible, application-transparent sharding schemes with support for live resharding at near-zero downtime.
- **Connection pooling**: Allows concurrent client connections to scale orders of magnitude beyond what native MySQL supports.
- **Query rewriting and caching**: Improves performance by optimizing queries before they reach MySQL.
- **Materialized views and messaging**: Extended features that work across shards.

## Kubernetes-Native Deployment

Vitess is designed with Kubernetes as a first-class deployment target. The project provides a Kubernetes Operator for quickstart deployments, making it straightforward to run Vitess clusters on any Kubernetes-compatible infrastructure. Local installation is also documented for development and testing purposes. Nightly benchmarks are published at benchmark.vitess.io to track performance regressions and improvements over time.

## CNCF Graduation and Community

Vitess is a graduated project within the Cloud Native Computing Foundation, the same foundation that oversees Kubernetes, Prometheus, and other widely adopted infrastructure projects. The project maintains an active community with monthly meetings, a public Slack workspace, a roadmap published on the website, and a growing list of adopters documented in the ADOPTERS.md file in the repository. The GitHub repository lists over 20,000 stars and more than 2,300 forks as of mid-2026.

## Update: Vitess v24.0.1

The latest release as of May 2026 is **v24.0.1**, published on May 7, 2026. Recent changelog entries highlight meaningful MySQL compatibility improvements, including support for recursive CTEs (Common Table Expressions) added in August 2024, bringing Vitess closer to full MySQL compatibility. An optimization improvement was documented in July 2024. The project shows consistent release cadence and active maintenance, with the main branch receiving pushes as recently as June 2026.

## Features
- Horizontal MySQL sharding
- Application-transparent sharding
- Live resharding with near-zero downtime
- Connection pooling
- Query rewriting and caching
- High availability with automatic primary failover
- Schema management across shards
- Materialized views across shards
- Messaging features across shards
- Kubernetes Operator support
- VTAdmin web UI
- schemadiff in-memory schema diffing
- Recursive CTE support
- Nightly performance benchmarks
- MySQL wire-protocol compatibility

## Integrations
MySQL, Kubernetes, Prometheus, etcd, Consul, ZooKeeper

## Platforms
LINUX, MACOS, WINDOWS, API, CLI

## Pricing
Open Source

## Version
v24.0.1

## Links
- Website: https://vitess.io
- Documentation: https://vitess.io/docs
- Repository: https://github.com/vitessio/vitess
- EveryDev.ai: https://www.everydev.ai/tools/vitess
