←back to thread

171 points voat | 1 comments | | HN request time: 0.212s | source
Show context
cynicalsecurity ◴[] No.42162138[source]
This is going to be a hell in production. Someone is going to write queries in this new language and then wonder why the produced MySQL queries in production take 45 minutes to execute.
replies(1): >>42169969 #
1. evgskv ◴[] No.42169969[source]
There is a standard method of optimization - breaking predicate into smaller ones and saving intermediates into database.

Typically program runs efficiently, but when optimization is needed - you can do it by breaking up the predicate.