Re: parameter "vacuum_defer_cleanup_age"

From: Marti Raudsepp <marti(at)juffo(dot)org>
To: Tulio <tulio(at)informidia(dot)com(dot)br>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: parameter "vacuum_defer_cleanup_age"
Date: 2012-02-01 14:33:07
Message-ID: CABRT9RC=XoYRx=eHtkAYSxAGesU_hKGAORCzZV1WbqkGfOmYWw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Jan 30, 2012 at 20:55, Tulio <tulio(at)informidia(dot)com(dot)br> wrote:
> I have 2 servers, working with Hot-Standby and Streaming Replication...
> and when we executed some query much large returns a message..
> "canceling statement due to statement timeout"
> I want know, how can I calculate the better value to "vacuum_defer_cleanup_age" in my case?

This error doesn't happen due to recovery conflict, so
vacuum_defer_cleanup_age doesn't make any difference. The error
happens because the statement_timeout setting is configured somewhere
(maybe per-database or per-user settings). Set it to 0 to disable the
statement timeout.

Regards,
Marti

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Chris Travers 2012-02-01 14:52:17 Issue with CREATE EXTENSION tablefuncKreiter
Previous Message Bobby Dewitt 2012-02-01 14:28:30 Re: Why Hard-Coded Version 9.1 In Names?