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

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



view thread (7+ messages)  latest in thread

Message-ID: <1dc7f0e30608240508t49a208acnbe26769e1b6f669d@mail.gmail.com>
Permalink:  ../1dc7f0e30608240508t49a208acnbe26769e1b6f669d@mail.gmail.com/
Also on:    postgresql.org/message-id/1dc7f0e30608240508t49a208acnbe26769e1b6f669d@mail.gmail.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: alexandre.leclerc@gmail.com, tall_thor@yahoo.com
  Subject: Re: Slow delete/insert.
  In-Reply-To: <1dc7f0e30608240508t49a208acnbe26769e1b6f669d@mail.gmail.com>
  References: <1dc7f0e30608231105h1da7c892n43dd53c27bf1a4fe@mail.gmail.com> <20060824082431.76181.qmail@web50313.mail.yahoo.com> <1dc7f0e30608240508t49a208acnbe26769e1b6f669d@mail.gmail.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