Re: Bytea poor performance

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "NSO" <nso(at)fmf(dot)vtu(dot)lt>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Bytea poor performance
Date: 2005-10-15 15:54:07
Message-ID: 29778.1129391647@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

"NSO" <nso(at)fmf(dot)vtu(dot)lt> writes:
> Query runs very long:
> Total query runtime: 23625 ms.
> Data retrieval runtime: 266 ms.
> 50 rows retrieved.

Notice that the query itself took 266ms. The rest of the time was
wasted by your client app trying to format a 23Kb by 50 row table
for display. You need to replace your client-side code with something
less inefficient about handling wide values.

regards, tom lane

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message NSO 2005-10-15 16:16:30 Re: Bytea poor performance
Previous Message NSO 2005-10-15 14:48:54 Re: Bytea poor performance