Re: Would a PostgreSQL database on a DVD be usable?

Поиск
Список
Период
Сортировка
От Allan Engelhardt
Тема Re: Would a PostgreSQL database on a DVD be usable?
Дата
Msg-id 3B6F2162.9BE4C887@cybaea.com
обсуждение исходный текст
Ответ на Re: Would a PostgreSQL database on a DVD be usable?  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: Would a PostgreSQL database on a DVD be usable?  ("Dr. Evil" <drevil@sidereal.kz>)
Список pgsql-general
Lee Harr wrote:

> > (Is there any good reason for this, btw.?  The major vendors [Oracle, SQL
> Server, Sybase] support having logfiles (txn, redo, archive) on separate file
> systems/devices for reliability and performance.)
> >
>
> My understanding is that you _can_ do this, by shutting down the server
> moving the files to the places where you want them, and linking to them
> with symlinks from their original locations.

thanks to Lee and tom: I found the pg_xlog subdirectory.  No I can go symlink mad :-)

I still think it sould be possible to set this from within the RDBMS environment.

You can use WITH LOCATION on CREATE DATABASE; why not have a WITH LOGFILE (-DIRECTORY?) option as well, a la Oracle?
Presumablythere is no real speed gain, but it would kind of make it symmetric and obvious. 

And, let's face it:  for a *production* system, when would you *ever* want the data and the logs on the same physical
disk(or even on the same RAID channel)?  Maybe I'm being overly optimistic on behalf of the optimizations that
PostgrSQLperforms here.....but if so, think future-proof :-) 



Allan.


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

Предыдущее
От: caldodge@fpcc.net (Calvin Dodge)
Дата:
Сообщение: Re: Starting Postgre
Следующее
От: missive@frontiernet.net (Lee Harr)
Дата:
Сообщение: Re: Would a PostgreSQL database on a DVD be usable?