Re: [SQL] Slow Inserts Again - Mailing list pgsql-sql

From Tom Lane
Subject Re: [SQL] Slow Inserts Again
Date
Msg-id 19916.925742572@sss.pgh.pa.us
Whole thread Raw
In response to Re: [SQL] Slow Inserts Again  ("Frank Morton" <fmorton@base2inc.com>)
Responses Re: [SQL] Slow Inserts Again
List pgsql-sql
>> Why _each_?
>> Enclose ALL statements by begin; & end; to insert ALL data
>> in SINGLE transaction:

But the transaction boundaries wouldn't have anything to do with
Frank's real problem, which is that the insertions are getting
slower and slower.  There's no good reason for that; and other
people are not reporting any comparable problems.  (Considering
that we *have* been getting trouble reports for more-than-2-gig
tables, it's clear that people are putting large amounts of data
into 6.5; so it's not like Frank is stressing the system more
than it has been before.)

Frank, what does the memory usage of the backend that's processing
this insertion look like; has it been growing steadily?  I'm wondering
whether you could have a problem with poor malloc behavior, or some
such.
        regards, tom lane


pgsql-sql by date:

Previous
From: Joerg Fischer
Date:
Subject: Re: [SQL] No DIVIDE Operator
Next
From: Chris Bitmead
Date:
Subject: Re: [SQL] No DIVIDE Operator