Re: Interesante

From: "Jaime Casanova" <jcasanov(at)systemguards(dot)com(dot)ec>
To: "postgres Emanuel CALVO FRANCO" <postgres(dot)arg(at)gmail(dot)com>
Cc: pgsql-es-ayuda(at)postgresql(dot)org
Subject: Re: Interesante
Date: 2008-09-30 23:02:00
Message-ID: 3073cc9b0809301602w7aa64e12gb793402577cd1ddd@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

On Tue, Sep 30, 2008 at 10:41 AM, postgres Emanuel CALVO FRANCO
<postgres(dot)arg(at)gmail(dot)com> wrote:
> Siguiendo el mailing list de hackers, vi algo interesante.
>
> Resulta ser que en un caso luego de realizar un VACUUM FULL, los
> indices crecieron por lo
> que recomiendan luego realizar un REINDEX.
>

esa es una de las razones por las que el VACUUM FULL no se recomienda.
Pero la mas importante según creo yo (aunque existe la teoria, aun sin
confirmar, de que me puedo equivocar ;) es que el VACUUM FULL necesita
de bloqueos muy estrictos y por supuesto no se puede hacer mientras
los usuarios estan trabajando... VACUUM normal en cambio puede
convivir con las demas transacciones y operaciones normales de la base
de datos.

http://www.postgresql.org/docs/8.3/static/routine-vacuuming.html
"""
VACUUM FULL is recommended for cases where you know you have deleted
the majority of rows in a table, so that the steady-state size of the
table can be shrunk substantially with VACUUM FULL's more aggressive
approach. Use plain VACUUM, not VACUUM FULL, for routine vacuuming for
space recovery.
"""

http://developer.postgresql.org/pgdocs/postgres/routine-vacuuming.html#VACUUM-BASICS
"""
Generally, therefore, administrators should strive to use standard
VACUUM and avoid VACUUM FULL.
"""

--
Atentamente,
Jaime Casanova
Soporte y capacitación de PostgreSQL
Asesoría y desarrollo de sistemas
Guayaquil - Ecuador
Cel. +59387171157

In response to

  • Interesante at 2008-09-30 15:41:22 from postgres Emanuel CALVO FRANCO

Responses

  • Re: Interesante at 2008-10-01 12:42:15 from postgres Emanuel CALVO FRANCO

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Pedro Mateo 2008-09-30 23:13:02 Re: wxwidgets libpq error de codificacion de caracteres
Previous Message Fernando Moreno 2008-09-30 21:03:02 Re: [Fwd: Re: CLAVES EN POSTGRES]