Yandex Cloud
Search
Contact UsTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
  • Marketplace
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • 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
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2026 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 April 24, 2026
  • 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 provides answers to common questions about Managed Service for YDB. For frequently asked questions about YDB, see this article.

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 billed according to the same rules as operations with tables. You can see them in the request statistics and they are included in the total values used to calculate the cost in request units (RUs). For more information, see the pricing policy for the 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 will result in the change in both the number of added records and the size of written data in the statistics.

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.
    Thus, 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 capacity in the YDB cluster settings and increase it, if needed. 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?

This error means that you have exceeded the quota for RUs (request units) consumption per second.

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

To prevent users from overconsuming RUs, we recommend setting the maximum consumption limit.

Was the article helpful?

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