Re: 8.x index insert performance - Mailing list pgsql-performance

From Tom Lane
Subject Re: 8.x index insert performance
Date
Msg-id 12266.1131661094@sss.pgh.pa.us
Whole thread Raw
In response to Re: 8.x index insert performance  ("Merlin Moncure" <merlin.moncure@rcsonline.com>)
List pgsql-performance
Kelly Burkhart <kelly@tradebotsystems.com> writes:
> I've finally gotten around to profiling the back end.

Thanks for following up.

The sudden appearance of pg_detoast_datum() in the top ten in the third
profile is suspicious.  I wouldn't expect that to get called at all,
really, during a normal COPY IN process.  The only way I can imagine it
getting called is if you have index entries that require toasting, which
seems a bit unlikely to start happening only after 60 million rows.
Is it possible that the index keys are getting longer and longer as your
test run proceeds?

Could you send me (off list) the complete gprof output files?

            regards, tom lane

pgsql-performance by date:

Previous
From: Kelly Burkhart
Date:
Subject: Re: 8.x index insert performance
Next
From: Tom Lane
Date:
Subject: Re: 8.x index insert performance