Memcached – Delete Key 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 [noreply] Output CAS command may produce one of the following result − DELETED indicates successful deletion. ERROR indicates error while deleting data […]
Category Archives: memcached
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 – […]
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 […]