pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: NSO <nso@fmf.vtu.lt>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-performance@postgresql.org
Subject: Re: Bytea poor performance
Date: Sat, 15 Oct 2005 19:16:30 +0300 (EEST)
Message-ID: <18133.81.7.89.65.1129392990.squirrel@fmf.vtu.lt> (raw)
In-Reply-To: <29778.1129391647@sss.pgh.pa.us>
References: <17260.81.7.89.65.1129382454.squirrel@fmf.vtu.lt>
	<29778.1129391647@sss.pgh.pa.us>

Hello,

 Yes, I can understand that, but then why the same app on the server
machine is done in 4 seconds? (big difference from 20-30 seconds). I
tryed to monitor network traffic and it is used only for 1-2% of total
100mbit.


> "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
>
> --
> This message has been scanned for viruses and
> dangerous content, and is believed to be clean.
>
>



-- 
This message has been scanned for viruses and
dangerous content, and is believed to be clean.




view thread (14+ messages)  latest in thread

Message-ID: <18133.81.7.89.65.1129392990.squirrel@fmf.vtu.lt>
Permalink:  ../18133.81.7.89.65.1129392990.squirrel@fmf.vtu.lt/
Also on:    postgresql.org/message-id/18133.81.7.89.65.1129392990.squirrel@fmf.vtu.lt

 · 

reply

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: nso@fmf.vtu.lt, tgl@sss.pgh.pa.us
  Subject: Re: Bytea poor performance
  In-Reply-To: <18133.81.7.89.65.1129392990.squirrel@fmf.vtu.lt>

* 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