sql execution time in pg_stat_statements

From: "Michel SALAIS" <msalais(at)msym(dot)fr>
To: <pgsql-performance(at)postgresql(dot)org>
Subject: sql execution time in pg_stat_statements
Date: 2021-09-09 18:13:33
Message-ID: 005f01d7a5a6$67784b50$3668e1f0$@msym.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Hi all,

I think that total_time in pg_stat_statements is cpu time + possible waits.
So, can I say that:

Total_sql_time = total_time + blk_read_time + blk_write_time

Documentation is not clear at all on that.

Thanks in advance

Michel SALAIS

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Michel SALAIS 2021-09-09 18:49:32 RE: sql execution time in pg_stat_statements
Previous Message Ranier Vilela 2021-09-09 11:55:42 Re: PostgreSql 9.4 Database connection failure