[Question] Timestamp order in physical tsm file and relationship with query performance

influxdb
time-series

#1

Hi,
I want to know about “timestamp order in physical tsm file and relationship with query performance”.

Let me think about the case that point did not inserted in order like below.

insert measurement,tag=abc,field=1 1510000000000005000
insert measurement,tag=abc,field=1 1510000000000001000
insert measurement,tag=abc,field=1 1510000000000004000
insert measurement,tag=abc,field=1 1510000000000007000
...

In this case, I think that “timestamp order in physical tsm file” will not be sorted.
Is it correct?

And, will the mess (data is not chronological) affect to “query latency”?
Query may be like this.

select field from measurement group by tag,time(1s) order by time asc

Can anyone help me?

Mai