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 […]
Category Archives: memcached
Memcached – Get Data Memcached get command is used to get the value stored at key. If the key does not exist in Memcached, then it returns nothing. Syntax The basic syntax of Memcached get command is as shown below − get key Example In the following example, we use tutorialspoint as the key and […]
Memcached – Stats Slabs Memcached stats slabs command displays slabs statistics such as size, memory usage, commands, count etc. organized by slabs ID. Syntax The basic syntax of Memcached stats slabs command is as shown below − stats slabs Example stats slabs STAT 1:chunk_size 96 STAT 1:chunks_per_page 10922 STAT 1:total_pages 1 STAT 1:total_chunks 10922 STAT […]