The default setting of "queryGranularity"


According to “Ingestion Spec” section of Druid document (, the default queryGranularity setting is “no”, which is equivalent to millisecond granularity. IMHO as most people only concern about second-level accuracy of website statistics, this setting is not reasonable because it’s nearly 1000 times less efficient than second granularity in regard to storage space occupation for a site with heavy traffic.
Please correct me if I missed anything.

Hi Yukun, the requirements vary from industry to industry. You can just change the configuration to second level granularity and rollup your data at a second level.