pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: ufaowl@gmail.com
To: pgsql-bugs@postgresql.org
Subject: BUG #14393: Querry plan creation time is too long
Date: Mon, 24 Oct 2016 13:04:48 +0000
Message-ID: <20161024130448.1409.68901@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

The following bug has been logged on the website:

Bug reference:      14393
Logged by:          Vadim Akbashev
Email address:      ufaowl@gmail.com
PostgreSQL version: 9.5.4
Operating system:   Centos 6.8
Description:        

Hello!
I have two questions concerning choosing\creation time of querry plan
regaring default_statistic_target parameter. I noticed that querry plan
creation time increases when default_statistic_target is more than 1000. It
reaches 14 sec for database without any load when default_statistic_target =
10 000.
I wonder:
1) Is such behavior considered normal? If it is, where I can get
documentation regulating this?
2) Is there any way to limit querry plan creation time?
Thank you!

P.S. Here are some examples:
1:
statistic_target=500
querry plan creation time = 464ms
pg_statistics size = 928 kb, 1912 kb toast, 72 kb index
2:
statistic_target = 10000
querry plan creation time = 14,3 sec
pg_statistics size = 928 kb, 10 MB toast, 72 kb index


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs


view thread (3+ messages)  latest in thread

Message-ID: <20161024130448.1409.68901@wrigleys.postgresql.org>
Permalink:  ../20161024130448.1409.68901@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/20161024130448.1409.68901@wrigleys.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: ufaowl@gmail.com
  Subject: Re: BUG #14393: Querry plan creation time is too long
  In-Reply-To: <20161024130448.1409.68901@wrigleys.postgresql.org>
  References: <20161024130448.1409.68901@wrigleys.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox