🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.databases.postgresql
3 messages
3 total messages Started by gargoyle60 Tue, 11 Oct 2016 11:51
Linux Recommended Installation Directory
#3265
Author: gargoyle60
Date: Tue, 11 Oct 2016 11:51
7 lines
433 bytes
I have Lubuntu 14.04 (32-bit) on an i386 machine and have downloaded the interactive installer by
EnterpriseDB for version 9.4.9 (postgresql-9.4.9-2-linux.run).

As my usual approach for installing on Linux I have always chosen to install with PGDATA set as
"/var/lib/postgresql/9.4" but I notice that the interactive installer prompts to use /opt rather
than /var.

What are the general thoughts regarding the recommended directory?
Re: Linux Recommended Installation Directory
#3266
Author: Robert Klemme
Date: Wed, 19 Oct 2016 00:32
104 bytes
I think it's more interesting on what device you put your db files (IO bandwidth, fault tolerance etc.).
Re: Linux Recommended Installation Directory
#3267
Author: Benoit Izac
Date: Wed, 19 Oct 2016 18:24
18 lines
619 bytes
gargoyle60 <gargoyle60@example.invalid> writes:

> I have Lubuntu 14.04 (32-bit) on an i386 machine and have downloaded
> the interactive installer by
> EnterpriseDB for version 9.4.9 (postgresql-9.4.9-2-linux.run).
>
> As my usual approach for installing on Linux I have always chosen to
> install with PGDATA set as
> "/var/lib/postgresql/9.4" but I notice that the interactive installer
> prompts to use /opt rather
> than /var.
>
> What are the general thoughts regarding the recommended directory?

For Linux, this is documented in hier(7), /opt is for static data,
/var/opt/ is for variable data.

--
Benoit Izac
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads