Let's say you have a simple Cassandra schema (using CQL3) that saves the readings of various sensors at a per second level. (time series)
create table sensor_readings (
sensorid varchar,
time timestamp,
value varchar,
primary key (sensorid, time)
)
Is there an efficient way to retrieve the data at a different time periodicity than was recorded?
For instance, how would you retrieve only hourly data or daily data when all the data is stored on a per second basis?
Do you have to retrieve all the data into your application, and then have your application filter out the data? Or can Cassandra do this for you?