Just to say that for PostgreSQL 13, total_time is replaced by “total_exec_time + total_plan_time” Michel SALAIS De : Michel SALAIS <msalais@xxxxxxx> 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 |