我使用的是db4o 8.0。db4odatabase文件大小为21MB。数据库中有以下对象。
User : There is 1 user in db.
PostedMessage : There are 10000 postedMessages in db.
我删除了所有10000个PostedMessages。然后,我尝试对db4o数据库进行碎片整理。以下代码用于碎片整理。
private void processDefrag() {
try {
String dbpath = "D:\\db4oDatabase";
IdMappi
即使将自动增长选项设置为将数据库大小增加500MB,SQL Server2008 R2数据库也无法超过初始大小。我尝试手动增加大小,但失败了,错误如下:
Modify file encountered operating system error 665
(the requested operation cannot be completed due to file system limitation)
while attempting to expand the physical file (Microsoft SQL Server, Error 5149)
我在驱动器上有很多可用空间,