bgrewriteaof 命令/方法/函数

Description

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

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


Parameters

None.


Return value

BOOL: TRUE in case of success, FALSE in case of failure.


Example

$redis->bgrewriteaof();