Обсуждение: Question about Large Objects

Поиск
Список
Период
Сортировка

Question about Large Objects

От
"Sergey Karin"
Дата:

Hi, all

 

As I understood PostgreSQL allows to store large objects 2GB size maximum.

Are there any plans to increase or removing that limitation?

 

If no, are there any abilities to store 10-20GB raster data (aero foto image) in postgreSQL?

 

Thanks

 

Sergey Karin

Re: Question about Large Objects

От
Tom Lane
Дата:
"Sergey Karin" <nil5-ksa@yandex.ru> writes:
> As I understood PostgreSQL allows to store large objects 2GB size maximum.
> Are there any plans to increase or removing that limitation?

I don't think anyone's really thought about it.  To do it without
breaking backward compatibility, we'd have to invent a parallel 64-bit
LO API and propagate that clear out to the clients ... seems like a
pain in the neck for relatively small gain.

> If no, are there any abilities to store 10-20GB raster data (aero foto
> image) in postgreSQL?

You could break it into chunks, but it might be better to keep it in the
regular filesystem and just store a pathname in the database.

            regards, tom lane