Re: Configure Postgres From SQL

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Configure Postgres From SQL
Дата
Msg-id 201007121728.31434.andres@anarazel.de
обсуждение исходный текст
Ответ на Configure Postgres From SQL  (Tom Wilcox <hungrytom@gmail.com>)
Ответы Re: Configure Postgres From SQL  (Greg Smith <greg@2ndquadrant.com>)
Список pgsql-general
On Monday 12 July 2010 15:29:14 Tom Wilcox wrote:
> Hi,
>
> Is it possible to configure postgres from SQL?
>
> I am interested in turning off fsync for a set of queries (that take
> ages to run) and then turn fsync back on again afterwards.
disabling fsync is nearly never a good idea.

What you can change (and that makes quite a bit of sense in some situations)
is the "synchronous_commit" setting.

What kind of queries are those? Many small transactions?

Andres

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

Предыдущее
От: Guillaume Lelarge
Дата:
Сообщение: Re: Configure Postgres From SQL
Следующее
От: Merlin Moncure
Дата:
Сообщение: Re: getting the last N tuples of a query