From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Jan Wieck <JanWieck(at)Yahoo(dot)com> |
Cc: | Denis Perchine <dyp(at)perchine(dot)com>, pgsql-hackers(at)postgreSQL(dot)org |
Subject: | Re: Patch for 'Not to stuff everything as files in a single directory, hash dirs'' |
Date: | 2000-10-03 03:44:56 |
Message-ID: | 200010030344.XAA11495@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
My idea was to implement the large object API on top of TOAST.
> Bruce Momjian wrote:
> > Seems the whole large object per file is going away in 7.1. Can someone
> > confirm this?
>
> Not the whole one in 7.1.
>
> The TOAST stuff will lower the need for large objects alot,
> but we already discovered the fact that it isn't a real
> answer to LARGE objects.
>
> First of all, the entire datum must be properly quoted to fit
> into a querystring. Therefore the client needs to have the
> original datum, the qouted copy, the querystring it built.
> Then the querystring is sent to the backend, parsed (where a
> CONST node is built from it), copied into a tuple to be split
> up into TOAST items.
>
> So on a central system, where client and DB are both running,
> we have 6 copies of the object in memory! Not that optimal.
>
> For 7.2 I'll work on real CLOB and BLOB data types. Requires
> some more thinking though.
>
>
> Jan
>
> --
>
> #======================================================================#
> # It's easier to get forgiveness for being wrong than for being right. #
> # Let's break this rule - forgive me. #
> #================================================== JanWieck(at)Yahoo(dot)com #
>
>
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2000-10-03 03:46:43 | Re: Autoconf version discrepancies |
Previous Message | Bruce Momjian | 2000-10-03 03:43:59 | Re: Adding time to DATE type |