X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 07518D1B529 for ; Thu, 25 Sep 2003 17:17:30 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 32445-05 for ; Thu, 25 Sep 2003 14:16:58 -0300 (ADT) Received: from varlena.com (adsl-64-175-152-58.dsl.snfc21.pacbell.net [64.175.152.58]) by svr1.postgresql.org (Postfix) with ESMTP id 99521D1B4ED for ; Thu, 25 Sep 2003 14:16:57 -0300 (ADT) Received: by varlena.com (Postfix on SuSE Linux 7.3 (i386), from userid 500) id 5F5F538C8A; Thu, 25 Sep 2003 10:15:08 -0700 (PDT) Date: Thu, 25 Sep 2003 10:15:08 -0700 From: elein To: Kumar Cc: psql Subject: Re: Large Objects and Bytea Message-ID: <20030925101508.K22599@cookie.local> Mail-Followup-To: Kumar , psql References: <00f701c3831b$242f2150$7502a8c0@hdsc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <00f701c3831b$242f2150$7502a8c0@hdsc.com> User-Agent: Mutt/1.3.22.1i X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/310 X-Sequence-Number: 15288 In this week's General Bits, we talk about using large objects. Perhaps this might help you understand what is involved with using them. http://www.varlena.com/GeneralBits/ cheers, elein@varlena.com On Thu, Sep 25, 2003 at 09:41:28AM +0530, Kumar wrote: > Hi Friends, > > I am running Postgres 7.3.4 on RH Linux 7.2. > > I am migrating MS SQL DB to Postgres DB. I have tables with columns of data > type 'Image' in the MS SQL database. > IF I choose 'bytea' datatype, I am afraid it may lead to poor performance of > the database (which I read from the manual). In this case what is the best data > type to use. > > Please suggest me. The explanation of using LOB objects in a table and to write > them with image is not very clear in the documentation. Can any one send me any > link or white paper or examples about it. > > Thanks in advance. > > Kumar >