From: Jeroen T. Vermeulen <jtv@xs4all.nl>
To: Stephen Davies <sdc@sdc.com.au>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: Query performance
Date: Tue, 21 Aug 2007 18:39:27 +0700 (ICT)
Message-ID: <20140.58.136.19.146.1187696367.squirrel@webmail.xs4all.nl> (raw)
In-Reply-To: <200708181610.28918.sdc@sdc.com.au>
References: <200708181610.28918.sdc@sdc.com.au>
On Sat, August 18, 2007 13:40, Stephen Davies wrote:
> select count(rdate),rdate from reading where sensor_id in
> (1137,1138,1139) group by rdate order by rdate desc limit 1;
>
> takes a few seconds but:
Interesting! However this is probably not the best list to ask, since
it's about the backend and quite independent of any interface. You may
have more luck on pgsql-general.
Jeroen
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-interfaces@postgresql.org
Cc: jtv@xs4all.nl, sdc@sdc.com.au
Subject: Re: Query performance
In-Reply-To: <20140.58.136.19.146.1187696367.squirrel@webmail.xs4all.nl>
* 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