Re: FW: Query length limitation in postgres server > 8.2.9
От
Hartman, Matthew
Тема
Re: FW: Query length limitation in postgres server > 8.2.9
Дата
Msg-id
366642367C5B354197A1E0D27BC175BD02259883@KGHMAIL.KGH.ON.CA
Ответ на
Список
Дерево обсуждения
FW: Query length limitation in postgres server > 8.2.9 <jacob@aers.ca>
Re: FW: Query length limitation in postgres server > 8.2.9 Greg Stark <gsstark@mit.edu>
Re: FW: Query length limitation in postgres server > 8.2.9 Tom Lane <tgl@sss.pgh.pa.us>
Re: FW: Query length limitation in postgres server > 8.2.9 <jacob@aers.ca>
Re: FW: Query length limitation in postgres server > 8.2.9 "Hartman, Matthew" <Matthew.Hartman@krcc.on.ca>
Re: FW: Query length limitation in postgres server > 8.2.9 <jacob@aers.ca>
Re: FW: Query length limitation in postgres server > 8.2.9 Tom Lane <tgl@sss.pgh.pa.us>
Re: FW: Query length limitation in postgres server > 8.2.9 <jacob@aers.ca>
Re: FW: Query length limitation in postgres server > 8.2.9 Tom Lane <tgl@sss.pgh.pa.us>
Re: FW: Query length limitation in postgres server > 8.2.9 <jacob@aers.ca>
Re: FW: Query length limitation in postgres server > 8.2.9 Tom Lane <tgl@sss.pgh.pa.us>
Re: FW: Query length limitation in postgres server > 8.2.9 <jacob@aers.ca>
Re: FW: Query length limitation in postgres server > 8.2.9 Tom Lane <tgl@sss.pgh.pa.us>
> From: pgsql-sql-owner@postgresql.org [mailto:pgsql-sql- > owner@postgresql.org] On Behalf Of jacob@aers.ca > Sent: Thursday, July 09, 2009 1:53 PM > > I've simplified the query to make it easier to look at. > > This one doesn't use the index's and therefore takes about 11713ms to > return. Have you considered joining two tables, one of which is a UNION ALL sum of the identifiers? For example: Select * From MyTable Inner join ( Select 12345 as MyColumn Union all select 45678 Union all select 7890 ) as MyCriteria on MyTable.MyColumn = MyCriteria.MyColumn; Matthew Hartman Programmer/Analyst Information Management, ICP Kingston General Hospital
В списке pgsql-sql по дате отправления