Re: [INTERFACES] table very big !!!!! - Mailing list pgsql-interfaces

From Peter Mount
Subject Re: [INTERFACES] table very big !!!!!
Date
Msg-id Pine.LNX.4.10.9911222036200.19044-100000@maidast.retep.org.uk
Whole thread Raw
In response to Re: [INTERFACES] table very big !!!!!  (Pablo Saul Salazar - CESERCOMP <ssalazar@goliat.espol.edu.ec>)
Responses Re: [INTERFACES] table very big !!!!!
List pgsql-interfaces
On Mon, 22 Nov 1999, Pablo Saul Salazar - CESERCOMP wrote:

> Yes, i have a C program that first do delete and after run command vacuum
> analyze, but this command dont do nothing, because the size the table
> grow

Ah, try running first vacuum; then vacuum analyze. The first one will
truncate the table removing the wasted space. The second simply rebuilds
some statistics about the table.

Peter

> 
> another solutions!!! ???
> 
> Thanks
> 
> 
> Pablo Salazar Loaiza
>  Asistente de Redes
>   CESERCOMP-ESPOL
> 
> 
> On Mon, 22 Nov 1999, Peter Mount wrote:
> 
> > On Mon, 22 Nov 1999, Pablo Salazar Loaiza wrote:
> > 
> > > Hello all
> > > 
> > > I have a DB in Postgres, and i have one application that work with this
> > > DB, and exist one table where dialy is writing register in this table,
> > > but to midnigth , i do delete from table.
> > > 
> > > But the size always is growing.
> > 
> > Are you running a vacuum after the delete?
> > 
> > Peter
> > 
> > --
> >        Peter T Mount peter@retep.org.uk
> >       Main Homepage: http://www.retep.org.uk
> > PostgreSQL JDBC Faq: http://www.retep.org.uk/postgres
> >  Java PDF Generator: http://www.retep.org.uk/pdf
> > 
> > 
> 

--      Peter T Mount peter@retep.org.uk     Main Homepage: http://www.retep.org.uk
PostgreSQL JDBC Faq: http://www.retep.org.uk/postgresJava PDF Generator: http://www.retep.org.uk/pdf



pgsql-interfaces by date:

Previous
From: Pablo Saul Salazar - CESERCOMP
Date:
Subject: Re: [INTERFACES] table very big !!!!!
Next
From: Nathan Kennedy
Date:
Subject: Linking PgSQL to another SQL Database