Re: How to union table without union statement? - Mailing list pgsql-sql

From Richard Huxton
Subject Re: How to union table without union statement?
Date
Msg-id 45E56204.1040202@archonet.com
Whole thread Raw
In response to How to union table without union statement?  (calendarw <calendarw@gmail.com>)
List pgsql-sql
calendarw wrote:
> Hi,
> 
> I need to combine 10 tables which contain same table structure and join an
> "other table" to show the latest 200 record, I am join the "other table"
> first and using union statement to select all record now but the collection
> time is super slow, how can I improve the collection speed?

Start by providing the information needed to diagnose the problem.

Post the output of EXPLAIN ANALYSE <query> along with the query SQL and 
any table definitions/sizes you think are useful.

--   Richard Huxton  Archonet Ltd


pgsql-sql by date:

Previous
From: Andreas Joseph Krogh
Date:
Subject: Conditional NOT NULL constraint
Next
From: Richard Huxton
Date:
Subject: Re: Conditional NOT NULL constraint