Re: reading large BYTEA type is slower than expected

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Mark Harris" <mharris(at)esri(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: reading large BYTEA type is slower than expected
Date: 2007-05-18 17:48:02
Message-ID: 259.1179510482@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

"Mark Harris" <mharris(at)esri(dot)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

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Y Sidhu 2007-05-18 17:50:25 Re: reading large BYTEA type is slower than expected
Previous Message cyber-postgres 2007-05-18 17:43:40 121+ million record table perf problems