Re: non-WAL btree? - Mailing list pgsql-general

From Jaime Casanova
Subject Re: non-WAL btree?
Date
Msg-id 3073cc9b0808021053n188ef055j73f81ef41e29d6e4@mail.gmail.com
Whole thread Raw
In response to Re: non-WAL btree?  (Alex Vinogradovs <AVinogradovs@Clearpathnet.com>)
List 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 by date:

Previous
From: johnf
Date:
Subject: Re: Is there any reason why "edit PostgreSQL.conf should be on my menu"
Next
From: Glyn Astill
Date:
Subject: Re: Initdb problem on debian mips cobalt: Bus error