Re: location for pgdata
От | Jules Alberts |
---|---|
Тема | Re: location for pgdata |
Дата | |
Msg-id | 200201101515.g0AFFsLu022144@artemis.cuci.nl обсуждение исходный текст |
Ответ на | Re: location for pgdata (Jason Earl <jason.earl@simplot.com>) |
Список | pgsql-novice |
On 10 Jan 2002 at 8:02, Jason Earl wrote: > "Jules Alberts" <julesa@arbodienst-limburg.nl> writes: <snip> > > since the (test) server will be mainly a database server, i made my > > /var the biggest partition and put the pg data in there. but, is there > > any convention or default on where pg data are placed? i ask this to > > make sure i don't run into trouble with an upgrade / RPM / DEB by > > making an exotic choice now. > > Debian puts the PostgreSQL data in /var/lib/postgres and the PGDG RPMs > (the ones that PostgreSQL produces) puts the data in /var/lib/pgsql . thanks Jason! i think i'll go for /var/lib/pgsql, especially since my RPM install already created that dir. i didn't notice it wat there until you mentioned it. > One other thing to think about. If your machine has more than one hard > drive moving the pg_xlog directory to another spindle (and using a > symlink in your data directory) can really be helpful performance wise, > but you want to have plenty of room for the log files to grow. thanks, i'll remember that. right now it's just one harddisk with a ca. 8gb /var partition on which performance isn't important. when it eventually goes into production however... -- Jules Alberts.
В списке pgsql-novice по дате отправления: