Skip site navigation (1) Skip section navigation (2)

blobs

From: Steve Holdoway <steve(dot)holdoway(at)firetrust(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: blobs
Date: 2007-01-31 21:46:06
Message-ID: 20070201104606.5ea9e44e.steve.holdoway@firetrust.com (view raw or flat)
Thread:
Lists: pgsql-admin
I'm got the enviable task of redesigning an MySQL based project from scratch. We need a proper rdbms for this project, and I want to use PG 8.2.

The table I'm concerned with at the moment have (currently) 5 million rows, with a churn of about 300,000 rows a week. The table has about a million hits a day, which makes it the main potential bottleneck in this database.

We need to store some large ( 0 -> 100kB ) data with each row. Would you recommend adding it as columns in this table, given that blobs will be stored in the pg_largeobject table anyway, or would you recommend a daughter table for this?

Any other suggestions on how to avoid performance problems with this table ( hardware is dual Xeon, 4GB mem, 2 hardware raid channels for storage + 1 for logs, all running debian 32 bit ).

Cheers,

Steve

Responses

  • Re: blobs at 2007-01-31 22:25:08 from Phillip Smith
  • Re: blobs at 2007-01-31 23:45:15 from Chad Wagner

pgsql-admin by date

Next:From: GURON RawenderDate: 2007-01-31 22:13:46
Subject: unsubscribe
Previous:From: Chris HooverDate: 2007-01-31 21:08:06
Subject: 8.1.3 Problem

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group