Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 12B311337B83 for ; Thu, 24 Mar 2011 12:39:20 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 78502-06 for ; Thu, 24 Mar 2011 15:39:12 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from smtp2.peak6.com (smtp2.peak6.com [38.98.137.9]) by mail.postgresql.org (Postfix) with ESMTP id 916831337B4E for ; Thu, 24 Mar 2011 12:39:12 -0300 (ADT) X-AuditID: 0a02cb1e-b7bf8ae00000096d-e4-4d8b659ff10f Message-ID: <4D8B6576.3090201@peak6.com> Date: Thu, 24 Mar 2011 10:38:30 -0500 From: Shaun Thomas Reply-To: sthomas@peak6.com Organization: Peak6 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100720 Lightning/1.0b2 Thunderbird/3.1.1 MIME-Version: 1.0 To: Uwe Bartels CC: Stephen Frost , "pgsql-performance@postgresql.org" Subject: Re: maintenance_work_mem + create index References: <20110324141303.GE4116@tamriel.snowman.net> <4D8B5FB9.7030704@peak6.com> In-Reply-To: Content-Type: text/plain; charset="ISO-8859-1"; format=flowed content-transfer-encoding: 7bit X-Brightmail-Tracker: AAAAAQAAAZE= X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201103/312 X-Sequence-Number: 42991 On 03/24/2011 10:28 AM, Uwe Bartels wrote: > OK. sounds promising. On my machine this looks similar. > I'll try this. I just realized I may have implied that DBSHM automatically defaults to /db/shm/pgsql_tmp. It dosen't. I also have this at the very top of our /etc/init.d/postgresql script: if [ -f /etc/sysconfig/postgresql ]; then source /etc/sysconfig/postgresql fi DBSHM=${DBSHM:-/dev/shm/pgsql_tmp} PGDATA=${PGDATA:-"/db/data/pgdata"} PGUSER=${PGUSER:-postgres} DBSHM doesn't exist, and the other vars will probably be empty unless you set them in the sysconfig file. What I meant was that /dev/shm automatically exists on our Linux box and we make use of it. :) -- Shaun Thomas OptionsHouse | 141 W. Jackson Blvd. | Suite 800 | Chicago IL, 60604 312-676-8870 sthomas@peak6.com ______________________________________________ See http://www.peak6.com/email_disclaimer.php for terms and conditions related to this email