阅读:7156回复:19
|
|
最新喜欢:![]() |
1楼#
发布于:2015-04-04 19:00
备份好,然后删除这三个place文件。重启火狐让它重建这几个文件,再添加书签测试一遍。怀疑这些文件损坏了。
|
|
|
2楼#
发布于:2015-04-04 19:06
firefox 正常退出时 places.sqlite-shm 和 places.sqlite-wal 都会自动删除
未删除则 firefox 仍未退出 |
|
|
3楼#
发布于:2015-04-04 19:19
|
|
4楼#
发布于:2015-04-04 19:21
|
|
5楼#
发布于:2015-04-04 19:35
这两个文件是SQLite 3.7某个版本后的特性,不是FF的问题。
我“退出”(三道杠菜单上面的)FF后,这两个文件也没删除。 但其它的数据库的却删除了。 我猜想是FF故意为之吧? 我备份时都用speedyfox这软件“优化”后才打包, 这个能去掉这两个文件 (至于你说的不同时备份这两个文件, 新添加书签消失的问题,没实际测试过用这方法能不能解决), 同时能减小这些数据库文件的体积。 |
|
6楼#
发布于:2015-04-04 19:45
|
|
7楼#
发布于:2015-04-04 19:58
|
|
8楼#
发布于:2015-04-04 20:09
|
|
9楼#
发布于:2015-04-04 20:54
|
|
10楼#
发布于:2015-04-04 21:36
https://www.sqlite.org/wal.html
In normal cases, new content is appended to the WAL file until the WAL file accumulates about 1000 pages (and is thus about 4MB in size) at which point a checkpoint is automatically run and the WAL file is recycled. The checkpoint does not normally truncate the WAL file (unless the journal_size_limit pragma is set). Instead, it merely causes SQLite to start overwriting the WAL file from the beginning. This is done because it is normally faster to overwrite an existing file than to append. When the last connection to a database closes, that connection does one last checkpoint and then deletes the WAL and its associated shared-memory file, to clean up the disk. |
|
|
11楼#
发布于:2015-04-04 21:44
|
|
12楼#
发布于:2015-04-04 22:00
https://bugzilla.mozilla.org/show_bug.cgi?id=686237
看起来是从34.0转async开始重现的 |
|
|
13楼#
发布于:2015-04-04 22:09
|
|
14楼#
发布于:2015-04-04 22:11
lonely_8:这两个文件是SQLite 3.7某个版本后的特性,不是FF的问题。看上面贴的那堆文本 wal(.sqlite-wal)和shared-memory file(.sqlite-shm)会在Checkpoint操作后被合并进.sqlite文件 如果firefox没有做特别设置 在firefox退出时 正确关闭最后一个到sqlite的connection会自动引发一次checkpoint操作并删除wal和shm 从之前的版本来看 firefox不应该有做过特别设置 不清楚speedyfox是怎么处理的 但是要备份 可以连同wal和shm一起备份 或者手动对sqlite进行操作(比如你说的VACUUM)并正确退出 就会引发之前说讲的checkpoint |
|
|
上一页
下一页