pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joost Kraaijeveld <J.Kraaijeveld@Askesis.nl>
To: Tino Wildenhain <tino@wildenhain.de>
Cc: Csaba Nagy <nagy@ecircle-ag.com>
Cc: Pgsql-Performance <pgsql-performance@postgresql.org>
Subject: Re: Can this query go faster???
Date: Tue, 06 Dec 2005 12:21:24 +0100
Message-ID: <1133868084.8837.73.camel@Panoramix> (raw)
In-Reply-To: <439568C4.8050601@wildenhain.de>
References: <1133862229.8837.61.camel@Panoramix>
	<1133862777.4779.185.camel@coppola.muc.ecircle.de>
	<1133864460.8837.69.camel@Panoramix>
	<439568C4.8050601@wildenhain.de>

Hi Tino,

On Tue, 2005-12-06 at 11:32 +0100, Tino Wildenhain wrote:
> You can have a row number in postgres easily too. For example if you
> just include a serial for the row number.
Not if the order of things is determined runtime and not at insert time...

> Cursor would work too but you would need to have a persistent connection.
I just tried it: a cursor is not faster (what does not surprise me at
all, as the amount of work looks the same to me)

I guess there is no solution.

-- 
Groeten,

Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
e-mail: J.Kraaijeveld@Askesis.nl
web: www.askesis.nl 





view thread (14+ messages)  latest in thread

Message-ID: <1133868084.8837.73.camel@Panoramix>
Permalink:  ../1133868084.8837.73.camel@Panoramix/
Also on:    postgresql.org/message-id/1133868084.8837.73.camel@Panoramix

 · 

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: J.Kraaijeveld@Askesis.nl, tino@wildenhain.de, nagy@ecircle-ag.com
  Subject: Re: Can this query go faster???
  In-Reply-To: <1133868084.8837.73.camel@Panoramix>

* 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