pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Huxton <dev@archonet.com>
To: alex@neteconomist.com
Cc: Andrei Bintintan <klodoma@ar-sd.net>
Cc: Greg Stark <gsstark@mit.edu>
Cc: pgsql-sql@postgresql.org
Cc: pgsql-performance@postgresql.org
Subject: Re: [SQL] OFFSET impact on Performance???
Date: Wed, 26 Jan 2005 13:57:00 +0000
Message-ID: <41F7A1AC.1060406@archonet.com> (raw)
In-Reply-To: <33c6269f05012605473319ef40@mail.gmail.com>
References: <019f01c4fee1$1b58d600$0b00a8c0@forge>
	<41EF9FD3.5020400@archonet.com>
	<020d01c4fef6$595bb9d0$0b00a8c0@forge>
	<41EFCC5B.5010302@archonet.com>
	<33c6269f05012008391490448b@mail.gmail.com>
	<87y8eh1hy9.fsf@stark.xeocode.com>
	<015a01c5038f$73a70720$0b00a8c0@forge>
	<33c6269f05012605473319ef40@mail.gmail.com>

Alex Turner wrote:
> As I read the docs, a temp table doesn't solve our problem, as it does
> not persist between sessions.  With a web page there is no guarentee
> that you will receive the same connection between requests, so a temp
> table doesn't solve the problem.  It looks like you either have to
> create a real table (which is undesirable becuase it has to be
> physicaly synced, and TTFB will be very poor) or create an application
> tier in between the web tier and the database tier to allow data to
> persist between requests tied to a unique session id.
> 
> Looks like the solutions to this problem is not RDBMS IMHO.

It's less the RDBMS than the web application. You're trying to mix a 
stateful setup (the application) with a stateless presentation layer 
(the web). If you're using PHP (which doesn't offer a "real" middle 
layer) you might want to look at memcached.

--
   Richard Huxton
   Archonet Ltd



view thread (22+ messages)  latest in thread

Message-ID: <41F7A1AC.1060406@archonet.com>
Permalink:  ../41F7A1AC.1060406@archonet.com/
Also on:    postgresql.org/message-id/41F7A1AC.1060406@archonet.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-sql@postgresql.org
  Cc: dev@archonet.com, alex@neteconomist.com, klodoma@ar-sd.net, gsstark@mit.edu, pgsql-performance@postgresql.org
  Subject: Re: [SQL] OFFSET impact on Performance???
  In-Reply-To: <41F7A1AC.1060406@archonet.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