Back

Users can't read the newly entered document from Database

  • 1
  • Flutter
  • Cloud
Rabin Acharya
13 Mar, 2025, 06:21

I am using appwrite database and the issue is there are not many entries hardly 50 entries, my users exploded and reached to 10K+ in 4 days, the issue I am facing right now is I can write a document but users can't read the newly entered document is there any form of pagination or something I have misconfigured.

Yesterday's issue got 1k+ uninstalls before I even push the update and now this issue comes up, now I have started questioning the reliability of appwrite cloud for production😩 sadly

TL;DR
Developers are having trouble where users can't read newly entered documents from the database. Pagination should be implemented to prevent performance issues due to loading all documents at once. Check permissions on collections and ensure document security is enabled. Referring to Appwrite documentation on pagination can be helpful too.
Rabin Acharya
13 Mar, 2025, 06:41

@Support ?

Darshan Pandya
13 Mar, 2025, 06:42

What are the permissions on the collections? Is there document security enabled?

Rabin Acharya
13 Mar, 2025, 06:43
Darshan Pandya
13 Mar, 2025, 06:43

I can write a document but users can't read the newly entered document is there any form of pagination or something I have misconfigured. And how is this implemented? Did you write a pagination logic? The max by default is 25 documents per listDocuments call.

Rabin Acharya
13 Mar, 2025, 06:43

25th data is loaded, but 26th isn't,thanks got the issue

Rabin Acharya
13 Mar, 2025, 06:44

how can I get all the data ?

Rabin Acharya
13 Mar, 2025, 06:44

at once ?

Rabin Acharya
13 Mar, 2025, 06:44

it should basically cache the data at once

Darshan Pandya
13 Mar, 2025, 06:45

see - https://appwrite.io/docs/products/databases/pagination its not a good practice to load all documents at once, there's a performance hit if you have too many documents.

Rabin Acharya
13 Mar, 2025, 06:45

I will find a way to implement, since I now know the issue thanks

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more