使用Firebase可以存储的最长字符串是多少? [英] What is the longest string that can be stored using firebase?
本文介绍了使用Firebase可以存储的最长字符串是多少?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我可以在firebase中保存的字符串中最大字符数是多少?它是无限的吗?在什么时候变得太慢?
Whats the max number of characters in a string I can save in firebase? Is it unlimited? At what point will It get too slow?
推荐答案
根据 Firebase文档,子值的最大大小为 10mb (UTF-8编码).
Per the Firebase docs, the maximum size of a child value is 10mb (UTF-8 encoded).
UTF-8每个字符使用1到4个字节,因此10mb的字符串可以包含250万至1000万个字符.
UTF-8 uses 1 to 4 bytes per character, so a 10mb string could contain between 2.5 million - 10 million characters.
这篇关于使用Firebase可以存储的最长字符串是多少?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文