The value "Size of one child value" is a limit of 10 MB for the base of fire

The documentation for firebase specifies a limit for "Size of one child value" - 10 MB. Does this mean the size of this child's JSON object?

For example, using the example in the documentation:

{ "users": { "mchen": { "friends": { "brinchen": true }, "name": "Mary Chen", // our child node appears in the existing JSON tree "widgets": { "one": true, "three": true } }, "brinchen": { ... }, "hmadi": { ... } } } 

Are node "users" here as a child? if yes, does this mean if the number of users becomes large (for example, hundreds of thousands, if each user has data of 100 bytes), then the sum of the sizes of all users will exceed the limit of 10 MB? Thanks

+7
firebase
source share
1 answer

As the documentation says, meaning one node can be no more than 10 MB. Child nodes under a place are not considered a value, they are just ... child nodes.

A tree may be larger than 10 MB. Logically, thinking about this also makes sense: otherwise the entire database can never be more than 10 MB, which is wrong.

+10
source share

All Articles