Skip to content

Commit f63925b

Browse files
committed
chore: updated structure
1 parent f284588 commit f63925b

File tree

2 files changed

+34
-42
lines changed
  • src/routes

2 files changed

+34
-42
lines changed

src/routes/blog/post/announcing-database-reads-and-writes-pricing/+page.markdoc

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,13 @@ As Appwrite continues to scale, we need to ensure our platform remains sustainab
2525

2626
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:
2727

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.
3231

3332
This change will help support the infrastructure required to maintain high-performance database services and enable us to continue enhancing the platform.
3433

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.
3635

3736
# How it works
3837

@@ -41,16 +40,16 @@ Database operations in Appwrite are categorized into two types:
4140
## Read operations
4241

4342
Any action that retrieves data from your database, including:
44-
- Fetching documents with `getDocument` or `listDocuments`
43+
- Fetching documents with `getDocument` or `listDocuments`.
4544

4645
## Write operations
4746

4847
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`.
5251

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**.
5453

5554
# Your usage
5655

@@ -60,10 +59,10 @@ To help prepare for these changes, teams can review their current database opera
6059

6160
To help you manage your database operations efficiently, here are some best practices:
6261

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.
6766

6867
# We're here to help
6968

src/routes/docs/advanced/platform/database-reads-and-writes/+page.markdoc

Lines changed: 21 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -7,55 +7,48 @@ description: Learn how Appwrite handles database reads and writes and their asso
77
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.
88
{% /info %}
99

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.
1111

1212
## Database Operations
1313

1414
Database operations in Appwrite are categorized into two types:
1515

1616
**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`.
2018

2119
**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`.
2623

2724
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.
3229

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**.
3431

3532
## Pricing
3633

3734
### 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).
4037

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.
4841

4942
### Enterprise Plan
50-
- **Included**: Unlimited read and write operations
51-
- **Overage**: Not applicable
43+
- **Included**: Unlimited read and write operations.
44+
- **Overage**: Not applicable.
5245

5346
For detailed information about the different pricing options and features, please visit the [pricing page](/pricing).
5447

5548
## Best Practices
5649

5750
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

Comments
 (0)