public inbox for [email protected]
help / color / mirror / Atom feedFrom: Daniele Varrazzo <[email protected]>
To: David Raymond <[email protected]>
Cc: [email protected] <[email protected]>
Subject: Re: CPU usage for queries, psycopg 2 vs 3
Date: Mon, 11 Sep 2023 16:26:21 +0100
Message-ID: <CA+mi_8Y1mF3w_J_ishB_SG_Tw3Wg=syQXWgOGZWfPrYaUL71Yg@mail.gmail.com> (raw)
In-Reply-To: <DB7PR07MB3916A230837909499A87EF3287E8A@DB7PR07MB3916.eurprd07.prod.outlook.com>
References: <DB7PR07MB3916A230837909499A87EF3287E8A@DB7PR07MB3916.eurprd07.prod.outlook.com>
Hello David,
On Tue, 5 Sept 2023 at 18:52, David Raymond <[email protected]> wrote:
>
> I've noticed that CPU usage for queries seems to have drastically increased going from psycopg2 to psycopg3.
> [...]
> This is on Windows, where I install with "pip install psycopg2-binary" and "pip install psycopg[binary]"
I have tested your script on Linux and on this platform I can't
reproduce the issue. Psycopg 3 CPU usage remains low.
I will try to repeat your test on Windows.
-- Daniele
view thread (9+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: CPU usage for queries, psycopg 2 vs 3
In-Reply-To: <CA+mi_8Y1mF3w_J_ishB_SG_Tw3Wg=syQXWgOGZWfPrYaUL71Yg@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox