본문으로 바로 가기
kitlocal.dev

Redis 명령어 참조

로컬에서 실행

100% 브라우저에서 처리됩니다. 입력과 출력이 기기 밖으로 나가지 않습니다.

예제가 포함된 검색 가능한 Redis 명령어 참조.

동작 원리

Redis is a single-threaded in-memory data-structure store: choose atomic O(1)/O(log N) operations per type, always prefer `SCAN`/`HSCAN`/`SSCAN`/`ZSCAN` over blocking `KEYS *`, and cap hot keys with TTL.

서바이벌 키트

가장 먼저 배워야 할 몇 가지 명령어입니다.

43개 명령어

키보드 단축키/검색창 포커스JK선택 이동C선택 항목 복사F선택 항목 북마크Esc검색 지우기

Keys, TTL & Strings

Store caches, distribute atomic locks (`SET ... NX EX`), counters, and expire keys.

  • 기본

    Verify Redis connectivity and measure round-trip liveness (`PONG`)

    PING [message]

    사용 시점

    Standard healthcheck command returning `PONG` (or echoing optional message).

    예제

    PING

    결과

    PONG

Hashes & Lists

Model multi-field objects compactly with Hashes and build FIFO queues/caps with Lists.

Sets, Sorted Sets & HyperLogLog

Track unique members, leaderboards, sliding-window rate limits, and cardinality.

Streams, Pub/Sub & Transactions

Publish realtime messages, consume persistent streams, and run atomic MULTI/EXEC.

Non-Blocking Scan, Memory & Ops

Inspect keys safely in production, check slow logs, memory usage, and persistence.

KitLocal 도구에서 사용해 보기

2026. 11. 15.에 확인됨 · Redis 7.x CLI & Core Data Structures 기준으로 확인됨

출처: Redis Commands Reference · Redis Data Types Guide

꺾쇠괄호 안의 내용을 본인의 값으로 바꾸세요. 명령어는 공식 문서에서 가져왔으며, 예제는 명시된 버전에서 실행되었습니다.