NoSQL (not just SQL), meaning anti-SQL movement, is a new revolutionary movement of the database. It refers to the Philippine relational database. With the rise of internet web2.0 website, the traditional relational database in coping with web2.0 website, especially the web2.0 pure dynamic website of ultra-large-scale and high-concurrency SNS type, has been unable to overcome, exposing a lot of difficult problems, and the non-relational database has been developed very rapidly because of its own characteristics. NoSQL databases are created to address the challenges of multiple data types in large-scale data sets, especially big data application challenges.
Although the NoSQL buzzwords have been burning for just a year, there is no denying that the second generation movement has begun. Although the early stack code can only be considered an experiment, the present system is more mature and stable. But now there is a grim fact: technology is getting more mature--so much so that the good NoSQL data store has to be rewritten, and a few think it's called version 2.0. Here are some of the more well-known tools to build fast, extensible repositories for big data.
NoSQL is stored in the form of key-value, unlike traditional relational databases, which do not necessarily follow some of the basic requirements of traditional databases, such as following the SQL standard, ACID properties, table structure and so on, such databases have the following characteristics: non-relational, distributed, open source, horizontally extensible.
NoSQL can handle very large databases, run on inexpensive PC server clusters, and smash performance bottlenecks.
High-concurrency reading and writing of data, efficient storage and access to massive amounts of data, high scalability and high availability of data
Redis is an open-source, Advanced Key-value store. It is commonly referred to as a data structure server because keys can contain strings, hashes, linked lists, collections, and ordered combinations. It supports a large number of stored value types, including string, list, set, Zset. These data types support Push/pop, Add/remove, and intersection and assembly and richer operations, and Redis supports sorting in a variety of different ways. To ensure efficiency, the data is cached in memory, and it can periodically write updated data to disk or write modifications to the appended record file.
Take up the latest n data operations, leaderboard applications, top n operations, applications that need to set the expiration time accurately, counter applications, uniq operations, get all data dump values for a certain period of time, real-time systems, anti-spam systems, pub/sub build real-time messaging systems, build queue systems, caches, and more.
- The similarities and differences between Redis and MySQL
Both Redis and MySQL have the concept of a library. MySQL has the concept of a table, there is the concept of a field, there is the concept of a row, Redis does not exist the concept of a table, there is no field, row, column concept.
First knowledge of Redis