From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Dirk Lutzebaeck <lutzeb(at)aeccom(dot)com> |
Cc: | pgsql-sql(at)postgreSQL(dot)org |
Subject: | Re: [SQL] Optimizing ORDER BY with indexes? |
Date: | 2000-01-14 16:37:19 |
Message-ID: | 200001141637.LAA01122@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
> Dirk Lutzebaeck writes:
> >
> > I'm forced to used ORDER BY on large tables which then takes quite
> > long. Is there a chance to create/optimize an index for ORDER BY?
> > Or could I write an index method on my own? How would it look like?
> >
> > Are there any other possiblities to speed up ORDER BY?
>
> Reading about indexes in the Bowman SQL book I think a
> _clustered index_ is needed for the problem above.
> Does Postgresql support these?
>
CLUSTER command.
--
Bruce Momjian | http://www.op.net/~candle
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Mitch Vincent | 2000-01-14 16:56:36 | numeric question.. |
Previous Message | Tom Lane | 2000-01-14 15:18:16 | Re: [SQL] Optimizing ORDER BY with indexes? |