* bug#43826: cuirass: build query is too slow.
@ 2020-10-06 12:46 Mathieu Othacehe
2020-10-07 11:52 ` Mathieu Othacehe
0 siblings, 1 reply; 2+ messages in thread
From: Mathieu Othacehe @ 2020-10-06 12:46 UTC (permalink / raw)
To: 43826
Hello,
When "db-get-builds" is called with a limit set to N, at least ~2N
queries are executed. First the main query returns the build list, then
build outputs and build products are searched.
All of this should be combined in a unique query to minimize
overhead. The limit should also by restricted to at most 1000 builds for
instance.
Thanks,
Mathieu
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-10-07 11:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-06 12:46 bug#43826: cuirass: build query is too slow Mathieu Othacehe
2020-10-07 11:52 ` Mathieu Othacehe
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).