pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joshua D. Drake <jd@commandprompt.com>
To: Michael Nolan <htfoot@gmail.com>
To: pgsql-performance@postgresql.org <pgsql-performance@postgresql.org>
Subject: Re: Are there tuning parameters that don't take effect immediately?
Date: Fri, 12 Jun 2015 14:00:28 -0700
Message-ID: <557B486C.1030207@commandprompt.com> (raw)
In-Reply-To: <CAOzAqu+e979Ezq94W5SpCrJ_9iiW7HyxU7eaQFo64rPKhvZS8w@mail.gmail.com>
References: <CAOzAqu+e979Ezq94W5SpCrJ_9iiW7HyxU7eaQFo64rPKhvZS8w@mail.gmail.com>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-performance>


On 06/12/2015 01:37 PM, Michael Nolan wrote:
> Last night I was doing some tuning on a database  The longest query I
> was running was taking around 160 seconds.  I didn't see much change in
> the running time for that query, even after restarting PG.
>
> Today, with roughly the same system load (possibly even a bit heavier
> load), that query is running about 40 seconds.

Sounds like some of the relations are cached versus not.

JD


-- 
Command Prompt, Inc. - http://www.commandprompt.com/  503-667-4564
PostgreSQL Centered full stack support, consulting and development.
Announcing "I'm offended" is basically telling the world you can't
control your own emotions, so everyone else should do it for you.


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



view thread (4+ messages)  latest in thread

Message-ID: <557B486C.1030207@commandprompt.com>
Permalink:  ../557B486C.1030207@commandprompt.com/
Also on:    postgresql.org/message-id/557B486C.1030207@commandprompt.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: jd@commandprompt.com, htfoot@gmail.com
  Subject: Re: Are there tuning parameters that don't take effect immediately?
  In-Reply-To: <557B486C.1030207@commandprompt.com>

* 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