Query interval: seperate a interval to peices

Hi all,
If I seperate a interval into a peices of intervals in a query, will it speed up the query? Will druid parallel excute every interval?

Thanks.

Segment scans are executed in parallel on the historical nodes. Reducing the interval for the segments while indexing will increase the parallelism.
However, also note that if you create very small, merging the results from those segments will become a bottleneck.

Generally, it is recommended to create segments will with nearly 5M rows per segment.

I did not mean to reduce the interval for the segments while indexing. I just want to know what will happend when I seperate a interval into a peices of intervals in a query statement.
That is to say :

“intervals”: [ “2012-01-01T00:00:00.000/2012-01-04T00:00:00.000” ] => “intervals”: [ “2012-01-01T00:00:00.000/2012-01-02T00:00:00.000”,

                                                                                   "2012-01-02T00:00:00.000/2012-01-03T00:00:00.000",

                                                                                   "2012-01-03T00:00:00.000/2012-01-04T00:00:00.000"]

在 2017年12月20日星期三 UTC+8下午6:47:55,Nishant Bangarwa写道:

No change in parallelism in this case.
The limiting factor for parallelism is number of segments to be scanned OR available processing threads on the historicals whichever is less.

Thanks! And I also want to know does seperate a long interval to peices have the same effect as set “chunkPeriod” in query context?

在 2017年12月22日星期五 UTC+8上午6:37:19,Nishant Bangarwa写道: