Re: performance with triggers depends on table size?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Christian Mock <cm(at)coretec(dot)at>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: performance with triggers depends on table size?
Date: 2002-08-14 13:35:31
Message-ID: 7505.1029332131@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Christian Mock <cm(at)coretec(dot)at> writes:
> I started the insert on the real database to copy some 3.6 million records
> between the tables, and plotted the timings -- now (with about half a
> million records done) you can see the time it takes to insert a row
> actually goes in a sawtooth pattern -- cf.
> http://www.coretec.at/~cm/insert-trigger.gif
> which has msec/inserted row on the Y axis and number of rows in the
> "output" table on the X axis.

Interesting ... I'd have to guess that there is some external influence
causing that. Do you by any chance have a cron jon set up to do
"vacuum"s periodically, and if so do the vacuums correspond to the
points where the insertion time drops?

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2002-08-14 14:53:45 Re: Blob stuff
Previous Message Oliver Elphick 2002-08-14 12:49:17 Re: problem with loading from file