logoalt Hacker News

winridtoday at 7:00 PM1 replyview on HN

So basically if you have queries that are hard on the query planner, that constant fan out has higher CPU cost than the alternatives.


Replies

AlotOfReadingtoday at 7:53 PM

Taking a look at their LogQL language, I don't see anything that would be particularly hard on the planner. You can't get the fan-out that makes fully relational query planning so difficult with the kind of boolean filters they seem to use. Planning should mostly be a matter of sorting by column cardinality and query optimization so you aren't doing unnecessary operations.