Yandex Cloud
Search
Contact UsGet started
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • AI for business
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Yandex Managed Service for YDB
  • Getting started
  • Access management
  • Monitoring metrics
  • Audit Trails events
  • FAQ
  • Public materials

In this article:

  • Managed Service for YDB databases in serverless mode
  • How do secondary and vector indexes impact the cost of a request?
  • What does the RESOURCE_EXHAUSTED error mean?
  • What does the ThrottlingException error mean?

FAQ about Managed Service for YDB

Written by
Yandex Cloud
Improved by
Max Z.
Updated at August 4, 2025
  • Managed Service for YDB databases in serverless mode
    • How do secondary and vector indexes impact the cost of a request?
    • What does the RESOURCE_EXHAUSTED error mean?
    • What does the ThrottlingException error mean?

This page shows answers to the questions about Managed Service for YDB. For frequently asked questions about YDB, see the documentation.

Managed Service for YDB databases in serverless modeManaged Service for YDB databases in serverless mode

How do secondary and vector indexes impact the cost of a request?How do secondary and vector indexes impact the cost of a request?

Operations with indexes are estimated according to the same rules as operations with tables. They are reflected in the request statistics and included in the total indicators used to calculate the cost in request units (RUs). For more information, see the pricing policy for YDB API serverless mode.

When reading data from a table using an index, the request statistics will show the number of records read from the index and their size.

Secondary indexesSecondary indexes

Adding a new row to a table creates a record in each existing secondary index. This action updates the statistics to reflect the increase in both the number of added records and the size of written data.

When you update a table row, the statistics will reflect the operations of deleting the old record and adding the new one for each secondary index that includes the updated fields.

When you delete a table row, the statistics will include the deletion of records from all secondary indexes of this table.

Vector indexesVector indexes

For a single-vector request to an index of the vector_kmeans_tree type, reading takes several stages:

  1. Navigating the index tree.
    At each of the levels tree levels, KMeansTreeSearchTopSize clusters (each containing clusters subclusters) are selected from the existing clusters.
    As a result, the total number of required readings at this stage is around KMeansTreeSearchTopSize∗levels∗clusters{KMeansTreeSearchTopSize} * {levels} * {clusters}KMeansTreeSearchTopSize∗levels∗clusters.

  2. Processing final candidates.
    At the lowest index tree level, all rows from the selected clusters get processed.
    The number of readings at this stage is around KMeansTreeSearchTopSize∗N/clusterslevels{KMeansTreeSearchTopSize} * N / {clusters}^{levels}KMeansTreeSearchTopSize∗N/clusterslevels (in a balanced tree, where N is the total number of rows).
    If you do not use a covering index, a row will be additionally read from the main table for each candidate record found via the index.

What does the RESOURCE_EXHAUSTED error mean?What does the RESOURCE_EXHAUSTED error mean?

This error means a limit has been reached.

Check the throughput in the YDB cluster settings and increase it, if required. If the issue persists after you increase the throughput limit or the quota is exceeded, contact support.

What does the ThrottlingException error mean?What does the ThrottlingException error mean?

The error is related to the exceeding of the quota for RU (Request Unit) consumption per second.

You can change quotas for an individual database in its settings (see Updating serverless database parameters). If you find your cloud quota insufficient, contact support.

To prevent users from unscheduled RU consumption, we recommend setting a limit on maximum consumption.

Was the article helpful?

Previous
Managing YDB topic configurations
Next
Public materials
© 2025 Direct Cursus Technology L.L.C.