Memcached Clear Data
# Memcached flush_all Command
The Memcached flush_all command is used to clear all **key=>value (key=>value)** pairs from the cache.
This command provides an optional parameter **time**, which is used to execute the cache clearing operation after a specified time.
### Syntax:
The basic syntax format for the flush_all command is as follows:
flush_all
### Example
Clearing the cache:
set 0 900 9 memcached STORED get VALUE 0 9 memcached END flush_all OK get END
YouTip