Maximum number of rows in a sqlite table

后端 未结 7 791
梦毁少年i
梦毁少年i 2020-12-10 00:30

Give an simple sqlite3 table (create table data (key PRIMARY KEY,value)) with key size of 256 bytes and value size of 4096 bytes, what is the limit (ignoring d

7条回答
  •  自闭症患者
    2020-12-10 01:30

    In SQLite3 the field size isn't fixed. The engine will commit as much space as needed for each cell.

    For the file limits see this SO question:
    What are the performance characteristics of sqlite with very large database files?

提交回复
热议问题