From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54905) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fgUx3-0004ht-LU for guix-patches@gnu.org; Fri, 20 Jul 2018 08:56:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fgUx0-0005IY-Kh for guix-patches@gnu.org; Fri, 20 Jul 2018 08:56:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:43926) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fgUx0-0005II-FR for guix-patches@gnu.org; Fri, 20 Jul 2018 08:56:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fgUx0-000102-4W for guix-patches@gnu.org; Fri, 20 Jul 2018 08:56:02 -0400 Subject: [bug#32209] [PATCH] database: Use SQLite in Multi-thread mode. Resent-Message-ID: From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20180719105457.32267-1-clement@lassieur.org> Date: Fri, 20 Jul 2018 14:55:12 +0200 In-Reply-To: <20180719105457.32267-1-clement@lassieur.org> ("=?UTF-8?Q?Cl=C3=A9ment?= Lassieur"'s message of "Thu, 19 Jul 2018 12:54:57 +0200") Message-ID: <87o9f2oymn.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: =?UTF-8?Q?Cl=C3=A9ment?= Lassieur Cc: 32209@debbugs.gnu.org Hello! Cl=C3=A9ment Lassieur skribis: > This disables mutexing on database connection and prepared statement obje= cts, > thus making us responsible for serializing access to database connections= and > prepared statements. It may result in a performance improvement. > > * src/cuirass/database.scm (db-init, db-open): Pass the SQLITE_OPEN_NOMUT= EX > flag to SQLITE-OPEN. Could you copy (part of) the paragraph above as a comment above the =E2=80=98sqlite-open=E2=80=99 call in =E2=80=98db-open=E2=80=99? Then I guess you can go ahead and push! Thank you, Ludo=E2=80=99.