Re: 8.x index insert performance

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Kelly Burkhart <kelly@xxxxxxxxxxxxxxxxxxx> 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

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
       subscribe-nomail command to majordomo@xxxxxxxxxxxxxx so that your
       message can get through to the mailing list cleanly

[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux