From: | Enrique Herrera Noya <enrique(dot)herreranoya(at)gmail(dot)com> |
---|---|
To: | |
Cc: | Ayuda <pgsql-es-ayuda(at)lists(dot)postgresql(dot)org> |
Subject: | Re: vacuum full come disco |
Date: | 2024-04-30 01:24:41 |
Message-ID: | c3eb026c-69c8-4dd9-9503-61fd197edb73@gmail.com |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-es-ayuda |
El 29-04-24 a las 17:29, Mario González Troncoso escribió:
> On Mon, 29 Apr 2024 at 17:21, Enrique Herrera Noya
> <enrique(dot)herreranoya(at)gmail(dot)com> wrote:
>>
>> en otro servidor con postgresql 10.23, me percate que despues de borrar
>> tablas que no usan los de producción de datos,
>>
>> no se habia efectuado un vacuum hace rato,
>>
>> lance un vacuum full verbose;
>>
>> y sigue comiendo disco, no se supone que debe liberar disco en ves de
>> ocupar mas disco
>>
> Por "comer disco" quieres decir que te reduce el espacio disponible
> verdad? Si es así, claro que devuelve el espacio marcado para
> reutilizar al sistema operativo pero después de terminar[1] "VACUUM
lo que veo con df -h
es que al estar ejecutándose vacuum full , sigue aumentando el espacio
ocupado en ves de disminuir
se ha detenido el proceso al llenarse la particion , agrando la
particion vuelvo a iniciar la base , y continua aumentando,
tendre que hacer otra cosa?
> FULL rewrites the entire contents of the table into a new disk file
> with no extra space, allowing unused space to be returned to the
> operating system". No estoy seguro si servirá hacer el VACUUM FULL
> tabla por tabla si tienes espacio limitado.
>
> [1] https://www.postgresql.org/docs/current/sql-vacuum.html
>
>> nota: son como 900 tablas .....
>>
>> originalmente la base pesaba 1.2T, ya esta ocupando 2.7T
>>
>>
>>
>> Enrique Herrera Noya
>> --
>> +56 992303151
>> Red Hat Certified Engineer RHCE Nº100223072 (RH6.0)
>> Red Hat Certified System Administrato RHCSA Nº100223072 (RH6.0)
>> Red Hat Certified Technician (RHCT) Nº605010753835478 (RH5.0)
>> Novell Certified Linux Professional CLP 10
>> Red Hat Delivery Specialist -Container Platform Application Deployment I
>> Red Hat Delivery Specialist - Container Platform Administration I
>> RED HAT SPECIALIST
>> How to Sell Red Hat OpenShift for Infrastructure
>> How to Sell Red Hat OpenShift for Developers
>> Red Hat Sales Engineer Specialist - Container Platform
>> Red Hat Sales Engineer Specialist – Automation
>>
>>
>>
>
Enrique Herrera Noya
--
+56 992303151
Red Hat Certified Engineer RHCE Nº100223072 (RH6.0)
Red Hat Certified System Administrato RHCSA Nº100223072 (RH6.0)
Red Hat Certified Technician (RHCT) Nº605010753835478 (RH5.0)
Novell Certified Linux Professional CLP 10
Red Hat Delivery Specialist -Container Platform Application Deployment I
Red Hat Delivery Specialist - Container Platform Administration I
RED HAT SPECIALIST
How to Sell Red Hat OpenShift for Infrastructure
How to Sell Red Hat OpenShift for Developers
Red Hat Sales Engineer Specialist - Container Platform
Red Hat Sales Engineer Specialist – Automation
From | Date | Subject | |
---|---|---|---|
Next Message | Enrique Herrera Noya | 2024-04-30 01:27:15 | Re: vacuum full come disco |
Previous Message | Horacio Miranda | 2024-04-29 22:23:41 | Re: vacuum full come disco |