Re: Tablespace size in TB

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: Tablespace size in TB
Дата
Msg-id a7733b8abeb0449d972f1cf88975f1a0971706a7.camel@cybertec.at
обсуждение
Ответ на Tablespace size in TB  (masheed ullah <masheedullah@gmail.com>)
Список pgsql-general
On Sun, 2026-05-03 at 12:35 +0300, masheed ullah wrote:
> Our team is using a single tablespace for the whole database. Its size is more than 13TB.
> I am from an Oracle background and want to suggest that they split the data in multiple tablespaces.
> It will not only improve the performance & reduce the backup time.
> But I did not find any Postgres best practice or blog, to show as a reference.

Normally, using tablespaces won't speed up processing or backup; it just makes
administration slightly more complicated.
You shouldn't have created a tablespace in the first place (the default tablespace
is good), and I don't think you'll benefit from having more tablespaces.

To be more precise, a correct answer would depend on your backup method.
If you are using storage techniques to copy the 13TB, and those storage
techniques become faster if you have more than a single file system,
then you could benefit from more tabespaces.  Otherwise you won't.

What makes sense to split up is large tables.  Using partitioning might
make the individual partitions easier to maintain.

Yours,
Laurenz Albe



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