Recently I am learning again and honestly very much and dying to use it. One of the things to bother me is "How do I ask again"
Usage: 1 = {Created: 20100521, Quantity: 9, Resource: 1033, Users: 1842, ...} Usage: 2 = {Build: 20100812, Quantity: 3, Resource: 7233, User: 1842, ...} Usage: 3 = {Built: 20100927, Quantity: 4, Source: 1031, Users: 76, ...}
Please note that I have only seen many keys in the 4 hashes. Now when I want to find a record in a specific date range, the user, the resource or for the period given to a user.
I suspect that specific patterns have been re-changed to retrieve such data. I am a dragon programmer, I saw the Redsco (Om port) which supports some questions but I'm not sure that it gets all the data and then filters it in the python.
For radis, it is best to understand how many query patterns you want on your data Before you decide how you want to store it, for example
For example, if you want to query a date range on a data set, then you have sorted that data You can store as a set, where there are key data items that you want to query, and Core is a Unix timestamp.
In your example above, I can store your example hash as:
user_to_resource: i = User: j # key - & gt; Value Forwarded Map Resources = & gt; (Resource: I, created_timestamp) # sorted set count_resource: i = volume # key - & gt; Value is the map map
That is, I will have many forward and reverse maps based on the query pattern which I would like to support.
Comments
Post a Comment