dump / restore questions

From: Joseph Shraibman <jks(at)selectacast(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: dump / restore questions
Date: 2004-05-24 03:22:31
Message-ID: c8rppo$1on0$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I recently dumped and restored a 7.4.2 database. It took 30 minutes for
the data to load (6 gig) and 45 for the indexes to be created (3 gig).

Why are the primary keys created after the other indexes? That means
that the table data had been evicted from the cache and has to be reloaded.

What is stored in the index files? Why do they take so long to create,
and why do they take up 50% of the space of the tables themselves?

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David Garamond 2004-05-24 05:58:28 Re: how many record versions
Previous Message Tom Lane 2004-05-24 03:09:20 Re: pg_dump error