Re: PostgresSQL 9.5.21 very slow to connect and perform basic queries

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: bruno da silva <brunogiovs(at)gmail(dot)com>
Cc: pgsql-performance(at)lists(dot)postgresql(dot)org
Subject: Re: PostgresSQL 9.5.21 very slow to connect and perform basic queries
Date: 2022-08-03 15:17:05
Message-ID: 3041344.1659539825@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

bruno da silva <brunogiovs(at)gmail(dot)com> writes:
> *Question: *Besides the gc issue that you mentioned, having a large ( 700MB
> or 1GB ) pgss_query_texts.stat could cause slowness in pg_stat_statement
> processing
> than leading to slower query responses with a 32bit PG? I'm thinking in
> reducing pg_stat_statements.max from 10k to 3k

Whether or not we've fully identified the problem, I think cutting
pg_stat_statements.max is a good idea. Especially as long as you're
stuck on an unsupported PG version.

regards, tom lane

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message aditya desai 2022-08-05 12:30:02 pg_wal filling up while running huge updates
Previous Message bruno da silva 2022-08-03 15:12:49 Re: PostgresSQL 9.5.21 very slow to connect and perform basic queries