-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add a feature like Redis hget hset #226
Comments
Like this?
|
thank you for your answer i store something like this in redis r.hset('chat1', 'sararh', 5436) chat1 have over 100000 users r.hset('chat2', 'bill', 5456) I think your example almost that i want But I think this method is not suitable when our data has a large number of values (users) I need and in Redis I can update thousands of users every second |
Ah, I see. I think you would probably want to use sub-databases for that:
(and you should be able do many thousands of puts per second). |
Because I have thousands of chats i don't know it's not problem i openDB all of them or not Now when we use
With this feature, we can easily and quickly have similar features redis sadd, srem, scard, sismember, smembers If we had an option like this to create a simple nested keys like redis hset on one db it would be very interesting |
Ah, ok, you can also use multi-value keys like this:
Each of these will be separate entries in the database (so |
It would be great if you could add a feature like Redis hget hset to lmdb
The text was updated successfully, but these errors were encountered: