I am new to firebase firestore and searched, but could not find the limitation for the number of documents that can be handled under one collection. Can anybody help me out to know please.
20 for multi-document reads, transactions, and batched writes. The previous limit of 10 also applies to each operation.
Keep the rate of documents the database pushes to all clients under 1,000,000 documents/second. This is a soft limit.
While not a hard limit, if you sustain more than 1,000 writes per second, your write activity may be rate-limited. 256 MB from the REST API; 16 MB from the SDKs. The total data in each write operation should be less than 256 MB. Multi-path updates are subject to the same size limitation.
Each transaction or batch of writes can write to a maximum of 500 documents.
firebaser here
There is no documented limit to the number of documents that can be stored in a Cloud Firestore collection. The system is designed to scale to huge data sets.
There is no limitation on the number of documents in Firestore collection but it has a limitation of the size of the document. The maximum size of a document is roughly 1 MiB (1,048,576 bytes).
There are many more limits that are listed in the below link. Limits of firestore
There is no document limit under one collection
Official documentation for clearness: Click here
But there is limitation in maximum depth of subcollections
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With