Re: Error during a dump (ts_selectivity, not found)

From: Vick Khera <vivek(at)khera(dot)org>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Error during a dump (ts_selectivity, not found)
Date: 2011-01-19 20:31:23
Message-ID: AANLkTikd5d4OnWtbBBS5DW88LSRiLVMiR3_8VQwirmm0@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Jan 19, 2011 at 3:00 PM, Ahmed Ossama <ahmed(at)aossama(dot)net> wrote:
> Am I making an accurate comparison between the original db and the one i am
> trying to dump by comparing their sizes?
>

No.

What you might want to do is take a pg_dump of the newly restored DB
and see if its size is comparable to the size of the original dump.
These are in a compact format. The on-disk format of the database
probably has some extra space in it from processing updates and
deletes over time.

The other option is to count the number of rows per table and compare those.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Aram Fingal 2011-01-19 20:37:58 Group by with insensitive order
Previous Message Thomas Kellerer 2011-01-19 20:29:11 Re: How can I find a schema that a table belong to?