All sites have different data capacities and resource needs. Data quotas apply to anything making data requests on a site, including the CMS, Datasets, and the Data API.
This article covers the data platform features that are available based on your premium plan. Learn about the differences and choose the plan that's right for you.
Wix hosts a site's data collections and their items, with storage limits on the total amount of data items a site can contain. If a site reaches this limit, you won't be able to add any more data to any of the collections.
The collection items limit isn't applied to Wix app collections or external database collections connected to a site. It also doesn't apply to items in sandbox collections.
There are also some limits that are specific to certain field types, such as media or other files.
Note: If a site exceeds its storage quota and you delete data to free up space, it may take up to 1 hour before you can add new data to the collections.
If you downgrade to a lower tier plan, the storage quota changes to the one defined by the new plan. If a site has more than this amount of data when you downgrade, none of the data is deleted. However, you can't add any new data to the site until you delete enough existing data to be below the quota.
To avoid reaching the data storage limits, read about how to optimize your data storage. You can also upgrade your plan to receive a larger storage limit.
Every time you access data, whether that's to read or to write it, you make a data request. Wix limits the frequency of your requests and the amount of time a request can take.
Wix limits the number of data requests a site can make per minute. Once a site reaches this quota, subsequent requests during the same minute aren't processed and return an error. There are separate quotas for read requests and write requests.
The following API methods count as 1 request towards the read quota:
The following API methods count as 1 request towards the write quota:
insertbulkInsertupdatebulkUpdatesavebulkSaveremovebulkRemoveinsertReferenceremoveReferencereplaceReferencesNote: Each use of include in a query counts towards the request quota. For example, the following query counts as 3 read requests:
For each request that exceeds the quota, the request fails and the following error is displayed in Wix Logs:
WDE0014: Requests per minute quota exceeded.
Learn more about optimizing your data requests and Wix Data error codes.
Wix Data limits the size of the request payloads.
Single-item requests, such as update() or insert(), have a payload limit of 512 KB. Exceeding this limit results in a WDE0009 error.
Bulk operations, such as bulkUpdate() or bulkInsert(), have a total payload limit of 4 MB. Exceeding this limit results in a WDE0109 error.
Learn more about Wix Data error codes.
When a site makes a data request, it may take some time to receive a response. Wix Data places limits on how long a response can take before the request times out. If the response time exceeds this limit, Wix Data returns an error instead of the intended result.
Request timeouts vary depending on your Wix plan and the type of collection you are attempting to access:
| Collection Type | Wix plan | Timeout |
|---|---|---|
| CMS collections | Free sites, premium sites | 5 seconds |
| CMS collections | Business Elite & Elite Premium | 10 seconds |
| External Database Collections | All plans | 15 seconds |
After the specified timeout, the request fails and the following error message is displayed in Wix Logs:
WDE0028: Operation time limit exceeded.
Learn more about Wix Data error codes.
To avoid reaching the limits for data requests, learn about how to optimize your requests. You can also upgrade your plan to receive larger limits for your data requests.
It's important to understand your database's infrastructure, how it affects data management, and how to use indexes to improve data requests.
Database collections store dynamic content for a site, such as the content that's displayed on sites and site visitor generated content.
Database collections for free and most premium sites are stored in large, multi-tenant databases. This doesn't mean that a site's data is exposed to other users, but it does mean that there are limits on storage, read/write requests, and indexing resources available to a site. Database collections for sites with the Business Elite plan are stored in dedicated databases, providing them with significantly greater data resources.
A database collection index is a set of keys used to improve performance when searching for data in a database. Indexes can be created on a single collection field or multiple fields. Indexes are added to fields or sets of fields that are used most often when querying the collection to retrieve information.
Collections can have regular and unique indexes that improve query performance. There's a limit on the total number of indexes you can create on a site, with the Business Elite plan providing higher quotas than other plans.
Learn more about indexes and how they work.