From: Tom Lane <tgl@sss.pgh.pa.us>
To: NSO <nso@fmf.vtu.lt>
Cc: pgsql-performance@postgresql.org
Subject: Re: Bytea poor performance
Date: Sat, 15 Oct 2005 11:54:07 -0400
Message-ID: <29778.1129391647@sss.pgh.pa.us> (raw)
In-Reply-To: <17260.81.7.89.65.1129382454.squirrel@fmf.vtu.lt>
References: <17260.81.7.89.65.1129382454.squirrel@fmf.vtu.lt>
"NSO" <nso@fmf.vtu.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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: tgl@sss.pgh.pa.us, nso@fmf.vtu.lt
Subject: Re: Bytea poor performance
In-Reply-To: <29778.1129391647@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox