Sometime ago I created the redis-faq, a small list of common or not so
common questions coming up in the
#redis channel on freenode.
There’s not much on it yet, but I would like to extend it whenever possible.
If you have something you want to add just ping me on twitter or on freenode (
For now these are the only things in there so far:
Q: X is weird in my instance. Can you help?
Maybe. To better help please give the following info:
- Output of
- Output of
redis-cli CONFIG GET '*'
Q: I want to use SELECT to seperate my data. Is this a good idea?
Just use seperate instances or use namespacing (often used:
Q: I have some data and need to retrieve it by date. How to to that?
Q: I installed a new version, but
redis-cli info server still shows the old one
- Make sure the old instance is already stopped.
ps aux | grep [r]edis-servershould only list one PID.
- Make sure you’re starting redis from the right path (if installed manually it might be different than when installed from your package manager)
- Make sure you’re connecting to the right port. It is possible to run multiple instances on different ports (default port is 6379)
Q: I have a background in SQL. Now I’m looking into how I can use Redis. Anything I need to consider?
If you’re used to SQL, storing data in Redis is more like creating the indexes for your SQL schema (from: brycebaril)