0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Rails consoleでsidekiqが使っているredisの中身を見る調査コマンド

Posted at

個人的メモ。

sidekiqが使っているredisの中身を見ることになったのでその調査メモ。

調査コマンド

redis info

Sidekiq.redis_info

後述するキーの数もこれでとれる

キーの数を取得する

Sidekiq.redis {|a| a.info "Keyspace" }

キーの中身をすべて見る

キーの中身がたくさんあると危険なので、数を調査してから取得する

Sidekiq.redis {|a| a.keys "*" }
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?