Hello Druid team and Druid fans,I have two questions:1- looks like pagination is not supported in Druid.
If I break down by a dimension, I am not getting millions of rows but even 500 is not something that one would like to return to the client without paginating.
There is always the option of caching results but I was wondering if Druid's team sees any benefits in putting pagination there. Looking into broker it's at least possible to limit the returned result size. I would like to look into putting pagination and I'd appreciate any hints or if you guys think it's not a good idea.2- Question about replications: of course the main reason for replicating data is for reliability but if I replicate data (considering that I have enough memory to load everything there) in theory it should have some performance benefits as well. Is this true? I'm running the benchmarks of my own but is there any way to support it or any guidelines to maximize the performance benefits as well while using replicas?
Thank you,
Hi Reza, see inline.
On Tuesday, April 15, 2014 2:28:32 PM UTC-7, Reza wrote:Hello Druid team and Druid fans,I have two questions:1- looks like pagination is not supported in Druid.It depends on the type of query you want to do.If I break down by a dimension, I am not getting millions of rows but even 500 is not something that one would like to return to the client without paginating.Lexicographic TopNs (http://druid.io/docs/latest/TopNMetricSpec.html) for example can paginate through all results of a dimension. All TopNs have a notion of a limit/threshold. GroupBy queries do as well.
Hi FJ,
On Tuesday, 15 April 2014 17:30:08 UTC-7, Fangjin Yang wrote:Hi Reza, see inline.
On Tuesday, April 15, 2014 2:28:32 PM UTC-7, Reza wrote:Hello Druid team and Druid fans,I have two questions:1- looks like pagination is not supported in Druid.It depends on the type of query you want to do.If I break down by a dimension, I am not getting millions of rows but even 500 is not something that one would like to return to the client without paginating.Lexicographic TopNs (http://druid.io/docs/latest/TopNMetricSpec.html) for example can paginate through all results of a dimension. All TopNs have a notion of a limit/threshold. GroupBy queries do as well.Thank you, this can be pretty useful for TopN metrics. I wish it was supported for GroupBy as well since GroupBy has more query power and also gives exact answers (as opposed to TopN) if I'm not wrong.
I'm curious how TopN with lexicographic pagination work... Does it go over all the data in the first call and cache all the results, so when asking for the second page it can use the cached data?
To view this discussion on the web visit https://groups.google.com/d/msgid/druid-development/b7860f5e-c942-4ea4-af0e-ea52b6ee5a92%40googlegroups.com.--
You received this message because you are subscribed to a topic in the Google Groups "Druid Development" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/druid-development/0TBL5-3Z2PI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to druid-developm...@googlegroups.com.
To post to this group, send email to druid-de...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Druid Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to druid-developm...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/druid-development/d0f85373-ef0b-44cc-b7c7-181d6fa8225d%40googlegroups.com.