Switching fsync mode?

Поиск
Список
Период
Сортировка
Искать

Switching fsync mode?

От:
Chris Fedde <cfedde@sendmail.com>
Дата:
The features and document sets point out that postgresql can run in either
of an fsync and non-fsync mode.  But for the life of me I can't find how to
make the switch.  Am I missing something obvious?

thanks
chris

-- 
    Chris Fedde
    303 773 9134

Re: [GENERAL] Switching fsync mode?

От:
Charles Tassell <ctassell@isn.net>
Дата:
You have to start the backend with the -F option.  So instead of something 
like:
  /usr/local/pgsql/postmaster -i
you would use:
  /usr/local/pgsql/postmaster -i -F


At 01:26 PM 11/8/99, Chris Fedde wrote:
>The features and document sets point out that postgresql can run in either
>of an fsync and non-fsync mode.  But for the life of me I can't find how to
>make the switch.  Am I missing something obvious?
>
>thanks
>chris
>
>--
>     Chris Fedde
>     303 773 9134
>
>************

Re: [GENERAL] Switching fsync mode?

От:
"Patrick Welche" <prlw1@newn.cam.ac.uk>
Дата:
Chris Fedde wrote:
> 
> The features and document sets point out that postgresql can run in either
> of an fsync and non-fsync mode.  But for the life of me I can't find how to
> make the switch.  Am I missing something obvious?

For non-fsync mode, send -F to the backend, using postmaster's -o option eg:

postmaster -o -F

(postmaster -o "-F -more_backend_options")

Cheers,

Patrick
FAQ