Database.Guide

Skip to content

Beginners

  • What is a Database?
  • Database Tutorial

SQL

  • SQL Tutorial
  • SQL Reference
  • SQL Joins Tutorial
  • SQL Transactions Tutorial
  • Basic SQL Queries

Categories

  • Azure SQL Edge (17)
  • Database Concepts (99)
  • Database Tools (72)
  • DBMS (9)
  • DuckDB (126)
  • MariaDB (424)
  • Microsoft Access (17)
  • MongoDB (265)
  • MySQL (602)
  • NoSQL (8)
  • Oracle (301)
  • PostgreSQL (480)
  • Redis (210)
  • SQL (697)
  • SQL Server (1,169)
  • SQLite (298)

Tag: commands

Redis EXPIRETIME Command Explained

Posted on June 25, 2022June 27, 2022 by Ian

The Redis EXPIRETIME command returns the absolute Unix timestamp in seconds at which the given key will expire. This is the number of seconds since 00:00:00 UTC on 1 January 1970 until the expiry time of the key.

The EXPIRETIME command was introduced in Redis 7.0.0.

Continue reading →
Redis commands, what is

Redis EXPIREAT Command Explained

Posted on June 24, 2022June 27, 2022 by Ian

The Redis EXPIREAT command sets a timeout as a Unix timestamp on a given key. It works the same as the EXPIRE command, but with an absolute Unix timestamp instead of a time interval in seconds (which EXPIRE uses).

Continue reading →
Redis commands, what is

Redis PEXPIREAT Command Explained

Posted on June 24, 2022June 27, 2022 by Ian

The Redis PEXPIREAT command sets a timeout as a Unix timestamp on a given key in milliseconds. It works the same as the EXPIREAT command, except that it sets the timeout in milliseconds instead of seconds.

It’s also similar to the PEXPIRE command, but with an absolute Unix timestamp instead of a time interval.

Continue reading →
Redis commands, what is

Redis PEXPIRE Command Explained

Posted on June 23, 2022June 27, 2022 by Ian

The Redis PEXPIRE command sets a timeout on a given key in milliseconds. After the timeout has expired, the key will be deleted.

The PEXPIRE command works exactly the same as the EXPIRE command, except that it returns the timeout in milliseconds instead of seconds.

Continue reading →
Redis commands, what is

Redis EXPIRE Command Explained

Posted on June 23, 2022June 27, 2022 by Ian

The Redis EXPIRE command sets a timeout on a given key in seconds. After the timeout has expired, the key will be deleted.

Redis also has a PEXPIRE command that works the same as EXPIRE, except that it returns the timeout in milliseconds instead of seconds.

A key with a timeout is said to be volatile in Redis terminology.

Continue reading →
Redis commands, what is

Redis STRLEN Command Explained

Posted on June 22, 2022 by Ian

In Redis, the STRLEN command returns the length of the string stored at a given key.

Continue reading →
Redis commands, string, what is

Redis PSETEX Command Explained

Posted on June 21, 2022 by Ian

The Redis PSETEX command sets a key to hold a given string value, and sets that key to time out after a given number of milliseconds.

Continue reading →
Redis commands, string, what is

Redis SETEX Command Explained

Posted on June 21, 2022 by Ian

In Redis, the SETEX command sets a key to hold a given string value, and sets that key to time out after a given number of seconds.

Continue reading →
Redis commands, string, what is

Redis APPEND Command Explained

Posted on June 20, 2022 by Ian

In Redis, the APPEND command appends a given value to the end of the value of a specified key.

If the key doesn’t exist, APPEND creates the key with the empty string and appends the value to it (so it basically works like the SET command in this case).

Continue reading →
Redis commands, string, what is

Redis GETDEL Command Explained

Posted on June 19, 2022 by Ian

The Redis GETDEL command gets the value of a given key, then deletes that key. It’s similar to the GET command, except that it deletes the key on success (the GET command doesn’t delete the key – it only returns its value).

An error is returned if the value stored at key is not a string.

The GETDEL command was introduced in Redis 6.2.0.

Continue reading →
Redis commands, string, what is
  • «
  • 1
  • …
  • 11
  • 12
  • 13
  • 14
  • »

About Database.Guide | Privacy Policy