REDIS
Redis
Redis is an opensource data structure store, it is distributed under BSD license. Redis stands for Remote DIctionary Server. Redis is extremely fast Inmemory data store. It does not support SQL and that makes it much faster. Redis store the data in Key value pair. Accessing the data based on key. Data can be any binary data. Redis support different data structure like abstract data structures, such as strings, lists, maps, sets, sorted sets, hyperloglogs, bitmaps, streams and spatial indexes. Along with inmemory data structure, it also support storing the data on disk for persistency, with little compromise on speed. Almost all languages provide the interface towards redis for storing and accessing data.
How It Works
- The MySQL server is the manager of the database system. It handles all your database instructions.
- The MySQL server then creates a subdirectory in its data directory, names the new subdirectory newdata, and puts the necessary files with the required format into the newdata subdirectory.
- Eliminate manual database management
- The MySQL server is usually set up so that it starts when the computer starts and continues running all the time. This is the usual setup for a website.
- MySQL along with a myriad of other databases store data and indexes so that you can access the data quickly, zeroing in on the piece of information you are looking for by accessing the index that gets you to it the fastest.
- The MySQL Database Software is a client/server system that consists of a multithreaded SQL server that supports different back ends, several different client programs and libraries, administrative tools, and a wide range of application programming interfaces (APIs).
Why MySQL?
The database is free and open source with a commercial license available (MySQL is now owned by Oracle after they bought Sun). Common applications for MySQL include php and java based web applications that require a DB storage backend, e.g. Dokuwiki, Joomla, xwiki etc
MySQL has one major advantage, since it is free, it is usually available on shared hosting packages and can be easily set up in a Linux, Unix or Windows environment. If a web application requires more than database, requires load balancing or sharding