
*** 作系统:暂时测试是在window下,部署是在linux下的
磁盘格式:NTFS
数据库要求:由于sqlite不支持分区,建20000个表,每个表插入86400条数据,需要没秒对着20000个表中的一条记录进行修改。这是极限情况,正常使用也就是没5s对20000个表同时修改一下。
顺便再问下:sqlite只能同时存在一个写的连接吗?有没有什么办法可以让它同时多个连接进行写入。
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).
海枫科技、海枫论坛
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)