R: advice for efresh of materialized view

From: "Ivan Fabris, Gruppo ColliniConsulting(dot)it" <Fabris(at)colliniconsulting(dot)it>
To: "'pgsql-general(at)postgresql(dot)org'" <pgsql-general(at)postgresql(dot)org>
Subject: R: advice for efresh of materialized view
Date: 2017-04-12 15:16:47
Message-ID: 88EF58F000EC4B4684700C2AA3A73D7A0817DC8C776C@W2008DC01.ColliniConsulting.lan
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Thank you very much, I followed both of your advice, plus adding some extra ram, and the excution time dropped from 10 to 2 minutes.
Since I did everything with one shot, I can't tell the weight of every single action.....
Regards

IF

________________________________
Da: Igor Neyman [mailto:ineyman(at)perceptron(dot)com]
Inviato: mercoledì 12 aprile 2017 15:59
A: Ivan Fabris, Gruppo ColliniConsulting.it; 'pgsql-general(at)postgresql(dot)org'
Oggetto: RE: advice for efresh of materialized view

____________________________________________________________________________________________________

Also, in regards to:

Sort Method: external merge Disk: 287784kB

I'd increase work_mem setting, to avoid on-disk sorting.

Regards,
Igor Neyman

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Igor Neyman 2017-04-12 15:35:28 Re: advice for efresh of materialized view
Previous Message Merlin Moncure 2017-04-12 14:43:17 Re: dynamic schema modeling and performance