Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 5C4CD632ECD for ; Wed, 11 Aug 2010 12:23:31 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 37249-08 for ; Wed, 11 Aug 2010 15:23:23 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id A6127632EC0 for ; Wed, 11 Aug 2010 12:23:23 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id o7BFNLA0006024; Wed, 11 Aug 2010 11:23:21 -0400 (EDT) To: Joseph Conway cc: pgsql-performance@postgresql.org Subject: Re: 32 vs 64 bit build on Solaris Sparc In-reply-to: <4C62BF17.6090300@joeconway.com> References: <4C62BF17.6090300@joeconway.com> Comments: In-reply-to Joseph Conway message dated "Wed, 11 Aug 2010 08:17:43 -0700" Date: Wed, 11 Aug 2010 11:23:21 -0400 Message-ID: <6023.1281540201@sss.pgh.pa.us> From: Tom Lane 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: 201008/128 X-Sequence-Number: 39971 Joseph Conway writes: > Also semi-related question: when building from source, using gcc, > enabling debug (but *not* assert) is normally not much of a performance > hit. Is the same true if you build with the Sun CC? Most non-gcc compilers disable optimization altogether if you enable debug :-(. Perhaps that isn't true of Sun's, but I'd check its documentation before considering --enable-debug for a production build. regards, tom lane