AOF 代表什么?

What does AOF stand for?

我找到了this page,说

All paid plans have AOF enabled to log write operations every second as well as RDB backups to S3 daily or on-demand.

我知道 RDB 是关系数据库,但是 AOF 在这个上下文中是什么意思?

仅追加文件

因为没有查找或重写,所以它通常不受脏关机引起的损坏问题的影响。

Redis 使用 AOF 进行持久化,并且在他们的用例中有一篇很好的文章 advantages/disadvantages:http://redis.io/topics/persistence

Append Only File

the AOF persistence logs every write operation received by the server, that will be played again at server startup, reconstructing the original dataset. Commands are logged using the same format as the Redis protocol itself, in an append-only fashion. Redis is able to rewrite the log on background when it gets too big.