Re: Image storage questions - Mailing list pgsql-general

From Joshua D. Drake
Subject Re: Image storage questions
Date
Msg-id 428D5A0F.3080406@commandprompt.com
Whole thread Raw
In response to Re: Image storage questions  ("Guy Rouillier" <guyr@masergy.com>)
List pgsql-general
Guy Rouillier wrote:
> Joshua D. Drake wrote:
>
>
>>External storing is useful but I prefer LO because all my data (binary
>>and meta) is all in the same place for management.
>
>
> But if that's a big L in LO, performance and maintenance will be
> negatively affected, perhaps significantly.

How?

  The DBMS will have to scan
> over all that large binary data to extract text or numeric data.

Ahhh now I see, are you expecting to be able to query your LOs? We only
use Large Objects as a storage mechanism.

   And
> backups will copy that static binary data repeatedly.

Not unless you tell it to. If you don't pass the -b option you are not
going to end up backing up your large objects anyway.

   For those
> reasons, if I'm storing very large objects, like images, that I know
> I'll never search or update, I prefer to manage them externally.

Sincerely,

Joshua D. Drake


>


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Inherited constraints and search paths (was Re: Preserving data after updates)
Next
From: OpenMacNews
Date:
Subject: Re: 8.0.3 build error on Mac OS X 10.4