YugabyteDB Documentation

website·Indexed 38 days ago

https://docs.yugabyte.com/

Official documentation for YugabyteDB, an open source distributed PostgreSQL database that is PostgreSQL-compatible with the v15 wire protocol.

Tokens
526
Snippets
1
Records
7
Agent score
21%

What's inside YugabyteDB

  1. Overview of YugabyteDB Features

    YugabyteDB is an open-source, distributed PostgreSQL-compatible database (v15 wire protocol) licensed under Apache 2.0. It is designed for horizontal scalability, built-in resilience, and automatic failover. The ecosystem includes YugabyteDB Anywhere (self-managed), YugabyteDB Aeon (managed cloud), and YugabyteDB Voyager (migration service).
  2. Get started with YugabyteDB installation

    Depending on your environment, you can deploy YugabyteDB using the following methods:

    • Local Cluster: Use the Quick Start guide to deploy in approximately 5 minutes.
    • Managed Cloud: Use YugabyteDB Aeon for a managed experience.
    • Manual/Custom: Deploy via manual installation, multi-DC setups, public clouds, or Kubernetes.
    # For local deployment, visit: https://docs.yugabyte.com/stable/quick-start/macos/
    # For downloads: https://download.yugabyte.com/
  3. Implement AI and Vector Search with pgvector

    YugabyteDB supports the pgvector extension, enabling distributed vector indexes across cluster nodes using HNSW indexing. This is suitable for GenAI and Retrieval-Augmented Generation (RAG) applications and has been benchmarked up to 1 billion vectors.
  4. Connect AI Agents via YugabyteDB MCP Server

    The YugabyteDB MCP (Model Context Protocol) Server allows AI agents (such as Claude, Cursor, and VS Code) to interact with a YugabyteDB database using natural language.
  5. Migrate databases using YugabyteDB Voyager

    YugabyteDB Voyager is a dedicated database migration tool used to migrate data from Oracle, MySQL, and PostgreSQL into YugabyteDB.
  6. Select a YugabyteDB Driver or ORM

    YugabyteDB supports standard PostgreSQL drivers. It also provides 'Smart Drivers' which offer built-in cluster awareness, load balancing, and topology-aware routing. Supported languages and drivers include:

    • Java: YugabyteDB JDBC (supports Hibernate, Spring Data)
    • Python: psycopg3, psycopg2, asyncpg (supports Django, SQLAlchemy)
    • Go: pgx, YugabyteDB Go (supports GORM)
    • Node.js: node-postgres (supports Sequelize, Prisma)
    • C# (.NET): Npgsql smart driver (supports Entity Framework)
    • Ruby: pg gem (supports ActiveRecord)
    • Rust: rust-postgres (supports Diesel)
    • C/C++: libpq compatible
    • PHP: Laravel