Re: symlinking pg_xlog
От | Michael Fuhr |
---|---|
Тема | Re: symlinking pg_xlog |
Дата | |
Msg-id | 20050624134038.GA45058@winnie.fuhr.org обсуждение исходный текст |
Ответ на | symlinking pg_xlog (KÖPFERL Robert <robert.koepferl@sonorys.at>) |
Список | pgsql-admin |
On Fri, Jun 24, 2005 at 03:18:12PM +0200, KÖPFERL Robert wrote: > > due to I/O-bottle necks I think of making a symlink from pg_xlog to another > physical disk. > This is a modification inside the cluster dir. What kind of idea is that? > bad one? See the "Write-Ahead Logging (WAL)" chapter in the documentation: http://www.postgresql.org/docs/8.0/static/wal-internals.html "It is of advantage if the log is located on another disk than the main database files. This may be achieved by moving the directory pg_xlog to another location (while the server is shut down, of course) and creating a symbolic link from the original location in the main data directory to the new location." Several third-party performance-tuning documents make the same recommendation. -- Michael Fuhr http://www.fuhr.org/~mfuhr/
В списке pgsql-admin по дате отправления: