Re: index creation in maintenance_work_mem or work_mem - Mailing list pgsql-admin

From Tom Lane
Subject Re: index creation in maintenance_work_mem or work_mem
Date
Msg-id 27078.1110499609@sss.pgh.pa.us
Whole thread Raw
In response to index creation in maintenance_work_mem or work_mem  ("Lee Wu" <Lwu@mxlogic.com>)
List pgsql-admin
"Lee Wu" <Lwu@mxlogic.com> writes:
> "maintenance_work_mem: formerly called vacuum_mem, this is the quantity
> of RAM PostgreSQL uses for VACUUM, ANALYZE, CREATE INDEX, and adding
> foriegn keys."

> Is this right? I thought work_mem (or sort_mem prior 8) is used for
> CREATE INDEX.

Yes it is right ... as of 8.0.  Before that I think we did use sort_mem
as the parameter for CREATE INDEX.

            regards, tom lane

pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: IO Timeout
Next
From: Tom Lane
Date:
Subject: Re: Functions and transactions