pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Rini Dutta <rinid@rocketmail.com>
Cc: pgsql-sql@postgresql.org
Cc: pgsql-general@postgresql.org
Cc: pgsql-interfaces@postgresql.org
Subject: Re: drastic reduction in speed of inserts as the table grows
Date: Tue, 17 Apr 2001 11:33:57 -0400
Message-ID: <23874.987521637@sss.pgh.pa.us> (raw)
In-Reply-To: <20010417153211.20493.qmail@web12502.mail.yahoo.com>
References: <20010417153211.20493.qmail@web12502.mail.yahoo.com>

Rini Dutta <rinid@rocketmail.com> writes:
> I'll try it out. Just for my understanding, is the
> 'lots-of-pending-triggers' problem related to indexes,
> or to foreign keys ? 

Foreign keys.  Does your speed problem go away if the table being
inserted into has no foreign keys?

			regards, tom lane



view thread (4+ messages)

Message-ID: <23874.987521637@sss.pgh.pa.us>
Permalink:  ../23874.987521637@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/23874.987521637@sss.pgh.pa.us

 · 

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-interfaces@postgresql.org
  Cc: tgl@sss.pgh.pa.us, rinid@rocketmail.com, pgsql-sql@postgresql.org, pgsql-general@postgresql.org
  Subject: Re: drastic reduction in speed of inserts as the table grows
  In-Reply-To: <23874.987521637@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