Thanks to visit codestin.com
Credit goes to postgrespro.com

Re: [GENERAL] FreeBSD, Linux: select, select count(*) performance - Mailing list pgsql-sql

From Tom Lane
Subject Re: [GENERAL] FreeBSD, Linux: select, select count(*) performance
Date
Msg-id [email protected]
Whole thread Raw
In response to Re: [GENERAL] FreeBSD, Linux: select, select count(*) performance  (Achilleus Mantzios <[email protected]>)
List pgsql-sql
Achilleus Mantzios <[email protected]> writes:
> On Wed, 27 Nov 2002, Tom Lane wrote:
>> You didn't say what was *in* the table, exactly ... but I'm betting
>> there are a lot of toasted columns, and that the extra runtime
>> represents the time to fetch (and perhaps decompress) the TOAST entries.

> 278 columns of various types.
> namely,
> [snip]

Hmm, no particularly wide columns there --- but 278 columns is a lot.
I think the extra time might just be the time involved in fetching all
those column values out of the table row?

If you're interested in pursuing it, I'd suggest rebuilding the backend
with profiling enabled so you can see exactly where the time goes.

            regards, tom lane

pgsql-sql by date:

Previous
From: Achilleus Mantzios
Date:
Subject: Re: [GENERAL] FreeBSD, Linux: select, select count(*) performance
Next
From: Nathan Young
Date:
Subject: Re: join question