我可以在SQLite Android中的表中插入多少行?

我可以在SQLite Android中的表中插入多少行?,第1张

概述我有一个50万行的CSV文件.我要将所有CSV文件行插入到在SQLiteAndroid中创建的表中.我想知道我可以在SQLite的任何表中插入多少行?解决方法:从sqlite3文档:MaximumNumberOfRowsInATableThetheoreticalmaximumnumberofrowsinatableis264(18446744073709551616

我有一个50万行的CSV文件.
我要将所有CSV文件行插入到在sqlite Android中创建的表中.
我想知道我可以在sqlite的任何表中插入多少行?

解决方法:

从sqlite3文档:

Maximum Number Of Rows In A table

The theoretical maximum number of rows in a table is 264
(18446744073709551616 or about 1.8e+19). This limit is unreachable
since the maximum database size of 14 terabytes will be reached first.
A 14 terabytes database can hold no more than approximately 1e+13
rows, and then only if there are no indices and if each row contains
very little data.

有关限制,请参阅this;有关性能特性,请参见this question.

总结

以上是内存溢出为你收集整理的我可以在SQLite Android中的表中插入多少行?全部内容,希望文章能够帮你解决我可以在SQLite Android中的表中插入多少行?所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/web/1116397.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-29
下一篇 2022-05-29

发表评论

登录后才能评论

评论列表(0条)

保存