Re: Resources

From: Chester Carlton Young <chestercyoung(at)yahoo(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: Resources
Date: 2002-01-11 17:39:43
Message-ID: 20020111173943.69680.qmail@web12703.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

In regards to not being able to change tables, a common trick (eg, in
data warehousing) where tables are read only, is to have a trigger on
the table populate a secondary table with good index info (like ripping
street name out of the address) and the oid of the original row. The
query is a little more complex, but very good performance.

> You mention that it may be too late to change the tables, but I guess
> that's
> where I'd look next- I once had a similar situation when I worked for
> an
> electric utility & we ended up parsing the address lines to find road
> names
> & numbers and then loading them into special indexed fields just used
> for
> sorting. If you control the input app, maybe you could even have the
> user
> enter the fields you want to query on separately.
>
>
> -Nick
>
>
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to
majordomo(at)postgresql(dot)org)

__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Frank Bax 2002-01-11 19:18:09 Re: Resources
Previous Message Peter T. Brown 2002-01-11 17:17:48 Re: Temporary tables