Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 83477 invoked from network); 10 Nov 2006 00:50:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Nov 2006 00:50:48 -0000 Received: (qmail 61736 invoked by uid 500); 10 Nov 2006 00:50:58 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 61714 invoked by uid 500); 10 Nov 2006 00:50:58 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 61705 invoked by uid 99); 10 Nov 2006 00:50:58 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Nov 2006 16:50:58 -0800 X-ASF-Spam-Status: No, hits=1.9 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [32.97.182.142] (HELO e2.ny.us.ibm.com) (32.97.182.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Nov 2006 16:50:43 -0800 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [9.56.227.236]) by e2.ny.us.ibm.com (8.13.8/8.12.11) with ESMTP id kAA0oMVp004396 for ; Thu, 9 Nov 2006 19:50:22 -0500 Received: from d01av03.pok.ibm.com (d01av03.pok.ibm.com [9.56.224.217]) by d01relay04.pok.ibm.com (8.13.6/8.13.6/NCO v8.1.1) with ESMTP id kAA0oL6h186518 for ; Thu, 9 Nov 2006 19:50:21 -0500 Received: from d01av03.pok.ibm.com (loopback [127.0.0.1]) by d01av03.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id kAA0oLjX032474 for ; Thu, 9 Nov 2006 19:50:21 -0500 Received: from [127.0.0.1] (IBM-IKEJ04B1IMA.usca.ibm.com [9.72.133.55]) by d01av03.pok.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id kAA0oKPD032439 for ; Thu, 9 Nov 2006 19:50:21 -0500 Message-ID: <4553CCC9.8070000@sbcglobal.net> Date: Thu, 09 Nov 2006 16:50:17 -0800 From: Mike Matrigali Reply-To: mikem_app@sbcglobal.net User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: derby-dev@db.apache.org Subject: Re: (DERBY-378) implementing import/export of large objects... References: <45410499.808@gmail.com> <45478117.9010101@apache.org> <45491975.9090908@gmail.com> <454A4D7C.2010805@sbcglobal.net> <454A7105.60300@gmail.com> <454A7F1B.5050202@sbcglobal.net> <455125AC.20709@gmail.com> In-Reply-To: <455125AC.20709@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Suresh Thalamati wrote: > > Hi Mike , > > After thinking bit more about the cases you mentioned, better solution > might be to do write the binary data in HEX format when exporting the > data to only one file, instead of modifying the binary data with double > delimiters. This way main export file will be text file > as it is now. > > Only restriction with this approach is users can not use the hex number > (A-F , a-f, 0-9) as the delimiter; I think this restriction is > reasonable one. > > If users required raw format , they can export binary data types to a > separate file using the new procedures. I think the separate file approach is fine and resolves the most important blob import/export need. It seems simpler, and likely to be faster. Doing hex for inline seems a reasonable alternative to messing with escaped delimiters in raw data. I think the rest of the inline data is always in some sort of "character" format. If you only do one implementation I would think the separate file approach is better. > > > > Thanks > -suresh > > > > >