Re: non-WAL btree?

Поиск
Список
Период
Сортировка
От Jaime Casanova
Тема Re: non-WAL btree?
Дата
Msg-id 3073cc9b0808021053n188ef055j73f81ef41e29d6e4@mail.gmail.com
обсуждение исходный текст
Ответ на Re: non-WAL btree?  (Alex Vinogradovs <AVinogradovs@Clearpathnet.com>)
Список pgsql-general
On Fri, Aug 1, 2008 at 4:49 PM, Alex Vinogradovs
<AVinogradovs@clearpathnet.com> wrote:
> It's all about number of repetions. If say I load my table
> with 50k every minute, and run reindex every minute, how
> long do you think it would take by end of the day, when
> my table (it's daily partition actually) is at maximum
> capacity ? And database may actually never crash, and
> I won't have to run reindex at all ;)
>

maybe http://www.postgresql.org/docs/8.3/static/wal-async-commit.html
is what you need...

begin;
set local synchronous_commit to off;
insert...
insert...
...
commit;

or

set synchronous_commit to off;
copy command;
set synchronous_commit to on;


--
regards,
Jaime Casanova
Soporte y capacitación de PostgreSQL
Guayaquil - Ecuador
Cel. (593) 87171157

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

Предыдущее
От: johnf
Дата:
Сообщение: Re: Is there any reason why "edit PostgreSQL.conf should be on my menu"
Следующее
От: Glyn Astill
Дата:
Сообщение: Re: Initdb problem on debian mips cobalt: Bus error