Re: hooks for supporting third party blobs?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Eric Davies <Eric(at)barrodale(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: hooks for supporting third party blobs?
Date: 2004-12-07 05:01:07
Message-ID: 10326.1102395667@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Eric Davies <Eric(at)barrodale(dot)com> writes:
> A recent project of ours involved storing/fetching some reasonably large
> datasets in a home-brew datatype. The datasets tended to range from a few
> megabytes, to several gigabytes. We were seeing some nonlinear slowness
> with using native large objects with larger datasets, presumably due to the
> increasing depth of the btree index used to track all the little pieces of
> the blobs.

Did you do any profiling to back up that "presumably"? It seems at
least as likely to me that this was caused by some easily-fixed
inefficiency somewhere. There are still a lot of O(N^2) algorithms
in the backend that no one has run up against yet ...

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2004-12-07 05:08:56 Re: Performance tuning on RedHat Enterprise Linux 3
Previous Message Tom Lane 2004-12-07 04:55:39 Re: Performance tuning on RedHat Enterprise Linux 3