pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ryan Johnson <ryan.johnson@cs.utoronto.ca>
To: Kevin Grittner <kgrittn@ymail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: SSI slows down over time
Date: Mon, 14 Apr 2014 10:22:42 -0400
Message-ID: <534BEF32.9060309@cs.utoronto.ca> (raw)
In-Reply-To: <1397484864.73109.YahooMailBasic@web122302.mail.ne1.yahoo.com>
References: <1397484864.73109.YahooMailBasic@web122302.mail.ne1.yahoo.com>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-performance>

On 14/04/2014 10:14 AM, Kevin Grittner wrote:
> Ryan Johnson <ryan.johnson@cs.utoronto.ca> wrote:
>
>> every time I shut down a database and bring it back up, SSI seems
>> to go slower.
> There's one thing to rule out up front -- that would be a
> long-lived prepared transaction.
>
> Please post the output of these queries:
>
> select version();
> show max_prepared_transactions;
> select * from pg_prepared_xacts;
Hmm. My machine was rebooted over the weekend for Heartbleed patches, so 
I'll have to re-build the database and fire off enough runs to repro. 
There are some disadvantages to keeping it in tmpfs...

Meanwhile, a quick question: what factors might cause a prepared 
transaction to exist in the first place? I'm running a single-node db, 
and I've had only normal database shutdowns, so I wouldn't have expected 
any.

Thoughts?
Ryan



-- 
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 (15+ messages)  latest in thread

Message-ID: <534BEF32.9060309@cs.utoronto.ca>
Permalink:  ../534BEF32.9060309@cs.utoronto.ca/
Also on:    postgresql.org/message-id/534BEF32.9060309@cs.utoronto.ca

 · 

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: ryan.johnson@cs.utoronto.ca, kgrittn@ymail.com
  Subject: Re: SSI slows down over time
  In-Reply-To: <534BEF32.9060309@cs.utoronto.ca>

* 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