Automatic rewriting of AOF

20 views
Skip to first unread message

Raju Divakaran

unread,
Apr 12, 2017, 10:49:08 AM4/12/17
to Redis DB
Hello,

I am maintaining a redis stand alone instances, which is having near to 17GB of data, with AOF enabled.

appendfsync everysec

no-appendfsync-on-rewrite yes

auto-aof-rewrite-percentage 100
auto-aof-rewrite-min-size 64mb


Above are the settings am having for it.

I have started noticing that any time when then AOF diff is more than 900 MB, it takes more time to finish the automatic rewriting and also redis blocks client connections.

Can anyone please suggest me a way to avoid this !? One thing that I thought of is to change auto-aof-rewrite-percentage to 50. 

Thanks
Reply all
Reply to author
Forward
0 new messages