Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Redis Database Tutorial
Rating: 4.5 out of 5(175 ratings)
19,711 students

Redis Database Tutorial

redis commands for beginners
Created byFrank Anemaet
Last updated 8/2021
English
English [Auto],

What you'll learn

  • How to install Redis
  • How to configure Redis
  • How to use the Redis database
  • How to use the Redis-cli

Course content

1 section9 lectures35m total length
  • Introduction2:53

    Discover how Redis operates as a fast in-memory key-value database, storing unique keys and values, and enabling retrieval via the command line or programming languages.

  • Install2:56

    Install the Redis server on your Linux system using your package manager (Ubuntu, Debian, Fedora), then verify it with redis-cli to confirm the installation.

  • Config values4:03

    Start the Redis server, access the command line interface, and use config gets and config set to view and modify configuration values such as log level and memory settings.

  • Strings and lists7:07

    Learn how to store and retrieve data in Redis using key-value pairs for strings and manage lists with lpush and rpush, including indexing and range retrieval.

  • Hashes4:51

    Explore how Redis hashes store objects as key-field mappings, using commands like HMSET, HGET, and HMGET to set and retrieve multiple fields such as price, size, and location.

  • Sets4:14

    Explore how sets in Redis store unique values, unordered collections that prevent duplicates, and how to add and view members using the command line interface, contrasting sets with lists.

  • Sorted sets3:05

    Redis sets store unique values without preserving insertion order, while sorted sets (zset) enforce order by using z commands, allowing indexed item placement.

  • Transactions1:56

    Learn how a transaction groups multiple commands into a single step, enabling bulk execution or discard and verifying results with subsequent gets.

  • Server info3:55

    Learn how Redis uses a server to handle database operations, check status with ping, and retrieve memory, server, and client statistics using info and its sections.

Requirements

  • Have a Linux computer available

Description

The Redis database is a networked, in-memory, key-value database. It uses a different paradigm than the commonly use SQL database systems.

The Redis database can store diverse kinds of data (strings, hashes, lists, sets, sorted sets, bitmaps), and support different kinds of operations (hashes, lists, sets, sorted sets, bitmaps) on the data.

It is written in ANSI C and can be used on all major operating systems. The Redis database has been running since December 2007 and in the last 5 years it has been downloaded more than 1.5 million times.

As a developer, I have used Redis on a number of projects. It is an excellent choice for projects that require ultra-fast data access. Redis is in-memory, which means that it stores all its data in memory, so writing to Redis is fast. Since memory is so much faster than disk access, this means that Redis' data access is very efficient.

In this course you will learn how to use the Redis database, how to install it, and many other options. It is a course for beginners, no prior knowledge about databases is required. You will learn how to use the redis command line interface and a lot more.


Who this course is for:

  • Developers that want to learn to use the Redis database
  • Developers that want to learn a new paradigm besides SQL databases