Re: Database Bloat

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Database Bloat
Date: 2012-08-20 18:10:06
Message-ID: 50327D7E.4040804@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 08/20/12 10:53 AM, elliott wrote:
> Hi,
>
> I am using PostgreSQL 9.1 and loading very large tables ( 13 million
> rows each ). The flat file size is only 25M. However, the equivalent
> database table is 548MB. This is without any indexes applied and auto
> vacuum turned on. I have read that the bloat can be around 5 times
> greater for tables than flat files so over 20 times seems quite
> excessive.
>
> Any ideas on how to go about decreasing this bloat or is this not
> unexpected for such large tables?

what do the fields of this table look like (output from \d tablename
would be useful)

--
john r pierce N 37, W 122
santa cruz ca mid-left coast

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Evil 2012-08-20 18:34:14 Grant problem and how to prevent users to execute OS commands?
Previous Message David Johnston 2012-08-20 18:09:48 Re: Database Bloat