This message was deleted.
# troubleshooting
s
This message was deleted.
a
I believe according to the documentation here: https://druid.apache.org/docs/latest/querying/query-context.html#vectorization-parameters Vectorization does not support joins. It can be enabled with a context param but it is not recommended for uses other than testing.
v
you could use vectorize=“force”. If the query is not vectorizable then this context will throw an error and you could use that to see which of your queries need to be re-written
👍 1
d
also below are the additional query context params that i am using to improve performance. Please let me know if these params are good enough
"useApproximateCountDistinct": true, "useApproximateTopN": true, "populateCache": false, "useCache": false, "vectorize": true, "vectorSize": 256, "forceLimitPushDown": false, "enableParallelMerge": true
v
enableParallelMerge is true by default no need to set it. forceLimitPushDown is false by default no need to set it. vectorize is also true by default. Changing the default vectorsize from 512 to 256 may not change performance by much
useApproximateTopN is also true by default. As far as caching is concerned…(“populateCache”: false, “useCache”: false) this is much trickier. Historical cache per segment results. What this means is that if the exact same query is run and you have both new and old segments the results for the old segments are picked up from cache while results for new segments are computed and the two are combined. This can speed up performance by an order of magnitude when you have the same query running repeatedly on additional data
d
thank you very much!