28

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.

SherylHohman
  • 16,580
  • 17
  • 88
  • 94
user9253272
  • 283
  • 1
  • 3
  • 5

3 Answers3

79

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.

Frank van Puffelen
  • 565,676
  • 79
  • 828
  • 807
11

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

1

There is no document limit under one collection

Official documentation for clearness: Click here

But there is limitation in maximum depth of subcollections

Humayun MHA
  • 363
  • 3
  • 6