Resolving the "RESOURCE_EXHAUSTED" error
Issue description
While working with Managed Service for YDB, you see the RESOURCE_EXHAUSTED
error.
Solution
Check the cluster monitoring charts for exceeding quotas and limits of Managed Service for YDB.
For the database state monitoring charts of Managed Service for YDB:
- Go to the page of your cloud folder and select Managed Service for YDB.
- Click on the name of the required database and select the Monitoring tab.
- To start working with metrics, dashboards, or alerts in Yandex Monitoring, click the Open in Monitoring button on the top panel.
On the page that opens, you will see the DB status charts.
If the Requests per second
and Request units per second
metrics on database monitoring charts often approach service limits, increase the throughput in the YDB cluster parameters.
Note
Increasing the throughput in the database settings might increase its operating expenses.
You can also create a request to increase the quotas
If the issue persists
If the above actions didn't help, create a request for support
In the request, specify the following information:
- YDB cluster ID.
- Date and time when the issue occurred.
- Link to the database status chart in Yandex Monitoring.
- Error messages arising when connecting to the database from client applications or via the YDB CLI tools.