From: | SZUCS Gábor <surrano(at)mailbox(dot)hu> |
---|---|
To: | <pgsql-performance(at)postgresql(dot)org> |
Subject: | Re: How to optimize monstrous query, sorts instead of |
Date: | 2003-06-25 14:20:32 |
Message-ID: | 009401c33b25$08520e90$0403a8c0@fejleszt4 |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-performance |
Michael,
Actually, you missed an alias :) the select now returned 800k rows!
(according to explain)
pointed it out below. See my prev mail for more.
If it's possible, try your query on a backend and look for notices like
"Adding missing FROM clause for table ..."
G.
------------------------------- cut here -------------------------------
----- Original Message -----
From: "Michael Mattox" <michael(dot)mattox(at)verideon(dot)com>
Cc: "Postgresql Performance" <pgsql-performance(at)postgresql(dot)org>
Sent: Wednesday, June 25, 2003 4:09 PM
> from monitorx m, monitorstatusx ms, monitorstatusitemx msi
> where m.idx = 'M-TEST_1444-TEST_00_10560561260561463219352' AND
> monitorx.jdoidx = ms.monitorx AND
^^^^^^^^
substitute the same alias "m" here.
From | Date | Subject | |
---|---|---|---|
Next Message | Rod Taylor | 2003-06-25 14:28:25 | Re: How to optimize monstrous query, sorts instead of |
Previous Message | SZUCS Gábor | 2003-06-25 14:15:53 | Re: How to optimize monstrous query, sorts instead of using index |