time series - Dynamodb UUID range key -
i have dynamodb table consisting of hash key , range key, trying model time series data.
the hash key userid , range key time-stamp of day of entry. problem cannot have more 1 entry given day; time-stamp not @ exact time these records may entered in retrospect.
the table looks this:
userid | timestamp | fields... 1234 | 9/10/17 | ...
the query want make read this:
"for user 1234 show me records between date , now"
is possible replace timestamp range key uuid has timestamp in can have more 1 entry given day? know cassandra can use timestamp build uuid query dates.
or
is there better way model data?
Comments
Post a Comment