Re: Query regarding sharing data directory

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Query regarding sharing data directory
Дата
Msg-id ZN7DVWxdHzlU5pXL@paquier.xyz
обсуждение исходный текст
Ответ на Query regarding sharing data directory  (Harsh N Bhatt <harshbhatt5055@gmail.com>)
Список pgsql-hackers
On Thu, Aug 17, 2023 at 10:51:45AM +0530, Harsh N Bhatt wrote:
> I have a doubt regarding the storage of the data directory path of
> PostgreSQL. I'm using PostgreSQL server 15 in which I want to give a path
> to an external drive RAID Memory Storage. Which is on the LAN Network? Is
> it compatible or not? If it is then which file system is suitable: NAS or
> SAN?
>
> If it is, can you share any documents with me?

If you can connect to your server, you could use the following query
to know where your data folder is:
SHOW data_directory;

The location of the data directory is something that distributions and
installations set by themselves, so in short it depends on your
environment except if you set up a cluster by yourself.
--
Michael

Вложения

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: pg_upgrade - typo in verbose log
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Remove distprep