Re: CPU usage for queries, psycopg 2 vs 3

From: Daniele Varrazzo <daniele(dot)varrazzo(at)gmail(dot)com>
To: David Raymond <David(dot)Raymond(at)tomtom(dot)com>
Cc: "psycopg(at)postgresql(dot)org" <psycopg(at)postgresql(dot)org>
Subject: Re: CPU usage for queries, psycopg 2 vs 3
Date: 2023-09-07 12:43:58
Message-ID: CA+mi_8bu20AYVJwk8H8GgcbQZc2j8=ixAFJR+bXfMA9mujGxTg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: psycopg

On Thu, 7 Sept 2023 at 13:17, David Raymond <David(dot)Raymond(at)tomtom(dot)com> wrote:
>
> > Could you please be so kind as to repeat your tests with psycopg 3.1.4?
> Tried with 3.1.4 and it has idle processor usage while waiting for the 8 results, just like psycopg2.
> Tried with 3.1.5 and it spikes up to 62% reported CPU usage while waiting for the 8 results, just like the current release.

Thank you, this gives a good indication about where to look.

-- Daniele

In response to

Browse psycopg by date

  From Date Subject
Next Message Daniele Varrazzo 2023-09-11 15:26:21 Re: CPU usage for queries, psycopg 2 vs 3
Previous Message David Raymond 2023-09-07 12:17:40 RE: CPU usage for queries, psycopg 2 vs 3