Skip to main content

Showing tag results for valkey-cli

Posts

0 comments 0 reactions

Valkey Key Naming Conventions: How to Name Your Keys

Jagdish Kumawat

Valkey has no tables, so key names carry the structure. Use object:id:field, keep names readable but short, and find related keys with SCAN.

  • Database
  • Valkey
0 comments 0 reactions

How to Check Your Valkey Version

Jagdish Kumawat

Check your Valkey version three ways: valkey-server --version, valkey-cli --version and the INFO server command.

  • Database
  • Valkey
0 comments 0 reactions

Valkey FLUSHDB vs FLUSHALL: What’s the Difference?

Jagdish Kumawat

FLUSHDB empties only the database you’re in, while FLUSHALL empties every database on the server. Here’s each one, with real output.

  • Database
  • Valkey
0 comments 0 reactions

How to Switch Databases in Valkey with SELECT

Jagdish Kumawat

Switch between Valkey’s numbered databases with SELECT, and see from the valkey-cli prompt which one you’re using.

  • Database
  • Valkey
0 comments 0 reactions

Valkey KEYS vs SCAN: Which Should You Use?

Jagdish Kumawat

KEYS and SCAN both list keys in Valkey, but KEYS makes the server wait until it’s done. Here’s the difference, with the same keys listed both ways.

  • Database
  • Valkey
0 comments 0 reactions

How to Connect to Valkey with valkey-cli

Jagdish Kumawat

Connect valkey-cli to Valkey on your own computer, to a host and port, to a numbered database or with a valkey:// URI, and leave it again with exit.

  • Database
  • Valkey