Search Postgresql Archives
Optimize the query, help me please.
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
To
:
pgsql-general@xxxxxxxxxxxxxx
Subject
: Optimize the query, help me please.
From
: Капралов Александр <
alnkapa@xxxxxxxxx
>
Date
: Wed, 23 Nov 2011 14:56:23 +0400
Query is:
SELECT * FROM a UNION SELECT * FROM b ORDER BY time DESC LIMIT 100
how can i get only last 100 row from a and b and then do union. Explain of select said that all recond selected from a and b.
thanks.
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
Follow-Ups
:
Re: Optimize the query, help me please.
From:
Achilleas Mantzios
Re: Optimize the query, help me please.
From:
Bèrto ëd Sèra
Re: Optimize the query, help me please.
From:
Raymond O'Donnell
Prev by Date:
Re: autovacuum stuck on a table for 18+ hours, consuming lots of CPU time
Next by Date:
Re: Optimize the query, help me please.
Previous by thread:
autovacuum stuck on a table for 18+ hours, consuming lots of CPU time
Next by thread:
Re: Optimize the query, help me please.
Index(es):
Date
Thread
[Index of Archives]
[Postgresql Jobs]
[Postgresql Admin]
[Postgresql Performance]
[Linux Clusters]
[PHP Home]
[PHP on Windows]
[Kernel Newbies]
[PHP Classes]
[PHP Books]
[PHP Databases]
[Postgresql & PHP]
[Yosemite]