2.8 KiB
title | type | page_title | tags | teampulseid | ticketid | pitsid |
---|---|---|---|---|---|---|
Your Cloud Database Quota Usage is Too High or Was Exceeded | troubleshooting | You have exceeded the limit of your {{site.tbs}} subscription! | backendservices | 950285, 977670, 1012190 |
Environment
Service | Data (Backend Services) |
Feature | Data Storage |
Description
The Database quota usage of your {{site.tp}} app is quickly increasing even though it is not yet in production or is not actively used.
You may have also received an email notification stating: "You have exceeded the limit of your {{site.tbs}} subscription!", followed by details about the exceeded database quota.
Possible Cause
Your app is writing excessive amounts of {{site.bs-bl}} logs which count in the database quota. Business Logic logs contain statistical and debugging information about operations inside your app involving custom Cloud Functions, Stored Procedures, and other types of business logic code.
Solution
You need to delete the {{site.bs-bl}} logs to return your data usage back into the Database quota limit.
To delete some or all {{site.bs-bl}} logs:
- Log in to the {{site.tp}} portal and open your app.
- Click {{site.bs-bl}} in the left-side navigation.
- Click Logs in the tab navigation next to it.
- Select what to delete:
- To delete all {{site.bs-bl}} logs, click the Delete all button.
- To delete a subset of the {{site.bs-bl}} logs, click the respective check boxes and then click the Delete button.
- In the dialog box that appears, confirm the deletion.
After deleting {{site.bs-bl}} logs, allow a few hours for the new database quota usage to be measured and updated in your subscription details.
> You can also delete {{site.bs-bl}} logs [programmatically](http://docs.telerik.com/platform/backend-services/rest/server-side-logic/cloud-code/debugging/managing-cloud-code-logs#delete-cloud-code-logs). This allows you to select which logs to delete using elaborate filtering criteria such as date, function name, result type, and so on.
You may also want to consider disabling the {{site.bs-bl}} logs if your app is in production or if you do not longer need to keep them.
To disable {{site.bs-bl}} logs:
- Log in to the {{site.tp}} portal and open your app.
- Click {{site.bs-bl}} in the left-side navigation.
- Click Settings in the tab navigation.
- Unselect the Enable cloud code logging option.