Yandex.Cloud
  • Services
  • Why Yandex.Cloud
  • Pricing
  • Documentation
  • Contact us
Get started
Yandex Database
  • Getting started
    • Overview
    • Create databases
    • Examples of YQL queries
    • Examples of operations in the YDB CLI
    • Launch a test app
    • Document API
    • Developing in NodeJS through the Document API
  • Step-by-step instructions
    • Database management
    • How to connect to a database
    • Table management
    • Reading and writing data
    • Working with secondary indexes
  • Working with the SDK
  • Concepts
    • Overview
    • Data model and schema
    • Serverless and Dedicated operation modes
    • Data types
    • Transactions
    • Secondary indexes
    • Time to Live (TTL)
    • Terms and definitions
    • Quotas and limits
  • Access management
  • Pricing policy
    • Overview
    • Serverless mode
    • Dedicated mode
  • Recommendations
    • Schema design
    • Partitioning tables
    • Secondary indexes
    • Paginated output
    • Loading large data volumes
    • Using timeouts
  • YDB API and API reference
    • Database limits
    • Handling errors in the API
  • Amazon DynamoDB-compatible HTTP API
    • API reference
      • All methods
      • Actions
        • BatchGetItem
        • BatchWriteItem
        • CreateTable
        • DeleteItem
        • DeleteTable
        • DescribeTable
        • GetItem
        • ListTables
        • PutItem
        • Query
        • Scan
        • TransactGetItems
        • TransactWriteItems
        • UpdateItem
      • Common errors
  • YQL reference guide
    • Overview
    • Data types
      • Simple
      • Optional
      • Containers
      • Special
    • Syntax
      • Unsupported statements
      • For text representation of data types
      • Expressions
      • CREATE TABLE
      • DROP TABLE
      • INSERT INTO
      • UPSERT INTO
      • REPLACE INTO
      • UPDATE
      • DELETE
      • SELECT
      • GROUP BY
      • JOIN
      • FLATTEN
      • ACTION
      • DISCARD
      • PRAGMA
      • DECLARE
      • OVER, PARTITION BY, and WINDOW
    • Built-in functions
      • Basic
      • Aggregate
      • Window
      • For lists
      • For dictionaries
      • For JSON
      • For structures
      • For types
    • Preset user-defined functions
      • HyperScan
      • Pcre
      • Pire
      • Re2
      • String
      • Unicode
      • Datetime
      • Url
      • Ip
      • Digest
      • Math
      • Histogram
    • For text representation of data types
  • YQL tutorial
    • Overview
    • Creating a table
    • Adding data to a table
    • Selecting data from all columns
    • Selecting data from specific columns
    • Sorting and filtering
    • Data aggregation
    • Additional selection criteria
    • Joining tables by JOIN
    • Data insert and update by REPLACE
    • Data insert and update by UPSERT
    • Data insert by INSERT
    • Data update by UPDATE
    • Deleting data
    • Adding and deleting columns
    • Deleting a table
  • Maintenance
    • Backups
  • Diagnostics
    • System views
  • Questions and answers
    • General questions
    • Errors
    • YQL
    • All questions on the same page
  • Public materials

Yandex Database

Yandex Database (YDB) is a distributed fault-tolerant NewSQL DBMS. YDB provides high availability and scalability while simultaneously ensuring strict consistency and ACID transaction support. Queries are made using an SQL dialect (YQL).
YDB can be used in two modes:
  • Serverless mode: The user pays for data operations.
  • Dedicated mode: The user pays for allocated computing resources on an hourly basis.
Data is used via an SQL dialect (YQL). In serverless mode, YDB also provides a layer compatible with the Amazon DynamoDB API.
YDB is an alternative to the other solutions in the following cases:
  • When using NoSQL systems if strict data consistency is required.
  • When using NoSQL systems if you need to make transactional changes to data stored in different rows of one or more tables.
  • In systems that need to process and store large amounts of data with infinite scalability.
  • In systems with low load, when support for a separate DB instance will be a waste of money (consider using YDB in serverless mode instead).
  • In systems with unpredictable or seasonally fluctuating load (you can add/reduce computing resources on request and/or in serverless mode).
  • In systems that shard load across relational DB instances.
  • When developing a new product natively designed for an expected high load beyond the capabilities of traditional relational databases.
The service is subject to the Service Level Agreement. The service level is defined in the Yandex Database Service Level.
  • Getting started

    Create your first database and perform basic operations

  • Step-by-step instructions

    Instructions on how to perform routine operations

  • Working with the SDK

    How to work with the SDK

  • Concepts

    Learn about the concepts and features of the service

  • Access management

    Configure access rights to work with the service

  • Recommendations

    A set of recommendations for practical service use

  • YQL reference guide

    Description of YQL syntax and built-in functions

  • YQL tutorial

    YQL introductory tutorial

  • Amazon DynamoDB-compatible HTTP API

    Description of the Document API compatible with Amazon DynamoDB

  • Pricing policy

    Prices and rules for calculating the service cost

Language
Careers
Privacy policy
Terms of use
© 2021 Yandex.Cloud LLC