Skip to content
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

any way to store data more than 64bits to a timeseries? #1440

Open
liaoweiguo opened this issue Mar 21, 2023 · 2 comments
Open

any way to store data more than 64bits to a timeseries? #1440

liaoweiguo opened this issue Mar 21, 2023 · 2 comments
Labels
question Further information is requested

Comments

@liaoweiguo
Copy link

thanks

@LiorKogan
Copy link
Member

LiorKogan commented Mar 21, 2023

Each time series is designed to hold measurements of a single metric - e.g. the temperature reported by a given sensor, the price of a given stock, or the number of vehicles passing a given road each hour. The phenomena being measured has only one value at any given timestamp (which can represent a time instance or a period).

You can, of course, create multiple time series (e.g., a temperature series for each sensor, a price series for each stock, number of vehicles for each road).

If you need to hold several measurements (e.g., temperatures measured by two sensors, buy and sell prices for a stock, number of vehicles on each direction) - you should create more than once time series. Note that RedisTimeSeries supports secondary indexes - each time series has labels (name-value pairs) which will allows to query multiple time series by label filter expressions, which allow you the receive multiple values.

@LiorKogan LiorKogan added the question Further information is requested label Mar 21, 2023
@waveman68
Copy link

What about line cameras that have n pixels, that would be stored as a blob?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants