微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

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

我有一个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.

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。

相关推荐