sqlite3 数据库 最大支持多少条数据

2025-04-27 03:05:41
推荐回答(1个)
回答1:

sqlite是文件型的数据库,所有的东西,都在一个文件中,故支持由对应的硬盘文件系统和操作系统来决定

下面是原文解释支持的大小:

Every database consists of one or more "pages". Within a single database, every page is the same size, but different database can have page sizes that are powers of two between 512 and 65536, inclusive. The maximum size of a database file is 2147483646 pages. At the maximum page size of 65536 bytes, this translates into a maximum database size of approximately 1.4e+14 bytes (140 terabytes, or 128 tebibytes, or 140,000 gigabytes or 128,000 gibibytes).

海枫科技、海枫论坛