Re: [SQL] does LIMIT save time?

From: Dirk Lutzebaeck <lutzeb(at)aeccom(dot)com>
To: jwieck(at)debis(dot)com (Jan Wieck)
Cc: pgsql-sql(at)postgreSQL(dot)org
Subject: Re: [SQL] does LIMIT save time?
Date: 1999-08-20 08:13:19
Message-ID: 14269.3615.579004.633506@blanc.aeccom.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Jan Wieck writes:

> So in general, LIMIT itself could never hurt. ORDER can but
> someone who cares for speed is normally willing to setup
> appropriate multi key indices to prevent sort steps.

Just to know, how can I prevent sorting by using multi key indices?

Thanks for your elaborte answer,

Dirk

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Eric Enockson 1999-08-20 14:01:47 generate random unique object id
Previous Message Esteban Chiner Sanz 1999-08-20 06:47:03 Re: [SQL] What JDBC datatype can be used for DATETIME ?