Re: saludos y consulta - Mailing list pgsql-admin

From Iñigo Martinez Lasala
Subject Re: saludos y consulta
Date
Msg-id 1294669281.9409.42.camel@deimos
Whole thread Raw
In response to saludos y consulta  (Alejandro Brust at federacion <alejandrob@federacion.pasteleros.org.ar>)
List pgsql-admin
Hi Alejandro.

Your master server is sending WAL segments to slave server. So, each server has its own tables.
So, you have to launch an analyze process on both servers in order to get accurate statistics.

Anyway, it's not desirable to disable autovacuum. Why to you disable it? If you have a lot of deletes in some tables, you can tune autovacuum to not hit in your performance, and it's not necessary to launch it manually.

-----Original Message-----
From: Alejandro Brust at federacion <alejandrob@federacion.pasteleros.org.ar>
Reply-to: alejandrob@federacion.pasteleros.org.ar
To: pgsql-admin@postgresql.org
Subject: [ADMIN] saludos y consulta
Date: Fri, 07 Jan 2011 16:06:56 -0300

Hola a todos y feliz año!

Mi consulta es la siguiente:
Tengo funcionando OK dos server identicos con PG 9.0.1 y streaming 
replication.
Para un mejor funcionamiento durante la carga de datos deshabilite el 
autovacuum en el master y lo corro todas las noches desde un cron 
(freebsd) pero tengo la siguiente duda, el "vacuum --analize --all" me 
actualiza tambien el el esclavo las estadisticas? o sea
los dos servidores van a tener las mismas estadisticas?

Gracias por adelantado


pgsql-admin by date:

Previous
From: "Rob Richardson"
Date:
Subject: Do I need to run pgagent_upgrade.sql? If so, when?
Next
From: somnathzankar
Date:
Subject: problem about postgresql installation and user login