Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 22C916321B1 for ; Wed, 2 Jun 2010 18:00:06 -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 19939-04 for ; Wed, 2 Jun 2010 20:59:58 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from tamriel.snowman.net (tamriel.snowman.net [72.66.115.51]) by mail.postgresql.org (Postfix) with ESMTP id 1BAF6632888 for ; Wed, 2 Jun 2010 17:59:58 -0300 (ADT) Received: by tamriel.snowman.net (Postfix, from userid 1000) id B52792228E; Wed, 2 Jun 2010 16:59:57 -0400 (EDT) Date: Wed, 2 Jun 2010 16:59:57 -0400 From: Stephen Frost To: Kevin Grittner Cc: Tom Wilcox , pgsql-performance@postgresql.org Subject: Re: requested shared memory size overflows size_t Message-ID: <20100602205957.GN21875@tamriel.snowman.net> References: <4C063967.4070705@gmail.com> <4C067E510200002500031DC2@gw.wicourts.gov> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/cuYh6hu33vRhXGi" Content-Disposition: inline In-Reply-To: <4C067E510200002500031DC2@gw.wicourts.gov> X-Editor: Vim http://www.vim.org/ X-Info: http://www.snowman.net X-Operating-System: Linux/2.6.26-1-amd64 (x86_64) X-Uptime: 16:58:18 up 279 days, 8:23, 26 users, load average: 0.18, 0.12, 0.09 User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.011 tagged_above=-10 required=5 tests=BAYES_20=-0.001, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201006/40 X-Sequence-Number: 38896 --/cuYh6hu33vRhXGi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Kevin Grittner (Kevin.Grittner@wicourts.gov) wrote: > Tom Wilcox wrote: > > Is it possible to get postgres to make use of the available 96GB > > RAM on a Windows 32-bit build? > =20 > I would try setting shared_memory to somewhere between 200MB and 1GB > and set effective_cache_size =3D 90GB or so. The default behavior of > Windows was to use otherwise idle RAM for disk caching, last I > checked, anyway. Sure, but as explained on -general already, all that RAM will only ever get used for disk cacheing. It won't be able to be used for sorts or hash aggs or any other PG operations (PG would use at most 4GB-shared_buffers, or so). Thanks, Stephen --/cuYh6hu33vRhXGi Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkwGxk0ACgkQrzgMPqB3kij9vwCfZw4ycMbW0nUfpovMp3q30+PK RT0AnRNr1SKHxxM640A1YIx3JMb3Pr+J =WfDz -----END PGP SIGNATURE----- --/cuYh6hu33vRhXGi--