Memcached – Delete data Memcached delete command is used to delete an existing key from the Memcached server. Syntax The basic syntax of Memcached delete command is as shown below − delete key If the key is successfully deleted, then it returns DELETED. If the key is not found, then it returns NOT_FOUND, otherwise it […]
Author Archives: user
Memcached – Stats Items Memcached stats items command is used to get items statistics such as count, age, eviction, etc. organized by slabs ID. Syntax The basic syntax of Memcached stats items command is as shown below − stats items Example stats items STAT items:1:number 1 STAT items:1:age 7 STAT items:1:evicted 0 STAT items:1:evicted_nonzero 0 […]
Memcached – Increment Decrement Data Memcached incr and decr commands are used to increment or decrement the numeric value of an existing key. If the key is not found, then it returns NOT_FOUND. If the key is not numeric, then it returns CLIENT_ERROR cannot increment or decrement non-numeric value. Otherwise, ERROR is returned. Syntax – […]