A. Redis
The first to be introduced
Non-relational database, is nosql (not only sql) database
redis memory is a type of non-relational databases
Database: Data storage
Non-relational: it means she did not like mysql.oracle table, there is no external examination.
Memory type: The main memory is used to store data instead mysql.oracle is a relational database φ (≧ ω ≦ *) ♪
Use memory to store data:
1. query efficiency is very high, memory, hard disk is much higher than the rate
2.redis the memory backup to the hard disk, support for persistent memory (ps: the computer is shut down because the data will not restart disappear )
Note:! While redis very good but still with a relational database-based (mysql.Oracle), supplemented with Redis
Below began to teach that you install the database redis ↓
Put something for everyone!
Link: https: //pan.baidu.com/s/1ddp1H5f_n6A-_3Slmqs7jg
extraction code: 7nw7
Follow my steps to operate *
1. Extract the installation package
Like this is very simple ^ _ ^!
2. modify the configuration file, so that redis support AOF persistence
Found 581 lines found aendonly NO -> aendonly yes
After you have finished changing
Note that this is not a drill!
It is not black out the window
Input black window redis-server redis.windows.conf
4. Open the redis client command line window
5. Test redis access command
set key value
get key
I do not like to use the command line? ( Are you afraid of is the devil of it! )
Too good, I'll give you a visualization window ^ ^ .`
Link: https: //pan.baidu.com/s/1fWVqU0lmeUz70IXOXsEUYA
extraction code: h96y
1. Double-click to open the Redis client
Instructions:
2.
-------------------------------------------------- ------------- eND (end) --------------------------------- ------------------------------