Re: sort_mem affect on inserts?

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: pgsql-performance(at)postgresql(dot)org
Cc: "David Parker" <dparker(at)tazznetworks(dot)com>
Subject: Re: sort_mem affect on inserts?
Date: 2004-11-17 22:07:30
Message-ID: 200411171407.30795.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

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

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message silviapg@tiscali.it 2004-11-17 22:13:52 postgres eating CPU
Previous Message David Parker 2004-11-17 21:31:31 sort_mem affect on inserts?