Fixing the RESOURCE_EXHAUSTED error
Issue description
When using Managed Service for YDB, you get the RESOURCE_EXHAUSTED error.
Solution
Check the cluster monitoring charts for exceeding Managed Service for YDB quotas and limits.
To view the Managed Service for YDB database monitoring charts, follow these steps:
- Navigate to your folder dashboard and select Managed Service for YDB.
- Click the database name and open the Monitoring tab.
- To get started with Yandex Monitoring metrics, dashboards, or alerts, click Open in Monitoring in the top panel.
On the page that opens, you will see the database status charts. If the Requsts per second and Request units per second metrics on database monitoring charts often touch the limits, increase the throughput in the Managed Service for YDB cluster settings.
Warning
Increasing the throughput in the database settings might increase its operating expenses.
You can also request a Managed Service for YDB quota increase
If the issue persists
If the above actions did not help, create a support ticket
- YDB cluster ID.
- Date and time when the issue occurred.
- Link to the database status chart in Yandex Monitoring.
- Error messages appearing when connecting to the database from client applications or via the YDB CLI.