From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id oOl2CVr9nl96GQAA0tVLHw (envelope-from ) for ; Sun, 01 Nov 2020 18:24:26 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id aDI4BVr9nl90UwAAB5/wlQ (envelope-from ) for ; Sun, 01 Nov 2020 18:24:26 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id BD14D9402A0 for ; Sun, 1 Nov 2020 18:24:25 +0000 (UTC) Received: from localhost ([::1]:56610 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kZI1g-0007X4-PD for larch@yhetil.org; Sun, 01 Nov 2020 13:24:24 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:59796) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kZI1K-0007VO-RJ for bug-guix@gnu.org; Sun, 01 Nov 2020 13:24:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:55146) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kZI1K-0002Mb-ID for bug-guix@gnu.org; Sun, 01 Nov 2020 13:24:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kZI1K-0008OU-Dz for bug-guix@gnu.org; Sun, 01 Nov 2020 13:24:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#43850: cuirass: inconsistent SQL queries execution time. Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 01 Nov 2020 18:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43850 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxim Cournoyer Received: via spool by 43850-submit@debbugs.gnu.org id=B43850.160425500532219 (code B ref 43850); Sun, 01 Nov 2020 18:24:02 +0000 Received: (at 43850) by debbugs.gnu.org; 1 Nov 2020 18:23:25 +0000 Received: from localhost ([127.0.0.1]:38459 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZI0j-0008Nb-8l for submit@debbugs.gnu.org; Sun, 01 Nov 2020 13:23:25 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59606) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZI0h-0008NO-Bj for 43850@debbugs.gnu.org; Sun, 01 Nov 2020 13:23:23 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58728) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kZI0c-0002Is-4I; Sun, 01 Nov 2020 13:23:18 -0500 Received: from [2a01:e0a:19b:d9a0:1813:def9:2dcb:55f0] (port=39404 helo=cervin) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kZI0b-0000y0-Co; Sun, 01 Nov 2020 13:23:17 -0500 From: Mathieu Othacehe References: <87a6wyhviz.fsf@gnu.org> <87362gg35r.fsf@gnu.org> <87362986k7.fsf@gnu.org> <87blguzdig.fsf@gnu.org> <87blgo8ufs.fsf@gnu.org> <87d014yq3t.fsf@cbaines.net> <871rhjyd38.fsf@gnu.org> <87wnz7xbej.fsf@gmail.com> Date: Sun, 01 Nov 2020 19:23:14 +0100 In-Reply-To: <87wnz7xbej.fsf@gmail.com> (Maxim Cournoyer's message of "Sat, 31 Oct 2020 00:33:08 -0400") Message-ID: <87v9epkkbx.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 43850@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: -1.51 X-TUID: DYBXGylQXnCm Hey Maxim, > Perhaps we should run 'vacuum' when invoking 'guix gc' or at some other > key places (where lots of data gets removed from the DB). There's also > the auto_vacuum PRAGMA, which is not enabled currently: Vacuuming periodically seems important, however, it didn't resulted in noticeable improvements during high I/O pressure when I tested it. I still think that we should vacuum periodically, even though it means that all database writes are postponed during the duration of the vacuuming. Having a separate fiber in charge of that operation could work I guess. Thanks, Mathieu