Re: > 16TB worth of data question

Поиск
Список
Период
Сортировка
От Doug McNaught
Тема Re: > 16TB worth of data question
Дата
Msg-id m365p71xn3.fsf@varsoon.wireboard.com
обсуждение исходный текст
Ответ на > 16TB worth of data question  (Jeremiah Jahn <jeremiah@cs.earlham.edu>)
Список pgsql-general
Paul Ramsey <pramsey@refractions.net> writes:

> Heck, is the Pg BLOB interface anything more than a cute hook into
> filesystem storage?

Yes; it's organized as a table and storage-managed the same way as
other tables.

> I've often wondered what the point of BLOBs is,
> beyond providing a single API to all the data (maybe that *is* the
> point).

That, plus when you back up the database you're backing up everything
you need, plus it's harder for the database and the 'filesystem' to
get out of sync (you can use triggers etc to make sure, and easily run
queries to make sure you don't have any dangling references).

> Is there a performance advantage?

Slight disadvantage, I should think (unless the individual-file
approach stupidly puts them all in one directory, which can be very
slow on some system).

-Doug

В списке pgsql-general по дате отправления:

Предыдущее
От: "Matthew Nuzum"
Дата:
Сообщение: postgres discussed at php.weblogs.com
Следующее
От: "Magnus Naeslund(f)"
Дата:
Сообщение: Re: > 16TB worth of data question