pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: Thomas F.O'Connell <tfo@sitening.com>
Cc: PgSQL - Performance <pgsql-performance@postgresql.org>
Subject: Re: Triggers During COPY
Date: Thu, 27 Jan 2005 21:41:49 -0800
Message-ID: <200501272141.49531.josh@agliodbs.com> (raw)
In-Reply-To: <f2a4e35d83b33da9b5d007d276df484a@sitening.com>
References: <f2a4e35d83b33da9b5d007d276df484a@sitening.com>

Thomas,

> Would it be absurd to drop the triggers during import and recreate them
> afterward and update the counts in a summ> ary update based on 
> information from the import process?

That's what I'd do.

Also, might I suggest storing the counts in memcached (see the pgmemached 
project on pgFoundry) rather than in a table?

-- 
--Josh

Josh Berkus
Aglio Database Solutions
San Francisco



view thread (6+ messages)  latest in thread

Message-ID: <200501272141.49531.josh@agliodbs.com>
Permalink:  ../200501272141.49531.josh@agliodbs.com/
Also on:    postgresql.org/message-id/200501272141.49531.josh@agliodbs.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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: josh@agliodbs.com, tfo@sitening.com
  Subject: Re: Triggers During COPY
  In-Reply-To: <200501272141.49531.josh@agliodbs.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