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
title: "Announcing Bulk API: Handle heavy data workloads with ease"
4
+
description: Perform multiple database operations in a single API call. Enjoy faster writes and better performance for heavy server-side workloads.
5
+
date: 2025-07-03
6
+
cover: /images/blog/announcing-bulk-api/cover.png
7
+
timeToRead: 5
8
+
author: jake-barnby
9
+
category: announcement
10
+
featured: false
11
+
---
12
+
13
+
We're excited to introduce another Appwrite Databases feature, **Bulk API**. Explicitly designed to handle heavy write workloads, Bulk API dramatically improves performance by allowing multiple database operations in a single API call.
14
+
15
+
# Faster development with bulk actions
16
+
17
+
Previously, writing or modifying large amounts of data in Appwrite Databases required sending one request per document. This method was inefficient, slow, and resource-intensive, especially when dealing with thousands of records.
18
+
19
+
With the new Bulk API, you can create, update, or delete multiple documents in one go, vastly speeding up your workflows and reducing network overhead.
20
+
21
+
# Optimized for server-side workloads
22
+
23
+
Bulk API is crafted for server-side applications, particularly those with significant data demands. Whether you’re importing large datasets, performing batch updates, or cleaning out old records, Bulk API streamlines your workload, drastically cutting down the number of requests and enhancing your application's performance.
24
+
25
+
This will have immediate and impactful benefits such as:
26
+
27
+
- **Speed improvements**: Rapidly handle thousands of operations simultaneously.
28
+
- **Lower network overhead**: Significantly fewer API requests needed, making your application faster and more efficient.
29
+
- **Seamless integration**: Works effortlessly using Appwrite Cloud or hosting yourself.
30
+
31
+
{% info title="Please Note" %}
32
+
Bulk operations can only be performed via the server-side SDKs. The client-side SDKs do not support bulk operations.
33
+
{% /info %}
34
+
35
+
# How it works
36
+
37
+
Utilizing the Bulk API is straightforward. You can use it to:
38
+
39
+
- Create multiple documents in a single request using the `createDocuments` method
40
+
- Update multiple documents in a single request using the `updateDocuments` method
41
+
- Delete multiple documents in a single request using the `deleteDocuments` method
42
+
- Upsert multiple documents in a single request using the `upsertDocuments` method
43
+
44
+
Here is a code example for creating multiple documents in a single request:
Bulk API was designed to move large volumes of data in and out of Appwrite. By simplifying and speeding up these tasks, Bulk API unlocks previously challenging use-cases, expanding what's possible with Appwrite.
77
+
78
+
With Bulk API, your high-performance data operations are faster, simpler, and more efficient.
79
+
80
+
# More resources
81
+
- [Read the documentation to get started](/docs/products/databases/bulk-operations)
description: Perform bulk operations on documents within your collections for efficient data handling.
5
+
---
6
+
7
+
Appwrite Databases supports bulk operations for documents, allowing you to create, update, or delete multiple documents in a single request. This can significantly improve performance for apps as it allows you to reduce the number of API calls needed while working with large data sets.
8
+
9
+
As of now, bulk operations can only be performed via the server-side SDKs. The client-side SDKs do not support bulk operations.
10
+
11
+
# Create documents {% #create-documents %}
12
+
13
+
{% info title="Permissions required" %}
14
+
You must grant **create** permissions to users at the **collection level** before users can create documents.
15
+
[Learn more about permissions](/docs/products/databases/permissions)
16
+
{% /info %}
17
+
18
+
You can create multiple documents in a single request using the `createDocuments` method.
Copy file name to clipboardExpand all lines: src/routes/docs/products/databases/documents/+page.markdoc
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -264,3 +264,11 @@ Read, update, and delete permissions can be granted at both the collection and d
264
264
Users only need to be granted access at either the collection or document level to access documents.
265
265
266
266
[Learn about configuring permissions](/docs/products/databases/permissions).
267
+
268
+
# Bulk operations {% #bulk-operations %}
269
+
270
+
In Appwrite, you can perform bulk operations on documents within a collection. This allows you to create, update, or delete multiple documents in a single request.
271
+
272
+
As of now, bulk operations can only be performed via the server-side SDKs. The client-side SDKs do not support bulk operations.
273
+
274
+
[Learn more about bulk operations](/docs/products/databases/bulk-operations).
0 commit comments