bgrewriteaof

PHP Redis

bgrewriteaof

Description

Starts the background rewrite of AOF (Append-Only File)

使用aof来进行数据库持久化。

Parameters

None.

Return value

BOOLTRUE in case of success, FALSE in case of failure.

Example
$redis->bgrewriteaof();