Re: planner/optimizer question

From: Philip Warner <pjw(at)rhyme(dot)com(dot)au>
To: Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: planner/optimizer question
Date: 2001-10-29 09:23:39
Message-ID: 3.0.5.32.20011029202339.02497c90@mail.rhyme.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

At 15:40 29/10/01 +0900, Hiroshi Inoue wrote:
>Philip Warner wrote:
>
>How about the following ?
>
> explain select * from flow_stats where src_addr='1.1.1.1'
> order by src_addr desc, log_date desc limit 3;
>

Yep, that works. Thanks.

----------------------------------------------------------------
Philip Warner | __---_____
Albatross Consulting Pty. Ltd. |----/ - \
(A.B.N. 75 008 659 498) | /(@) ______---_
Tel: (+61) 0500 83 82 81 | _________ \
Fax: (+61) 0500 83 82 82 | ___________ |
Http://www.rhyme.com.au | / \|
| --________--
PGP key available upon request, | /
and from pgp5.ai.mit.edu:11371 |/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Zeugswetter Andreas SB SD 2001-10-29 10:02:01 Re: planner/optimizer question
Previous Message Jean-Michel POURE 2001-10-29 08:10:04 Re: [HACKERS] Ultimate DB Server