Last-modified: 2014-10-07 (火) 01:09:47
redis/チートシート

コンソール

コンソールへ入る

Everything is expanded.Everything is shortened.
  1
 
redis-cli

キー一覧を取得

Everything is expanded.Everything is shortened.
  1
 
keys *

値を設定

Everything is expanded.Everything is shortened.
  1
 
set <キー名> <値>

値を取得

Everything is expanded.Everything is shortened.
  1
 
get <キー名>

メンテナンス

rdbバージョン確認

Everything is expanded.Everything is shortened.
  1
 
redis-check-dump <rdbファイルパス>