简体   繁体   English

iOS上SQLite或Core Data数据库的最大大小是多少?

[英]What is the maximum size of SQLite or Core Data database on iOS?

iOS上SQLite或Core Data数据库的最大大小是多少,可以在iOS上的sqlite / Core Data数据库中添加多少行?

The max size of your SQLite database is only limited by free disk space. SQLite数据库的最大大小仅受可用磁盘空间限制。

The number of rows in one SQLite database is defined by the ROWID type that is a signed 64 bit value. 一个SQLite数据库中的行数由ROWID类型定义, ROWID类型是一个带符号的64位值。 In a worst case scenario where one managed object needs say 100 rows in the database to specify all many-to-many relations there would still be no limit except available disk space. 在最坏的情况下,一个受管理的对象需要在数据库中说100行以指定所有多对多关系,除了可用磁盘空间外,没有任何限制。

Short answer to both: only limited by free disk space on the users device. 两者的简短答案:仅受用户设备上可用磁盘空间的限制。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM