pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Markus Schaber <schabios@logi-track.com>
To: Jason Coene <jcoene@gotfrag.com>
Cc: 'Mr Pink' <mr_pink_is_the_only_pro@yahoo.com>
Cc: 'Scott Kirkwood' <scottakirkwood@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Caching of Queries
Date: Thu, 23 Sep 2004 19:46:26 +0200
Message-ID: <20040923194626.708b7bce@kingfisher.intern.logi-track.com> (raw)
In-Reply-To: <200409231653.i8NGrUaX017580@ms-smtp-02.nyroc.rr.com>
References: <20040923152925.18234.qmail@web41114.mail.yahoo.com>
	<200409231653.i8NGrUaX017580@ms-smtp-02.nyroc.rr.com>

Hi, Jason,

On Thu, 23 Sep 2004 12:53:25 -0400
"Jason Coene" <jcoene@gotfrag.com> wrote:

> I've looked at PREPARE, but apparently it only lasts per-session - that's
> worthless in our case (web based service, one connection per data-requiring
> connection).

This sounds like the loads of connection init and close may be the
reason for the slowdown. Can you use connection pooling in your service?

HTH,
Markus


-- 
markus schaber | dipl. informatiker
logi-track ag | rennweg 14-16 | ch 8001 zürich
phone +41-43-888 62 52 | fax +41-43-888 62 53
mailto:schabios@logi-track.com | www.logi-track.com



view thread (72+ messages)  latest in thread

Message-ID: <20040923194626.708b7bce@kingfisher.intern.logi-track.com>
Permalink:  ../20040923194626.708b7bce@kingfisher.intern.logi-track.com/
Also on:    postgresql.org/message-id/20040923194626.708b7bce@kingfisher.intern.logi-track.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: schabios@logi-track.com, jcoene@gotfrag.com, mr_pink_is_the_only_pro@yahoo.com, scottakirkwood@gmail.com
  Subject: Re: Caching of Queries
  In-Reply-To: <20040923194626.708b7bce@kingfisher.intern.logi-track.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