sqlite表中的最大行数 [英] Maximum number of rows in a sqlite table

查看:541
本文介绍了sqlite表中的最大行数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

提供一个简单的sqlite3表(创建表数据(键PRIMARY KEY,值)),键大小为256字节,值大小为4096字节, (忽略磁盘空间限制)在此sqlite3表的最大行数?他们的限制与操作系统(win32,linux或Mac)相关

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 disk space limits) on the maximum number of rows in this sqlite3 table? Are their limits associated with OS (win32, linux or Mac)

推荐答案

在SQLite3字段大小不固定。引擎将提交每个单元格所需的空间。

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

对于文件限制,请参见此SO问题:

sqlite的性能特点是什么使用非常大的数据库文件?

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

这篇关于sqlite表中的最大行数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆