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

前端 未结 1 1317
离开以前
离开以前 2020-12-12 03:31

What is the maximum size of SQLite or Core Data database on iOS, how many rows can be added to a sqlite/Core Data database on iOS?

1条回答
  •  悲哀的现实
    2020-12-12 03:40

    The max size of your SQLite database is only limited by free disk space.

    The number of rows in one SQLite database is defined by the ROWID type that is a signed 64 bit value. 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.

    Short answer to both: only limited by free disk space on the users device.

    0 讨论(0)
提交回复
热议问题