aboutsummaryrefslogtreecommitdiff
path: root/monitor
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2023-07-14 22:27:02 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2023-07-17 14:38:26 +0300
commit48f1c1feda91d9809406c83569443eedc9ea799e (patch)
treec56f4f2ed420d4e02be6e3ce84800cd3372bec4f /monitor
parent5af5a6c6aa4c2b31e63d64a43ab647bd6def3808 (diff)
Optimize builds page by discouraging PostgreSQL from using the nested loop join strategy
Diffstat (limited to 'monitor')
-rw-r--r--monitor/monitor.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/monitor/monitor.cxx b/monitor/monitor.cxx
index 05ebf9d..126650c 100644
--- a/monitor/monitor.cxx
+++ b/monitor/monitor.cxx
@@ -853,6 +853,11 @@ namespace brep
{
package_config_name = pc.name;
+ // @@ TMP Check if we can optimize this query by adding
+ // index for soft_timestamp and/or by setting
+ // enable_nestloop=off (or some such) as we do in
+ // mod/mod-builds.cxx.
+ //
auto pbs (pbq.execute ());
if (!pbs.empty ())