Re: Londiste 3 pgq events_1_1 table huge - Mailing list pgsql-general

From Leonardo M. Ramé
Subject Re: Londiste 3 pgq events_1_1 table huge
Date
Msg-id 573DA6C4.1090200@griensu.com
Whole thread Raw
In response to Re: Londiste 3 pgq events_1_1 table huge  ("Rene ." <rene0_3@hotmail.com>)
Responses Re: Londiste 3 pgq events_1_1 table huge
List pgsql-general
El 18/05/16 a las 19:03, Rene . escribió:
> Hi, Check for long running Idle in transaction sessions. Idle in transaction sessions may holding events table from
cleaningitself up. 
> If there is more then days long running idle in transaction sessions, kill them, event table should be cleaned
automaticallyafter that. 
>
> "select pid,state, query_start from pg_stat_activity where state='idle in transaction';" for checking sessions.
>
> Rene

Thanks Rene, I found only one "idle in transaction" and it dates from
just a couple of minutes ago, so, the reason of huge event table must be
something else.

By looking at the event_1_1 table I found records from march, but
londiste3 status shows everything is already in sync:

nodo_master (root)
   |                           Tables: 146/0/0
   |                           Lag: 0s, Tick: 1112197
   +--: node_esclavo (leaf)
                               Tables: 146/0/0
                               Lag: 0s, Tick: 1112197

So, what if I manually delete old events?.


Regards,
--
Leonardo M. Ramé
Medical IT - Griensu S.A.
Av. Colón 636 - Piso 8 Of. A
X5000EPT -- Córdoba
Tel.: +54(351)4246924 +54(351)4247788 +54(351)4247979 int. 19
Cel.: +54 9 (011) 40871877


pgsql-general by date:

Previous
From: Alexey Bashtanov
Date:
Subject: Re: first_value/last_value
Next
From: "Rene ."
Date:
Subject: Re: Londiste 3 pgq events_1_1 table huge