Re: Query improvement

From: Mark <Marek(dot)Balgar(at)seznam(dot)cz>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: Query improvement
Date: 2011-05-07 10:37:02
Message-ID: 1304764622535-4378157.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Thanks for reply both UNION and JOINS helped. Mainly the UNION helped a lot.
Now the query takes 1sec max. Thanks a lot.

--
View this message in context: http://postgresql.1045698.n5.nabble.com/Query-improvement-tp4362578p4378157.html
Sent from the PostgreSQL - performance mailing list archive at Nabble.com.

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Mark 2011-05-07 10:38:09 Re: Query improvement
Previous Message Thomas Hägi 2011-05-06 21:13:20 indexes ignored when querying the master table