Firebase拥有100万个节点的读取操作限制 [英] Firebase 100 Million nodes in read operation limit

查看:88
本文介绍了Firebase拥有100万个节点的读取操作限制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

firebase文档说节点在读操作限制在1亿。这个限制指的是什么节点?

解决方案

你可能指的是这个页面: https://www.firebase.com/docs/rest/guide/understanding-data.html



该页面包含一个名为限制和限制的表

子节点的深度32

密钥长度768字节UTF-8编码,不能包含。 $ [] /或ASCII控制字符0-31或127
一个子值的大小10mb UTF-8编码
从SDK写入16mb UTF-8编码
从REST 256mb写入

读取操作中的节点数亿元



这是指您正在阅读的JSON结构中的节点(元素)。 / p>

即,以下的JSON对象: {id:1,name:John Doe}
包含两个节点, id 名称。该对象本身就是父节点,共有3个。



以下的JSON数组:

[{id:1,name:John Doe},{id:2,name:Jane Doe}]



包含2x3个节点加上array = 7个节点。


The firebase docs say that nodes in read operation limited to 100 million. What nodes is this limitation referring to?

解决方案

You are probably referring to this page: https://www.firebase.com/docs/rest/guide/understanding-data.html

The page contains a table called "Limitations and Restrictions"

Depth of child nodes 32
Length of a key 768 bytes UTF-8 encoded, cannot contain . $ [ ] / or ASCII control characters 0-31 or 127 Size of one child value 10mb UTF-8 encoded Write from SDK 16mb UTF-8 encoded Write from REST 256mb
Nodes in a read operation 100 million

This refers to the nodes (elements) in the JSON structures you are reading.

I.e. the following JSON object: {"id": 1, "name": "John Doe"} contains two nodes, id and name. The object itself is the parent node, making a total of 3.

The following JSON array:

[ {"id": 1, "name": "John Doe"}, {"id": 2, "name": "Jane Doe"}]

Contains 2x3 nodes plus the array = 7 nodes.

这篇关于Firebase拥有100万个节点的读取操作限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆