Back

[SOLVED] why appwrite (console) shows only 5k documents, but there is more then 10k documnets

  • 0
  • Databases
  • Flutter
new user
30 Apr, 2023, 17:34

why appwrite (console) shows only 5k documents, but there is more then 10k documnets

TL;DR
The user was experiencing an issue where the Appwrite console was only showing 5k documents instead of the expected 10k. However, the user later thanked for the solution, but it is not mentioned in the thread. There were also questions about using attributes, indexes, and queries. The user wanted to arrange data in ascending order using timestamps but did not fully understand the solution provided. The user asked how to make backups and delete all documents in a single click. The solution provided was to create a script for the database creation to easily delete and recreate the collection. Alternatively, accessing the database directly and emptying the collection table
Binyamin
30 Apr, 2023, 17:35

There is an hard limit on regular pagination. up to 5K only.

new user
30 Apr, 2023, 17:36

is there is any way to search documents on console

Binyamin
30 Apr, 2023, 17:36

I don't think so

new user
30 Apr, 2023, 17:37

and for deleting all documents in single click

Binyamin
30 Apr, 2023, 17:40

Also, I think the only to delete is by ID. It would be nice if you can empty collection.

For now you can

  • Make sure your database creation is in a script then it would be easy to delete and recreate the collection.
  • Access the database directly and empty the collection table.

As for any database action I recommend you back up every thing before.

new user
30 Apr, 2023, 17:51

How can i make backup.

new user
30 Apr, 2023, 17:52

ok,

new user
30 Apr, 2023, 17:52

How to use index for asc and dsc with respect to time

Binyamin
30 Apr, 2023, 17:52

Didn't got it

new user
30 Apr, 2023, 17:55

means, how can i arrange my data in ascending order using time stamp,

Binyamin
30 Apr, 2023, 17:56

You can use one of these queries

https://appwrite.io/docs/queries#query-class

new user
30 Apr, 2023, 17:57

can i also use index?

Binyamin
30 Apr, 2023, 17:58

You can use the attribute on if it is an index one then it will work faster But as of version 1.3.0 it will work in any case.

new user
30 Apr, 2023, 18:00

ok, what is the use of Key and Full Text in index Type, as i am only aware with Unique

new user
30 Apr, 2023, 18:05

$createdAt this is my attribute which is in build attribute from appwrite, tried this but not working.

new user
30 Apr, 2023, 18:14

this is working thanks

Drake
30 Apr, 2023, 18:21

[SOLVED] why appwrite (console) shows only 5k documents, but there is more then 10k documnets

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