Efficient Way to Perform Bulk Data Transformations in Appwrite Collections
- 1
- Databases
- Functions
- REST API
- Cloud

Hi everyone, I have a question about performing bulk data transformations efficiently in Appwrite. For example, let’s say I want to update all image URLs stored in a collection to change the domain (e.g., old-domain.com to new-domain.com).
The most straightforward approach is to use the Appwrite API or SDK to fetch documents, modify them, and update them back. However, this feels inefficient as each request passes through multiple layers, which could add significant overhead for large collections. Traditionally, in systems like MySQL, I could directly run an update query on the database to get the job done quickly. So in Appwrite, is there a way to directly access and modify the database for such transformations ?
Or is it just that I’m overthinking 😅, and the performance difference between API-based updates and direct database manipulation is negligible for most use cases?
TL;DR: Is using the Appwrite API/SDK for bulk updates inefficient for large-scale data transformations? Can users access the database directly for such tasks, or is the performance difference negligible?
Recommended threads
- Relationships in database
When adding a document to a collection that has a many to one two way relationship with another collection, how can I create a document related to the other one...
- Realtime when app is in background mode
I am wondering if realtime can work if the app is in the background. For instance if uber drivers can go to a different app to answer a message but still receiv...
- Error with seeding database
Hello, I am having issues with the database connection and attributes. Here is the code and the error: Attribute image is missing Error seeding data: [Appwr...
