Re: control over database files

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: control over database files
Дата
Msg-id CAKFQuwab5Z4q4ufr2Ojzug_4Ao9-pUbBzBKTL4vOHd=K+i5sLw@mail.gmail.com
обсуждение исходный текст
Ответ на control over database files  (Aaron Gray <aaronngray.lists@gmail.com>)
Список pgsql-general
On Tuesday, July 17, 2018, Aaron Gray <aaronngray.lists@gmail.com> wrote:
I am wanting to be able to have control over what files that ables are stored in. Basically I am looking to have literally tens of thousands of tables all of the same type and to be able to store these as separate files in a filing system.

At first glance your needs and what PostgreSQL provides are incompatible but you can learn the details in the documentation.


That said, you will likely find that the configuration variables that are provided are sufficient to meet most needs and that actual control over low-level details such as file and directory structure are something best left to existing well written software such as PostgreSQL.

You might find that features such as row-level security and/or partitioning (depending on why you need thousands of identical tables...) can either reduce the need for them  or make setting them up considerably easier, respectively.  IOW, starting with a higher level use case will produce more useful responses.

David J.

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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: control over database files
Следующее
От: Tim Cross
Дата:
Сообщение: Re: User documentation vs Official Docs