Redis Common management Commands

Redis Common management commands: bgrewriteaof Asynchronously (asynchronously) rewrites the AoF file to reflect the state of the current database. Even if the bgrewriteaof command fails, the data in the old aof file will not be lost or changed.

Redis principle of Master-slave synchronization

1. Overview The overall process is summarized as follows:1. InitializeAfter configuring the master, the slave sends the Psync command to master, whether slave is first or reconnected to master.If you are reconnecting and the conditions for

Redis command details and use of scene examples--connection (connection)

redis-cli-h URL [-p] Client Connection Redis-H Specify Redis address-p port number, default 3306 AUTH password You can use a password to protect the Redis server by setting the value of the Requirepass item in the configuration file (using the

Principle and application of Redis (1)--data type and the implementation method of the bottom layer

Redis is a key-value storage system that is now used more and more in a variety of systems, mostly because of its high-performance features, and is used as a cache. Redis can also be applied to other scenarios because of its rich data structure.

Remove all Redis keys

Delete key in bulk There is a command DEL that removes a single key in Redis, but it seems there is no instruction to delete the key in bulk, but we can do this with the Linux xargs command. 1 2 3 Redis-cli-h ip-p Port Keys "*" |

Introduction to Redis Transactions

1 What is Redis transaction Redis provides transactional functionality through multi, EXEC, discard, and watch commands. Redis transactions provide a one-time, sequential mechanism for executing commands, and do not interrupt the transaction to

Redis cluster unavailable resolution and data backup and recovery due to IP changes

Open the computer today, connect Redis, found that the connection is not on ... The reason is that the host could not be found ... View virtual machine IP, discover IP changed ... So the thought of configuring a Redis cluster before, the IP

About Redis 4.0 new features

Antirez, the author of Redis, released the first RC version of Redis 4.0 in a blog post three days ago through the blogger candidate of Redis 4.0 was out, which he said in a blog post, because the new version of the There have been a number of

Redis Learning--Persistent data backup (RDB and AOF)

Next: Installation of the Redis,redis Visual management tool (Redis Desktop Manager) under Windows Setup, Basic use, instantiation of the project I. How the Dump.rdb file was generated Ii. What is Redis persistence Iii. What is the RDB for

Comparison of Redis, Memcache, MongoDB (reprint)

From:http://yang.u85.us/memcache_redis_mongodb.pdfA comparison of Redis, Memcache, and MongoDB is made from the following dimensions.1. Performanceare relatively high, performance should not be a bottleneck for us.In general, TPS is about the same

Django uses memcached and Redis as the cache configuration (Linux environment)

1 Installing memcached Installation with memcached1.1 (Linux)sudo apt install memcachedStart#方式一:service memcached start# 方式二:/usr/bin/memcached -u memcache -m 1024 -p 11222 -l 0.0.0.0 -d start -D: This parameter is for memcached to

Spring Data Redis Serialization

The Redis cache data used in Spring can be directly manipulated via redistemplate or @cacheable annotations (as described in another article: Spring cachable key definition and application). Regardless of the method used, the key, value is

Redis single-node installation and cluster installation

Single point of installationwget http://download.redis.io/releases/redis-4.0.2.tar.gztar zxvf redis-4.0.1.tar.gz -C /usr/localcd /usr/local/redis-4.0.2makemake testmake PREFIX=/usr/local/redis installcd /usr/local/redismkdir conf log datacd

Redis, MongoDB, hbase, and MySQL databases on the node. js Platform

  I. MongoDB: Because 10gen is one of the sponsors, MongoDB has good support for node. js. A. Basic Support: node. js provides two common components for MongoDB. Mongoose. (1) MongoDB-based support. This for node. js driver is event-driven,

[Erlang 0019] redis protocol interpretation and implementation (. NET & Erlang)

Redis has adopted the new unified protocol since version 1.2 and has become the standard mode for interaction with redis server since version 2.0. The redis protocol is a compromise that balances the following requirements: Simple

Install and use redis

IntroductionRedis is an open-source key-value database. Its value not only includes the basic string type, but also supports the list, set, sorted set, and hash types. Official redis Website:On the official redis website, the redis client is

Redis sets types and operations

Sets types and operationsSet is a collection, which is an unordered set of the string type. Using hash table, the complexity of adding, deleting, and searching is zero (1 ). For a set, we can achieve the Union of communication and difference sets.

[Redis] Quick configuration and use of redis

Bytes --------------------------------------------------------------------------------------------------- Redis is open-source, BSD Protocol, cache and database in the form of key-value, which is often called a Data Structure server. redis has five

Redis document for nosql Learning (1)

I. Introduction: In the past few years, nosql databases have become synonymous with high concurrency and massive data storage solutions, and their corresponding products have sprung up. However, only a few products stand out, such as redis, MongoDB,

Comparison of Different memory distributor fragmentation rates in redis

We know that redis does not implement its own memory pool and does not add its own stuff to the standard system memory distributor. Therefore, the performance and fragment rate of the system memory distributor may affect redis performance.In redis's

Total Pages: 315 1 .... 53 54 55 56 57 .... 315 Go to: GO

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.