Re: reading large BYTEA type is slower than expected - Mailing list pgsql-performance

From Tom Lane
Subject Re: reading large BYTEA type is slower than expected
Date
Msg-id 259.1179510482@sss.pgh.pa.us
Whole thread Raw
In response to reading large BYTEA type is slower than expected  ("Mark Harris" <mharris@esri.com>)
Responses Re: reading large BYTEA type is slower than expected  ("Mark Harris" <mharris@esri.com>)
Re: reading large BYTEA type is slower than expected  ("Mark Harris" <mharris@esri.com>)
List pgsql-performance
"Mark Harris" <mharris@esri.com> writes:
> We have recently ported our application to the postgres database. For
> the most part performance has not been an issue; however there is one
> situation that is a problem and that is the initial read of rows
> containing BYTEA values that have an average size of 2 kilobytes or
> greater. For BYTEA values postgres requires as much 3 seconds to read
> the values from disk into its buffer cache.

How large is "large"?

(No, I don't believe it takes 3 sec to fetch a single 2Kb value.)

            regards, tom lane

pgsql-performance by date:

Previous
From: "Mark Harris"
Date:
Subject: reading large BYTEA type is slower than expected
Next
From: "Y Sidhu"
Date:
Subject: Re: reading large BYTEA type is slower than expected