From: | John Cheng <jlcheng(at)ymail(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Problem search on text arrays, using the overlaps (&&) operator |
Date: | 2009-07-08 22:15:08 |
Message-ID: | 485195.86418.qm@web43403.mail.sp1.yahoo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Accidentally sent to nha only
--- On Wed, 7/8/09, John Cheng <jlcheng(at)ymail(dot)com> wrote:
> From: John Cheng <jlcheng(at)ymail(dot)com>
> Subject: Re: [GENERAL] Problem search on text arrays, using the overlaps (&&) operator
> To: "nha" <lyondif02(at)free(dot)fr>
> Date: Wednesday, July 8, 2009, 4:24 PM
> Hi nha,
>
> I will try out your suggestion about a materialized view. I
> had never even thought about trying it.
>
> As luck would have it, I had to try out these tests on a
> different database today, which resulted in a different
> query plan that executed both forms in the same time.
> This different plan used a merge join instead of a hash
> join. I will research this are more to see if I learn
> anything new.
>
> You also pointed out that my queries (reports) are simply
> reporting off of a lot of data. Perhaps I need to see if the
> windowing functions in 8.4 can help improve things, or
> perhaps try to partition the data. Unfortunately, these kind
> of changes will be bigger than I had expected.
>
>
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Niederland | 2009-07-08 22:21:01 | Postgres 8.4 literal escaping |
Previous Message | Leif B. Kristensen | 2009-07-08 22:00:58 | Re: PostgreSQL and Poker |