From: Josh Berkus <josh@agliodbs.com>
To: pgsql-performance@postgresql.org
Cc: David Parker <dparker@tazznetworks.com>
Subject: Re: sort_mem affect on inserts?
Date: Wed, 17 Nov 2004 14:07:30 -0800
Message-ID: <200411171407.30795.josh@agliodbs.com> (raw)
In-Reply-To: <07FDEE0ED7455A48AC42AC2070EDFF7C26BA3D@corpsrv2.tazznetworks.com>
References: <07FDEE0ED7455A48AC42AC2070EDFF7C26BA3D@corpsrv2.tazznetworks.com>
David,
> I understand that the sort_mem conf setting affects queries with order by,
> etc., and the doc mentions that it is used in create index. Does sort_mem
> affect the updating of indexes, i.e., can the sort_mem setting affect the
> performance of inserts?
Only if the table has Foriegn Keys whose lookup might require a large sort.
Otherwise, no.
--
--Josh
Josh Berkus
Aglio Database Solutions
San Francisco
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-performance@postgresql.org
Cc: josh@agliodbs.com, dparker@tazznetworks.com
Subject: Re: sort_mem affect on inserts?
In-Reply-To: <200411171407.30795.josh@agliodbs.com>
* 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