| From: | "Peter Koczan" <pjkoczan(at)gmail(dot)com> |
|---|---|
| To: | "Thomas Zaksek" <zaksek(at)ptt(dot)uni-due(dot)de> |
| Cc: | pgsql-performance(at)postgresql(dot)org |
| Subject: | Re: Join Query Perfomance Issue |
| Date: | 2008-02-12 20:34:28 |
| Message-ID: | 4544e0330802121234l33be13a9g5dec39ef032f6268@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-performance |
> I have serious performance problems with the following type of queries:
>
> Doesnt looks too bad to me, but i'm not that deep into sql query
> optimization. However, these type of query is used in a function to
> access a normalized, partitioned database, so better performance in this
> queries would speed up the whole database system big times.
> Any suggestions here would be great. I allready tested some things,
> using inner join, rearranging the order of the tables, but but only
> minor changes in the runtime, the version above seemed to get us the
> best performance.
Can you send the table definitions of the tables involved in the
query, including index information? Might be if we look hard enough we
can find something.
Peter
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Pallav Kalva | 2008-02-12 21:35:40 | Optimizing No matching record Queries |
| Previous Message | Greg Smith | 2008-02-12 19:01:13 | Re: Dell Perc/6 |