Re: Tablespaces

Поиск
Список
Период
Сортировка
От Albe Laurenz
Тема Re: Tablespaces
Дата
Msg-id AFCCBB403D7E7A4581E48F20AF3E5DB20338442F@EXADV1.host.magwien.gv.at
обсуждение исходный текст
Ответ на Tablespaces  (John Gardner <john.gardner@tagish.co.uk>)
Список pgsql-general
> I've been testing one of our apps on PostgreSQL for the last few
months
> and I'm about ready to put it on the production server, but I need
> advice on where to locate the tablespace.  I've been so concerned
> getting the app working, I haven't even considered this yet.
>
> I'm using a RPM install of Postgres, so the data directory is located
at
> /var/lib/pgsql/data/.  Shall I just create a directory under here and
> point the tablespace to there?  Any advice would be appreciated.

You can create it wherever you want as long as the database server has
permissions to access it.
You'll have to specify the full path in the CREATE TABLESPACE statement.

Are you sure that you need a tablespace at all?

Yours,
Laurenz Albe

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

Предыдущее
От: Lincoln Yeoh
Дата:
Сообщение: Re: Numeric performances
Следующее
От: Teodor Sigaev
Дата:
Сообщение: Re: warm standby server stops doingcheckpointsafterawhile