Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: Having problems with a 25 million row table on 8.1.3



On 4/25/06, Tony Caduto <tony_caduto(at)amsoftwaredesign(dot)com> wrote:
So far it has worked great, but today someone wanted to get all the tax
codes(there are lot's of dupes) from the table.

others already suggested group by approach.
i would like to also suggest use of triggers to maintain tax codes list in separate table.
it would greatly speedup every future query that will need this list.

depesz


Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group