From: | "Nigel J(dot) Andrews" <nandrews(at)investsystems(dot)co(dot)uk> |
---|---|
To: | Rick Gigger <rick(at)alpinenetworking(dot)com> |
Cc: | "Keith C(dot) Perry" <netadmin(at)vcsn(dot)com>, PgSQL General ML <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: uploading files |
Date: | 2003-11-22 15:42:52 |
Message-ID: | Pine.LNX.4.21.0311221541240.13011-100000@ponder.fairway2k.co.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin pgsql-general |
On Tue, 18 Nov 2003, Rick Gigger wrote:
> I will search the archives but does anyone know off the top of their head
> which performs better?
lo_* but then I forgot to turn off compression on the bytea column.
--
Nigel Andrews
>
> ----- Original Message -----
> From: "Keith C. Perry" <netadmin(at)vcsn(dot)com>
> To: "Rick Gigger" <rick(at)alpinenetworking(dot)com>
> Cc: "PgSQL General ML" <pgsql-general(at)postgresql(dot)org>
> Sent: Tuesday, November 18, 2003 12:25 PM
> Subject: Re: [GENERAL] uploading files
>
>
> > Quoting Rick Gigger <rick(at)alpinenetworking(dot)com>:
> >
> > > What is the best method for storing files in postgres? Is it better to
> use
> > > the large object functions or to just encode the data and store it in a
> > > regular text or data field?
> > >
> > >
> > > ---------------------------(end of broadcast)---------------------------
> > > TIP 3: if posting/reading through Usenet, please send an appropriate
> > > subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> > > message can get through to the mailing list cleanly
> > >
> >
> > Rick,
> >
> > This has been discussed recently so you might want to dig through the
> archives
> > but one thing to be aware of is that with large objects, you have have to
> dump
> > your database in a different format- a non-text format. This is less
> portable
> > than storing files as bytea's which can be dumped in the text and non-text
> > formats. Argueably is all you use is PosgreSQL then this might not be a
> big deal.
> >
> > Performance-wise I'm not qualified to speak to which is "better". As
> always, it
> > is going to depend on your specific application and environment.
> >
> > --
> > Keith C. Perry, MS E.E.
> > Director of Networks & Applications
> > VCSN, Inc.
> > http://vcsn.com
From | Date | Subject | |
---|---|---|---|
Next Message | Stephan Szabo | 2003-11-22 16:14:05 | Re: ERROR |
Previous Message | Bruno LEVEQUE | 2003-11-22 14:03:05 | Re: ERROR |
From | Date | Subject | |
---|---|---|---|
Next Message | tim | 2003-11-22 16:14:52 | Connecting Openoffice Postgres |
Previous Message | Nigel J. Andrews | 2003-11-22 15:12:07 | Re: Alternative cluster location |