Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 3058C632795 for ; Fri, 25 Jun 2010 01:59:44 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 77296-06 for ; Fri, 25 Jun 2010 04:59:35 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from snt0-omc1-s25.snt0.hotmail.com (snt0-omc1-s25.snt0.hotmail.com [65.55.90.36]) by mail.postgresql.org (Postfix) with ESMTP id 6F1F5632268 for ; Fri, 25 Jun 2010 01:59:35 -0300 (ADT) Received: from SNT123-W49 ([65.55.90.7]) by snt0-omc1-s25.snt0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Thu, 24 Jun 2010 21:59:33 -0700 Message-ID: Content-Type: multipart/alternative; boundary="_c8ce6cf6-8567-4ebf-b65e-4f478f1ae89e_" X-Originating-IP: [202.174.151.166] From: Jim Montgomery To: , CC: , Subject: Re: requested shared memory size overflows size_t Date: Fri, 25 Jun 2010 04:59:33 +0000 Importance: Normal In-Reply-To: References: <584872.74177.qm@web39702.mail.mud.yahoo.com>, <4C167A8D.1060002@gmail.com>, , <4C16B97F.4080201@gmail.com>, <4C1A96A2.2050607@2ndquadrant.com>, <4C1AB3C3.9090606@gmail.com>, <20100618124826.GW23529@aart.is.rice.edu>, <4C1BB6E9.1090105@2ndquadrant.com>, <4C23E424.8040605@emolecules.com>, <1277421485-sup-3743@alvh.no-ip.org>, MIME-Version: 1.0 X-OriginalArrivalTime: 25 Jun 2010 04:59:33.0683 (UTC) FILETIME=[33DEA030:01CB1423] X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.139 tagged_above=-10 required=5 tests=BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_SORBS_WEB=0.77, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201006/458 X-Sequence-Number: 39314 --_c8ce6cf6-8567-4ebf-b65e-4f478f1ae89e_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Remove me from your email traffic. =20 > Date: Thu=2C 24 Jun 2010 23:05:06 -0400 > Subject: Re: [PERFORM] requested shared memory size overflows size_t > From: robertmhaas@gmail.com > To: alvherre@commandprompt.com > CC: craig_james@emolecules.com=3B pgsql-performance@postgresql.org >=20 > On Thu=2C Jun 24=2C 2010 at 7:19 PM=2C Alvaro Herrera > wrote: > > Excerpts from Craig James's message of jue jun 24 19:03:00 -0400 2010: > > > >> select relname=2C pg_relation_size(relname) from pg_class > >> where pg_get_userbyid(relowner) =3D 'emol_warehouse_1' > >> and relname not like 'pg_%' > >> order by pg_relation_size(relname) desc=3B > >> ERROR: relation "rownum_temp" does not exist > >> > >> emol_warehouse_1=3D> select relname from pg_class where relname =3D 'r= ownum_temp'=3B > >> relname > >> ---------------------- > >> rownum_temp > >> (1 row) > > > > What's the full row? I'd just add a "WHERE relkind =3D 'r'" to the abo= ve > > query anyway. >=20 > Yeah - also=2C it would probably be good to call pg_relation_size on > pg_class.oid rather than pg_class.relname=2C to avoid any chance of > confusion over which objects are in which schema. >=20 > --=20 > Robert Haas > EnterpriseDB: http://www.enterprisedb.com > The Enterprise Postgres Company >=20 > --=20 > Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org= ) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-performance =20 _________________________________________________________________ http://clk.atdmt.com/UKM/go/197222280/direct/01/ We want to hear all your funny=2C exciting and crazy Hotmail stories. Tell = us now= --_c8ce6cf6-8567-4ebf-b65e-4f478f1ae89e_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Remove me from your email traffic.
 =3B
>=3B Date: Thu=2C 24 Ju= n 2010 23:05:06 -0400
>=3B Subject: Re: [PERFORM] requested shared mem= ory size overflows size_t
>=3B From: robertmhaas@gmail.com
>=3B T= o: alvherre@commandprompt.com
>=3B CC: craig_james@emolecules.com=3B p= gsql-performance@postgresql.org
>=3B
>=3B On Thu=2C Jun 24=2C 20= 10 at 7:19 PM=2C Alvaro Herrera
>=3B <=3Balvherre@commandprompt.com&= gt=3B wrote:
>=3B >=3B Excerpts from Craig James's message of jue ju= n 24 19:03:00 -0400 2010:
>=3B >=3B
>=3B >=3B>=3B select re= lname=2C pg_relation_size(relname) from pg_class
>=3B >=3B>=3B &nb= sp=3B  =3B  =3B  =3B  =3Bwhere pg_get_userbyid(relowner) = =3D 'emol_warehouse_1'
>=3B >=3B>=3B  =3B  =3B  =3B &n= bsp=3B  =3Band relname not like 'pg_%'
>=3B >=3B>=3B  =3B =  =3B  =3B  =3B  =3Border by pg_relation_size(relname) desc= =3B
>=3B >=3B>=3B ERROR:  =3Brelation "rownum_temp" does not e= xist
>=3B >=3B>=3B
>=3B >=3B>=3B emol_warehouse_1=3D>= =3B select relname from pg_class where relname =3D 'rownum_temp'=3B
>= =3B >=3B>=3B  =3B  =3B  =3B  =3B relname
>=3B >= =3B>=3B ----------------------
>=3B >=3B>=3B  =3B rownum_tem= p
>=3B >=3B>=3B (1 row)
>=3B >=3B
>=3B >=3B What's t= he full row?  =3BI'd just add a "WHERE relkind =3D 'r'" to the above>=3B >=3B query anyway.
>=3B
>=3B Yeah - also=2C it would p= robably be good to call pg_relation_size on
>=3B pg_class.oid rather t= han pg_class.relname=2C to avoid any chance of
>=3B confusion over whi= ch objects are in which schema.
>=3B
>=3B --
>=3B Robert H= aas
>=3B EnterpriseDB: http://www.enterprisedb.com
>=3B The Enter= prise Postgres Company
>=3B
>=3B --
>=3B Sent via pgsql-pe= rformance mailing list (pgsql-performance@postgresql.org)
>=3B To make= changes to your subscription:
>=3B http://www.postgresql.org/mailpref= /pgsql-performance


Get a free e-mail account wit= h Hotmail. Sign-up now. = --_c8ce6cf6-8567-4ebf-b65e-4f478f1ae89e_--