You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/routes/blog/post/announcing-database-reads-and-writes-pricing/+page.markdoc
+13-14Lines changed: 13 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -25,14 +25,13 @@ As Appwrite continues to scale, we need to ensure our platform remains sustainab
25
25
26
26
We will begin charging for database read and write operations beyond the included quotas in each plan. All plans will continue to include a generous allocation of operations at no additional charge:
27
27
28
-
- **Free Plan**: 500,000 read operations and 250,000 write operations per month
29
-
- **Pro Plan**: 1,750,000 read operations and 750,000 write operations per month, with additional operations available at $0.060 per 100,000 reads and $0.10 per 100,000 writes
30
-
- **Scale Plan**: 1,750,000 read operations and 750,000 write operations per month, with additional operations available at $0.060 per 100,000 reads and $0.10 per 100,000 writes
31
-
- **Enterprise Plan**: Unlimited read and write operations
28
+
- **Free Plan**: 500,000 read operations and 250,000 write operations per month.
29
+
- **Pro and Scale Plans**: 1,750,000 read operations and 750,000 write operations per month, with additional operations available at $0.060 per 100,000 reads and $0.10 per 100,000 writes.
30
+
- **Enterprise Plan**: Unlimited read and write operations.
32
31
33
32
This change will help support the infrastructure required to maintain high-performance database services and enable us to continue enhancing the platform.
34
33
35
-
Please refer to our [Pricing Page](/pricing) for detailed information, including operation costs and included quotas for different plans.
34
+
Please refer to our [pricing page](/pricing) for detailed information, including operation costs and included quotas for different plans.
36
35
37
36
# How it works
38
37
@@ -41,16 +40,16 @@ Database operations in Appwrite are categorized into two types:
41
40
## Read operations
42
41
43
42
Any action that retrieves data from your database, including:
44
-
- Fetching documents with `getDocument` or `listDocuments`
43
+
- Fetching documents with `getDocument` or `listDocuments`.
45
44
46
45
## Write operations
47
46
48
47
Any action that modifies data in your database, including:
49
-
- Creating documents with `createDocument`
50
-
- Updating documents with `updateDocument`
51
-
- Deleting documents with `deleteDocument`
48
+
- Creating documents with `createDocument`.
49
+
- Updating documents with `updateDocument`.
50
+
- Deleting documents with `deleteDocument`.
52
51
53
-
**Important to note**: Operations are counted based on the number of documents affected, not API calls. For example, if you fetch a collection of 50 documents with a single API call, this counts as 50 read operations, not as a single operation. If your query returned no documents, it will still count as one operation.
52
+
**Important to note**: Operations are counted based on the number of documents affected, not API calls. For example, if you fetch a collection of 50 documents with a single API call, this counts as 50 read operations, not as a single operation. If your query returned no documents, **it won't be counted**.
54
53
55
54
# Your usage
56
55
@@ -60,10 +59,10 @@ To help prepare for these changes, teams can review their current database opera
60
59
61
60
To help you manage your database operations efficiently, here are some best practices:
62
61
63
-
1. **Use efficient queries**: Filter data on the server side rather than retrieving large datasets and filtering client-side
64
-
2. **Implement pagination**: Use the `limit` and `offset` parameters to retrieve only the data you need
65
-
3. **Consider caching**: Cache frequently accessed data to reduce repeated read operations
66
-
4. **Monitor usage**: Keep track of your database operations through the Appwrite Console
62
+
1. **Use efficient queries**: Filter data on the server side rather than retrieving large datasets and filtering client-side.
63
+
2. **Implement pagination**: Use the `limit` and `offset` parameters to retrieve only the data you need.
64
+
3. **Consider caching**: Cache frequently accessed data to reduce repeated read operations.
65
+
4. **Monitor usage**: Keep track of your database operations through the Appwrite Console.
Copy file name to clipboardExpand all lines: src/routes/docs/advanced/platform/database-reads-and-writes/+page.markdoc
+21-28Lines changed: 21 additions & 28 deletions
Original file line number
Diff line number
Diff line change
@@ -7,55 +7,48 @@ description: Learn how Appwrite handles database reads and writes and their asso
7
7
Updated pricing will take effect on April 10th, 2025. Check out this [blog post](/blog/post/announcing-database-reads-and-writes-pricing) for more information.
8
8
{% /info %}
9
9
10
-
Appwrite provides powerful database capabilities through its [database API](/docs/products/databases), allowing you to perform read and write operations across your application data. Understanding how these operations are counted and billed is essential for planning your application's scalability.
10
+
Appwrite provides powerful database capabilities through its [Database API](/docs/products/databases), allowing you to perform read and write operations across your application data. Understanding how these operations are counted and billed is essential for planning your application's scalability.
11
11
12
12
## Database Operations
13
13
14
14
Database operations in Appwrite are categorized into two types:
15
15
16
16
**Read Operations**: Any action that retrieves data from your database, including:
17
-
- Fetching documents with `getDocument` or `listDocuments`
18
-
- Running queries with `find`
19
-
- Counting documents with `count`
17
+
- Fetching documents with `getDocument` or `listDocuments`.
20
18
21
19
**Write Operations**: Any action that modifies data in your database, including:
22
-
- Creating documents with `createDocument`
23
-
- Updating documents with `updateDocument`
24
-
- Deleting documents with `deleteDocument`
25
-
- Batch operations that modify multiple documents
20
+
- Creating documents with `createDocument`.
21
+
- Updating documents with `updateDocument`.
22
+
- Deleting documents with `deleteDocument`.
26
23
27
24
How it works:
28
-
1. Perform database operations through the Appwrite SDK or API
29
-
2. Appwrite automatically tracks and logs these operations
30
-
3. Operations are counted based on the number of documents affected, not API calls
31
-
4. Quotas are refreshed monthly based on your subscription plan
25
+
1. Perform database operations through the Appwrite SDK or API.
26
+
2. Appwrite automatically tracks and logs these operations.
27
+
3. Operations are counted based on the number of documents affected, not API calls.
28
+
4. Quotas are refreshed monthly based on your subscription plan.
32
29
33
-
For example, if you fetch a collection of 50 documents with a single API call, this counts as 50 read operations, not as a single operation. If your query returned no documents, it will still count as one operation.
30
+
For example, if you fetch a collection of 50 documents with a single API call, this counts as 50 read operations, not as a single operation. If your query returned no documents, it **won't be counted**.
34
31
35
32
## Pricing
36
33
37
34
### Free Plan
38
-
- **Included**: 500,000 read operations and 250,000 write operations per month
39
-
- **Overage**: Not available (operations are throttled when limits are reached)
35
+
- **Included**: 500,000 read operations and 250,000 write operations per month.
36
+
- **Overage**: Not available (operations are throttled when limits are reached).
40
37
41
-
### Pro Plan
42
-
- **Included**: 1,750,000 read operations and 750,000 write operations per month
43
-
- **Overage**: $0.060 per 100,000 additional read operations and $0.10 per 100,000 additional write operations
44
-
45
-
### Scale Plan
46
-
- **Included**: 1,750,000 read operations and 750,000 write operations per month
47
-
- **Overage**: $0.060 per 100,000 additional read operations and $0.10 per 100,000 additional write operations
38
+
### Pro and Scale Plans
39
+
- **Included**: 1,750,000 read operations and 750,000 write operations per month.
40
+
- **Overage**: $0.060 per 100,000 additional read operations and $0.10 per 100,000 additional write operations.
48
41
49
42
### Enterprise Plan
50
-
- **Included**: Unlimited read and write operations
51
-
- **Overage**: Not applicable
43
+
- **Included**: Unlimited read and write operations.
44
+
- **Overage**: Not applicable.
52
45
53
46
For detailed information about the different pricing options and features, please visit the [pricing page](/pricing).
54
47
55
48
## Best Practices
56
49
57
50
To optimize your database operations and control costs:
58
-
1. **Use efficient queries**: Filter data on the server side rather than retrieving large datasets and filtering client-side
59
-
2. **Implement pagination**: Use the `limit` and `offset` parameters to retrieve only the data you need
60
-
3. **Monitor usage**: Keep track of your database operations through the Appwrite Console
61
-
4. **Consider caching**: Cache frequently accessed data to reduce repeated read operations
51
+
1. **Use efficient queries**: Filter data on the server side rather than retrieving large datasets and filtering client-side.
52
+
2. **Implement pagination**: Use the `limit` and `offset` parameters to retrieve only the data you need.
53
+
3. **Monitor usage**: Keep track of your database operations through the Appwrite Console.
54
+
4. **Consider caching**: Cache frequently accessed data to reduce repeated read operations.
0 commit comments