pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: jeremy@jeremya.com
Cc: pgsql-performance@postgresql.org
Subject: Re: pgsql BLOB issues
Date: Mon, 28 Apr 2003 01:00:01 -0400
Message-ID: <11754.1051506001@sss.pgh.pa.us> (raw)
In-Reply-To: <200304272230.23583@jeremy-rokks>
References: <200304272230.23583@jeremy-rokks>

Jeremy Andrus <jeremy@jeremya.com> writes:
>   I have a database that contains a large amount of Large Objects 
> (>500MB). I am using this database to store images for an e-commerce 
> website, so I have a simple accessor script written in perl to dump out 
> a blob based on a virtual 'path' stored in a table (and associated with 
> the large object's OID). This system seemed to work wonderfully until I 
> put more than ~500MB of binary data into the database. 

Are you talking about 500MB in one BLOB, or 500MB total?

If the former, I can well imagine swap thrashing being a problem when
you try to access such a large blob.

If the latter, I can't think of any reason for total blob storage to
cause any big performance issue.  Perhaps you just haven't vacuumed
pg_largeobject in a long time?

			regards, tom lane




view thread (4+ messages)  latest in thread

Message-ID: <11754.1051506001@sss.pgh.pa.us>
Permalink:  ../11754.1051506001@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/11754.1051506001@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, jeremy@jeremya.com
  Subject: Re: pgsql BLOB issues
  In-Reply-To: <11754.1051506001@sss.pgh.pa.us>
  References: <200304272230.23583@jeremy-rokks> <11754.1051506001@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox