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-08 12:19:50 |
Message-ID: | CAJghg4KCq93DqxyiZ6GkM4NaojzZFKjshShjnuwBjuxCCEHnJg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
On Tue, Oct 8, 2013 at 2:43 AM, Venakata Ramana <ramana(dot)pls(at)gmail(dot)com>wrote:
> Thanks for your reply.
>
>
> ---> You should update to 9.1.9.
>
> Recently I updated to 9.1.5. I will do in near future.
>
>
Recently??? 9.1.5 was released more then one year ago... =/
>
> --> How are you doing this restore? Is it from a dump? Are you using or
> could you use custom format?
>
>
> I am pg_restore using for restoring the backup which created using
> pg_dump.
>
>
>
If you don't show how you are doing that, nobody will be able to help you.
>
> --> 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.
>
>
> I used [2] option.
>
> With Index, and With out Index came in White Color.
>
> In this nDl and Nqr are query Plans i pasted. Please go through that.
> Suggest me whether i am doing in correct way or not.
>
>
I'm not going there to search for your plans, you could help people to help
you and pasted it here by yourself. Also, as Kevin suggested, this subject
should be on another thread in performance list.
>
>
>
>
> On Mon, Oct 7, 2013 at 11:04 PM, Matheus de Oliveira <
> matioli(dot)matheus(at)gmail(dot)com> wrote:
>
>>
>>
>>
>> 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
>>
>>
>
--
Matheus de Oliveira
Analista de Banco de Dados
Dextra Sistemas - MPS.Br nível F!
www.dextra.com.br/postgres
From | Date | Subject | |
---|---|---|---|
Next Message | Viktor Juhanson | 2013-10-08 13:20:07 | Re: Random server overload |
Previous Message | jaime soler | 2013-10-08 08:44:52 | Re: postgres connections in IDLE state.. |