I have a Timescale timeseries table with two time columns: itime and stime corresponding to insert time and source time.
I created the Timescale hypertable on stime because all evaluation will be on the source time. Nevertheless, I also send the most recently stored values to another DB using itime. On a table with about 50 million rows it takes now up to 15 seconds to get the rows that have been inserted in the last e.g. hour because itime is not set in the hypertable.
What would be the best way to cover both applications to have fast responses? Would it be possible and make sense to add a normal index to the column itime?