Re: Extending varlena

From: "Gregory Williamson" <Gregory(dot)Williamson(at)digitalglobe(dot)com>
To: "David Fetter" <david(at)fetter(dot)org>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "PG Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Extending varlena
Date: 2008-08-19 01:04:03
Message-ID: 8B319E5A30FF4A48BE7EEAAF609DB233021F31FE@COMAIL01.digitalglobe.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

David Fetter wrote"

<...>
>
> > This'd greatly simplify the
> > cleanup-dead-objects problem, and we could avoid addressing the
> > permissions problem at all, since regular SQL permissions on the table
> > would serve fine. But it's not clear what regular SQL fetch and update
> > behaviors should be like for such a thing. (Fetching or storing the
> > whole blob value is right out, IMHO.) ISTR hearing of concepts roughly
> > like this in other DBs --- does it ring a bell for anyone?
>
> Informix has some pretty good blob-handling:
>
> http://publib.boulder.ibm.com/infocenter/idshelp/v10/index.jsp?topic=/com.ibm.sqlr.doc/sqlrmst101.htm
>

Agreed. I used Informix a few years back in a system that scanned both sides of multi-page financial documents; we stored them in Informix' blobs, which IIRC could be tuned to be given number of bytes. We found that 90% of our images fit in a given size and since Informix raw disk access let them move up the whole blob in a single pass, it was quite fast, and gave us all the warmth and fuzziness of ACID functionality. But we didn't fetch parts of the BLOB -- metadata lived in its own table. There is/was an Illustra/Informix blade which let you in theory do some processing of images (indexing) but that seems like a very specialized case.

Greg Williamson
Senior DBA
DigitalGlobe

Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information and must be protected in accordance with those provisions. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.

(My corporate masters made me say this.)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message leiyonghua 2008-08-19 01:11:45 Re: Postgres-R
Previous Message David Fetter 2008-08-19 00:46:09 Re: Extending varlena