📦 valkey-doc
465 pages · page 2 of 3
L (continued)
- linsert(3valkey)Inserts an element before or after another element in a list.✨
- llen(3valkey)Returns the length of a list.✨
- lmove(3valkey)Returns an element after popping it from one list and pushing it to another. Deletes the list if the last element was moved.✨
- lmpop(3valkey)Returns multiple elements from a list after removing them. Deletes the list if the last element was popped.✨
- lolwut(3valkey)Displays computer art and the server version✨
- lpop(3valkey)Returns and removes one or more elements from the beginning of a list. Deletes the list if the last element was popped.✨
- lpos(3valkey)Returns the index of matching elements in a list.✨
- lpush(3valkey)Prepends one or more elements to a list. Creates the key if it doesn’t exist.✨
- lpushx(3valkey)Prepends one or more elements to a list only when the list exists.✨
- lrange(3valkey)Returns a range of elements from a list.✨
- lrem(3valkey)Removes elements from a list. Deletes the list if the last element was removed.✨
- lset(3valkey)Sets the value of an element in a list by its index.✨
- ltrim(3valkey)Removes elements from both ends a list. Deletes the list if all elements were trimmed.✨
M
- memory(3valkey)A container for memory diagnostics commands.✨
- memory-doctor(3valkey)Outputs a memory problems report.✨
- memory-help(3valkey)Returns helpful text about the different subcommands.✨
- memory-malloc-stats(3valkey)Returns the allocator statistics.✨
- memory-purge(3valkey)Asks the allocator to release memory.✨
- memory-stats(3valkey)Returns details about memory usage.✨
- memory-usage(3valkey)Estimates the memory usage of a key.✨
- mget(3valkey)Atomically returns the string values of one or more keys.✨
- migrate(3valkey)Atomically transfers a key from one instance to another.✨
- module(3valkey)A container for module commands.✨
- module-help(3valkey)Returns helpful text about the different subcommands.✨
- module-list(3valkey)Returns all loaded modules.✨
- module-load(3valkey)Loads a module.✨
- module-loadex(3valkey)Loads a module using extended parameters.✨
- module-unload(3valkey)Unloads a module.✨
- monitor(3valkey)Listens for all requests received by the server in real-time.✨
- move(3valkey)Moves a key to another database.✨
- mset(3valkey)Atomically creates or modifies the string values of one or more keys.✨
- msetnx(3valkey)Atomically modifies the string values of one or more keys only when all keys don’t exist.✨
- multi(3valkey)Starts a transaction.✨
O
- object(3valkey)A container for object introspection commands.✨
- object-encoding(3valkey)Returns the internal encoding of an object.✨
- object-freq(3valkey)Returns the logarithmic access frequency counter of an object.✨
- object-help(3valkey)Returns helpful text about the different subcommands.✨
- object-idletime(3valkey)Returns the time since the last access to an object.✨
- object-refcount(3valkey)Returns the reference count of a value of a key.✨
P
- persist(3valkey)Removes the expiration time of a key.✨
- pexpire(3valkey)Sets the expiration time of a key in milliseconds.✨
- pexpireat(3valkey)Sets the expiration time of a key to a Unix milliseconds timestamp.✨
- pexpiretime(3valkey)Returns the expiration time of a key as a Unix milliseconds timestamp.✨
- pfadd(3valkey)Adds elements to a HyperLogLog key. Creates the key if it doesn’t exist.✨
- pfcount(3valkey)Returns the approximated cardinality of the set(s) observed by the HyperLogLog key(s).✨
- pfdebug(3valkey)Internal commands for debugging HyperLogLog values.✨
- pfmerge(3valkey)Merges one or more HyperLogLog values into a single key.✨
- pfselftest(3valkey)An internal command for testing HyperLogLog values.✨
- ping(3valkey)Returns the server’s liveliness response.✨
- psetex(3valkey)Sets both string value and expiration time in milliseconds of a key. The key is created if it doesn’t exist.✨
- psubscribe(3valkey)Listens for messages published to channels that match one or more patterns.✨
- psync(3valkey)An internal command used in replication.✨
- pttl(3valkey)Returns the expiration time in milliseconds of a key.✨
- publish(3valkey)Posts a message to a channel.✨
- pubsub(3valkey)A container for Pub/Sub commands.✨
- pubsub-channels(3valkey)Returns the active channels.✨
- pubsub-help(3valkey)Returns helpful text about the different subcommands.✨
- pubsub-numpat(3valkey)Returns a count of unique pattern subscriptions.✨
- pubsub-numsub(3valkey)Returns a count of subscribers to channels.✨
- pubsub-shardchannels(3valkey)Returns the active shard channels.✨
- pubsub-shardnumsub(3valkey)Returns the count of subscribers of shard channels.✨
- punsubscribe(3valkey)Stops listening to messages published to channels that match one or more patterns.✨
Q
- quit(3valkey)Closes the connection.✨
R
- randomkey(3valkey)Returns a random key name from the database.✨
- readonly(3valkey)Enables read-only queries for a connection to a Valkey replica node.✨
- readwrite(3valkey)Enables read-write queries for a connection to a Valkey replica node.✨
- rename(3valkey)Renames a key and overwrites the destination.✨
- renamenx(3valkey)Renames a key only when the target key name doesn’t exist.✨
- replconf(3valkey)An internal command for configuring the replication stream.✨
- replicaof(3valkey)Configures a server as replica of another, or promotes it to a primary.✨
- reset(3valkey)Resets the connection.✨
- restore(3valkey)Creates a key from the serialized representation of a value.✨
- restore-asking(3valkey)An internal command for migrating keys in a cluster.✨
- role(3valkey)Returns the replication role.✨
- rpop(3valkey)Returns and removes one or more elements from the end of a list. Deletes the list if the last element was popped.✨
- rpoplpush(3valkey)Returns the last element of a list after removing and pushing it to another list. Deletes the list if the last element was popped.✨
- rpush(3valkey)Appends one or more elements to a list. Creates the key if it doesn’t exist.✨
- rpushx(3valkey)Appends one or more elements to a list only when the list exists.✨
S
- sadd(3valkey)Adds one or more members to a set. Creates the key if it doesn’t exist.✨
- save(3valkey)Synchronously saves the database(s) to disk.✨
- scan(3valkey)Iterates over the key names in the database.✨
- scard(3valkey)Returns the number of members in a set.✨
- script(3valkey)A container for Lua scripts management commands.✨
- script-debug(3valkey)Sets the debug mode of server-side Lua scripts.✨
- script-exists(3valkey)Determines whether server-side Lua scripts exist in the script cache.✨
- script-flush(3valkey)Removes all server-side Lua scripts from the script cache.✨
- script-help(3valkey)Returns helpful text about the different subcommands.✨
- script-kill(3valkey)Terminates a server-side Lua script during execution.✨
- script-load(3valkey)Loads a server-side Lua script to the script cache.✨
- script-show(3valkey)Show server-side Lua script in the script cache.✨
- sdiff(3valkey)Returns the difference of multiple sets.✨
- sdiffstore(3valkey)Stores the difference of multiple sets in a key.✨
- select(3valkey)Changes the selected database.✨
- set(3valkey)Sets the string value of a key, ignoring its type. The key is created if it doesn’t exist.✨
- setbit(3valkey)Sets or clears the bit at offset of the string value. Creates the key if it doesn’t exist.✨
- setex(3valkey)Sets the string value and expiration time of a key. Creates the key if it doesn’t exist.✨
- setnx(3valkey)Set the string value of a key only when the key doesn’t exist.✨
- setrange(3valkey)Overwrites a part of a string value with another by an offset. Creates the key if it doesn’t exist.✨
- shutdown(3valkey)Synchronously saves the database(s) to disk and shuts down the server.✨
- sinter(3valkey)Returns the intersect of multiple sets.✨
- sintercard(3valkey)Returns the number of members of the intersect of multiple sets.✨
- sinterstore(3valkey)Stores the intersect of multiple sets in a key.✨
- sismember(3valkey)Determines whether a member belongs to a set.✨
- slaveof(3valkey)Sets a server as a replica of another, or promotes it to being a primary.✨
- slowlog(3valkey)A container for slow log commands.✨
- slowlog-get(3valkey)Returns the slow log’s entries.✨
- slowlog-help(3valkey)Show helpful text about the different subcommands✨
- slowlog-len(3valkey)Returns the number of entries in the slow log.✨
- slowlog-reset(3valkey)Clears all entries from the slow log.✨
- smembers(3valkey)Returns all members of a set.✨
- smismember(3valkey)Determines whether multiple members belong to a set.✨
- smove(3valkey)Moves a member from one set to another.✨
- sort(3valkey)Sorts the elements in a list, a set, or a sorted set, optionally storing the result.✨
- sort_ro(3valkey)Returns the sorted elements of a list, a set, or a sorted set.✨
- spop(3valkey)Returns one or more random members from a set after removing them. Deletes the set if the last member was popped.✨
- spublish(3valkey)Post a message to a shard channel✨
- srandmember(3valkey)Get one or multiple random members from a set✨
- srem(3valkey)Removes one or more members from a set. Deletes the set if the last member was removed.✨
- sscan(3valkey)Iterates over members of a set.✨
- ssubscribe(3valkey)Listens for messages published to shard channels.✨
- strlen(3valkey)Returns the length of a string value.✨
- subscribe(3valkey)Listens for messages published to channels.✨
- substr(3valkey)Returns a substring from a string value.✨
- sunion(3valkey)Returns the union of multiple sets.✨
- sunionstore(3valkey)Stores the union of multiple sets in a key.✨
- sunsubscribe(3valkey)Stops listening to messages posted to shard channels.✨
- swapdb(3valkey)Swaps two databases.✨
- sync(3valkey)An internal command used in replication.✨
T
- time(3valkey)Returns the server time.✨
- touch(3valkey)Returns the number of existing keys out of those specified after updating the time they were last accessed.✨
- ttl(3valkey)Returns the expiration time in seconds of a key.✨
- type(3valkey)Determines the type of value stored at a key.✨
U
- unlink(3valkey)Asynchronously deletes one or more keys.✨
- unsubscribe(3valkey)Stops listening to messages posted to channels.✨
- unwatch(3valkey)Forgets about watched keys of a transaction.✨
V
- valkey(7)Valkey Documentation✨
- valkey-acl(7)ACL✨
- valkey-admin(7)Administration Valkey setup tips Linux • Deploy Valkey using the Linux operating system. Valkey is also regularly tested on macOS and FreeBSD, and from time to time on other OpenBSD, NetBSD…✨
- valkey-ARM(7)ARM support✨
- valkey-atomic-slot-migration(7)Atomic slot migration✨
- valkey-bitfields(7)Bitfields✨
- valkey-bitmaps(7)Bitmaps✨
- valkey-bloomfilters(7)Bloom Filters✨
- valkey-client-side-caching(7)Client-side caching✨
- valkey-clients(7)Client handling✨
- valkey-cluster-spec(7)Cluster specification✨
- valkey-cluster-tutorial(7)Cluster tutorial✨
- valkey-command-arguments(7)Command arguments✨
- valkey-command-tips(7)Command tips✨
- valkey-commands(7)The full list of Valkey commands✨
- valkey-data-types(7)Data types✨
- valkey-debugging(7)Debugging✨
- valkey-distlock(7)Distributed Locks✨
- valkey-encryption(7)TLS✨
- valkey-eval-intro(7)Scripting with Lua✨
- valkey-faq(7)FAQ How is Valkey different from other key-value stores? • Valkey has a different evolution path in the key-value DBs where values can contain more complex data types, with atomic operations…✨
- valkey-functions-intro(7)Functions✨
- valkey-geospatial(7)Geospatial✨
- valkey-hashes(7)Hashes✨
- valkey-history(7)History✨
- valkey-hyperloglogs(7)HyperLogLog✨
- valkey-indexing(7)Secondary indexing✨
- valkey-installation(7)Installation✨
- valkey-introduction(7)Introduction✨
- valkey-key-specs(7)Command key specifications✨
- valkey-keyspace(7)Keyspace✨
- valkey-latency(7)Diagnosing latency issues✨
- valkey-latency-monitor(7)Latency monitoring✨
- valkey-ldap(7)LDAP Authentication✨
- valkey-ldb(7)Debugging Lua scripts✨
- valkey-license(7)License Please refer to license for Valkey licensing information.✨
- valkey-lists(7)Lists✨
- valkey-lru-cache(7)Key eviction✨
- valkey-lua-api(7)Lua API reference✨
- valkey-mass-insertion(7)Bulk loading✨
- valkey-memory-optimization(7)Memory optimization Special encoding of small aggregate data types Many data types are optimized to use less space up to a certain size. Hashes, Lists, Sets composed of just integers, and Sorted…✨
- valkey-migration(7)Migration from Redis to Valkey✨
- valkey-modules-api-ref(7)Modules API reference✨
- valkey-modules-blocking-ops(7)Modules and blocking commands✨
- valkey-modules-intro(7)Modules Introduction✨
- valkey-modules-native-types(7)Modules API for native types✨
- valkey-notifications(7)Keyspace notifications✨
- valkey-performance-on-cpu(7)CPU profiling Filling the performance checklist Valkey is developed with a great emphasis on performance. We do our best with every release to make sure you’ll experience a very stable and fast…✨
- valkey-persistence(7)Persistence✨
- valkey-pipelining(7)Pipelining✨
- valkey-problems(7)Troubleshooting Valkey✨
- valkey-programmability(7)Programmability✨
- valkey-protocol(7)Serialization protocol specification✨
- valkey-pubsub(7)Pub/Sub✨
- valkey-quickstart(7)Quick start guide Getting Started with Valkey What is Valkey? Valkey is a fully open-source, in-memory data store backed by the Linux Foundation, offering microsecond-latency operations on rich data…✨
- valkey-RDMA(7)RDMA experimental support✨
- valkey-releases(7)Releases and versioning schema✨
- valkey-replication(7)Replication✨
- valkey-search(7)Valkey Search✨
- valkey-security(7)Security✨
- valkey-sentinel-clients(7)Sentinel client spec✨
- valkey-sets(7)Sets✨
- valkey-signals(7)Signal handling✨
- valkey-sorted-sets(7)Sorted Sets✨
- valkey-streams-intro(7)Streams✨
💅
getting it ready, bestie…