pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thor Tall <tall_thor@yahoo.com>
To: Alexandre Leclerc <alexandre.leclerc@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Slow delete/insert.
Date: Thu, 24 Aug 2006 06:02:08 -0700 (PDT)
Message-ID: <20060824130209.47857.qmail@web50303.mail.yahoo.com> (raw)
In-Reply-To: <1dc7f0e30608240508t49a208acnbe26769e1b6f669d@mail.gmail.com>

The messages are split on the client side and PQexec
are called with INSERT/DELETE statements.
I have seen that I could use PQprepare and
PQexecPrepared but I doubt that it would help a lot to
use those functions?

/Thor

--- Alexandre Leclerc <alexandre.leclerc@gmail.com>
wrote:

> All this is prety straight forward.
> 
> As for the transaction you are crating, is the
> process of 'split
> message' actually do on the DB side or are you doing
> this process on
> you side? Maybe this is the actual work of splitting
> the message by
> the DB that is very slow.
> 
> /Maybe/ if you do this data-processing on your side,
> then sending that
> to the DB will save you time. If you really want
> that job being done
> on the server side, you could build yourself an
> extension module
> adding a special function that you would call to do
> the job. Maybe you
> could win couple cycles...
> 
> But all that could be confirmed or not by someone
> else which knows
> more about PG internals.
> 
> Best regards.
> 
> -- 
> Alexandre Leclerc
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



view thread (7+ messages)  latest in thread

Message-ID: <20060824130209.47857.qmail@web50303.mail.yahoo.com>
Permalink:  ../20060824130209.47857.qmail@web50303.mail.yahoo.com/
Also on:    postgresql.org/message-id/20060824130209.47857.qmail@web50303.mail.yahoo.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: tall_thor@yahoo.com, alexandre.leclerc@gmail.com
  Subject: Re: Slow delete/insert.
  In-Reply-To: <20060824130209.47857.qmail@web50303.mail.yahoo.com>
  References: <1dc7f0e30608240508t49a208acnbe26769e1b6f669d@mail.gmail.com> <20060824130209.47857.qmail@web50303.mail.yahoo.com>

* 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