PG 9..5 index performance Q's

From: ghiureai <isabella(dot)ghiurea(at)nrc-cnrc(dot)gc(dot)ca>
To: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: PG 9..5 index performance Q's
Date: 2016-11-08 18:31:13
Message-ID: 582219F1.9030502@nrc-cnrc.gc.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi List,

running PGSQL 9.5.1 ( EL7) ,
we are seeing a issues with one of our SQL statement getting the wrong
plan once in a while ( large temp tables being generate, exec time
takes > 3 minutes compared with fastes plan < 1 min), we want to
undestand why a new/ expensive plan is been used instead of efficient
one, there are not data changes on the tables, any tips where to look?
Second , I would like to know if when re-creating one index ( non pk )
on a large table with already existing indexes, are All tables
statistics being re-generated? ( there is a way to control persistency
of old stats?)

Isabella

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Igor Neyman 2016-11-08 18:56:30 Re: PG 9..5 index performance Q's
Previous Message michael@sqlexec.com 2016-11-05 16:15:25 Re: Too many Idle Connections