且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Arangodb日志日志文件

更新时间:2023-09-04 11:09:52

您引用的是提前写入日志文件,至少是暂时保留数据的文件.

You're referencing the Write Ahead Logfiles which are at least temporarily the files your data is kept in.

因此,只要您仍然希望数据完整无缺,将它们自己删除是一个非常不好的主意.

So its a very bad idea to remove them on your own, as long as you still like your data to be intact.

使用文件是为了使文档可以连续地写入磁盘.系统闲置后,聚合器作业将从文档中挑选文档并将其移至您的数据库文件中.

The files are used so documents can be written to disk in a contineous fashion. Once the system is idle, the aggregator job will pick the documents from them and move them over into your database files.

您可以找到关于其他人未选择这种架构方法的情况和数据的有趣文档被直接写入磁盘上的数据文件中,然后这会对您的系统产生什么影响.

You can find interesting documentation of situations where others didn't choose such an architectural approach, and data was written directly into their data files on the disk, and what this then does to your sytem.

将WAL文件中的所有文档都移入db文件后,ArangoDB将删除分配的空间.

Once all documents in a WAL-file have been moved into db files, the ArangoDB will remove the allocated space.