From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | "Dann Corbit" <DCorbit(at)connx(dot)com> |
Cc: | "Steve Crawford" <scrawford(at)pinpointresearch(dot)com>, pgsql-performance(at)postgreSQL(dot)org, pgsql-hackers(at)postgreSQL(dot)org |
Subject: | Re: Terrible performance on wide selects |
Date: | 2003-01-23 00:04:02 |
Message-ID: | 25521.1043280242@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-performance |
"Dann Corbit" <DCorbit(at)connx(dot)com> writes:
> Maybe I don't really understand the problem, but it seems simple enough
> to do it once for the whole query.
We already do cache column offsets when they are fixed. The code that's
the problem executes when there's a variable-width column in the table
--- which means that all columns to its right are not at fixed offsets,
and have to be scanned for separately in each tuple, AFAICS.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2003-01-23 00:06:12 | Re: [PERFORM] Proposal: relaxing link between explicit JOINs and execution order |
Previous Message | Sean Chittenden | 2003-01-22 23:59:31 | Re: [PERFORM] Proposal: relaxing link between explicit JOINs and execution order |
From | Date | Subject | |
---|---|---|---|
Next Message | Patrick Hatcher | 2003-01-23 00:05:39 | Re: Slow query on OS X box |
Previous Message | Sean Chittenden | 2003-01-22 23:59:31 | Re: [PERFORM] Proposal: relaxing link between explicit JOINs and execution order |