Re: about lob(idea) - Mailing list pgsql-hackers

From Martín Marqués
Subject Re: about lob(idea)
Date
Msg-id 5564ED2F.2030901@2ndquadrant.com
Whole thread Raw
In response to about lob(idea)  (alex2010 <alexeysedov1982@gmail.com>)
Responses Re: about lob(idea)
List pgsql-hackers
El 25/05/15 a las 06:13, alex2010 escribió:
>  Maybe it makes sense to add ability to store large objects in the same table space as the table. 
> Or an opportunity - to specify table space for a large object.
> Do you have anything in todolists about it? 

This is something which has popped up on me more than once when giving
talks about storing files in PostgreSQL (last PgDay Argentina there was
quite a debate about it, particularly when bringing up the bytea <-> LO
comparison). The concerns the people exposed had different end goals.

One of the main concerns was the fact that all LO live in a common
catalog table (pg_largeobjects).

If the LO were stored per-database, with a some alike schema as
pg_largeobjects, then they could be placed on any tablespace available,
and even get dumped on a normal DB dump, which makes administration much
simpler.

Cheers,

-- 
Martín Marqués                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: ERROR: MultiXactId xxxx has not been created yet -- apparent wraparound
Next
From: Arjen Nienhuis
Date:
Subject: Run a test instance from the source directory