Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id A9EBF2E2F4F for ; Thu, 6 Mar 2008 03:06:59 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 17522-01 for ; Thu, 6 Mar 2008 03:06:57 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from lists.commandprompt.com (host-159.commandprompt.net [207.173.203.159]) by postgresql.org (Postfix) with ESMTP id BCCEE2E2F4E for ; Thu, 6 Mar 2008 03:06:56 -0400 (AST) Received: from jd-laptop (or-69-34-217-90.sta.embarqhsd.net [69.34.217.90]) (authenticated bits=0) by lists.commandprompt.com (8.13.8/8.13.8) with ESMTP id m2677KbU006217 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 5 Mar 2008 23:07:21 -0800 Date: Wed, 5 Mar 2008 23:06:50 -0800 From: "Joshua D. Drake" To: "sathiya psql" Cc: pgsql-performance@postgresql.org Subject: Re: oid...any optimizations Message-ID: <20080305230650.67030d9c@jd-laptop> In-Reply-To: References: Organization: Joshua D. Drake X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.0; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/3XEsT/+e0_gi_WUCLUliB=e"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (lists.commandprompt.com [207.173.203.159]); Wed, 05 Mar 2008 23:07:21 -0800 (PST) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200803/105 X-Sequence-Number: 29059 --Sig_/3XEsT/+e0_gi_WUCLUliB=e Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Thu, 6 Mar 2008 12:32:01 +0530 "sathiya psql" wrote: > i had a table with 50 lakh record... >=20 > it has a column called oid ( obviously all the tables will have > this ), but while doing any operation it is getting slow because of > the number of records... Actually it isn't obvious as oids have been deprecated for years. >=20 > if i remove the oid column will i get any benefit, what are all the > other default columns created without our knowledge.. What version of ancient PostgreSQL are you running exactly? Joshua D. Drake --=20 The PostgreSQL Company since 1997: http://www.commandprompt.com/=20 PostgreSQL Community Conference: http://www.postgresqlconference.org/ Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate PostgreSQL SPI Liaison | SPI Director | PostgreSQL political pundit --Sig_/3XEsT/+e0_gi_WUCLUliB=e Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHz5gNATb/zqfZUUQRAi2iAJ44+nfmZR+VEkKiGyZdx3vlG3/mtgCeI0me 8jyRE8IwxgyT0eH6nl4dMGM= =ebSG -----END PGP SIGNATURE----- --Sig_/3XEsT/+e0_gi_WUCLUliB=e--