Re: Reg. Restore

From: Matheus de Oliveira <matioli(dot)matheus(at)gmail(dot)com>
To: Venakata Ramana <ramana(dot)pls(at)gmail(dot)com>
Cc: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Reg. Restore
Date: 2013-10-07 17:34:30
Message-ID: CAJghg4+cmC1GNQpyoiD61ToCVBioijb8r9w+u64XrdCSKgDi+g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Mon, Oct 7, 2013 at 9:03 AM, Venakata Ramana <ramana(dot)pls(at)gmail(dot)com>wrote:

> Hi,
>
> I am using postgresql 9.1.5. on windows Xp.
>
>
You should update to 9.1.9.

I am facing two problems:
>
> 1. Restore of DB is very slow.
> How to improve the speed of Restore?
>
>
How are you doing this restore? Is it from a dump? Are you using or could
you use custom format?

At [1] there are some tips to help.

2. Without indexes, retrieving from table is fast?
> After creating an index on that table, then the retrieval become slow.
>
>
That is odd. Perhaps your indexes are bloat or you don't have proper
statics on your tables?! Please, give us the EXPLAIN ANALYZE of the queries
with and without the indexes (you could use [2]), and run ANALYZE on the
table before it.

[1] http://www.postgresql.org/docs/9.1/static/populate.html
[2] http://explain.depesz.com/

Regards,
--
Matheus de Oliveira
Analista de Banco de Dados
Dextra Sistemas - MPS.Br nível F!
www.dextra.com.br/postgres

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Venakata Ramana 2013-10-08 05:43:01 Re: Reg. Restore
Previous Message Kevin Grittner 2013-10-07 17:13:10 Re: Reg. Restore