Fwd: Re: Query is slow when run for first time; subsequent execution is fast

From: Nandakumar M <m(dot)nanda92(at)gmail(dot)com>
To: pgsql-performance(at)postgresql(dot)org
Subject: Fwd: Re: Query is slow when run for first time; subsequent execution is fast
Date: 2018-01-16 11:46:03
Message-ID: CANcFUu5hAy6Eavx2rJdhtXh2MdXYf9SpwhL-FahhPh0hj37U5w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Missed to have mailing list in to address.. forwarding now.

---------- Forwarded message ----------
From: "Nandakumar M" <m(dot)nanda92(at)gmail(dot)com>
Date: 15 Jan 2018 12:16
Subject: Re: Query is slow when run for first time; subsequent execution is
fast
To: "Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com>
Cc:

Hi,

On Fri, Jan 12, 2018 at 3:34 PM, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
wrote:

>
> >> maybe some your indexes and some system tables are bloated. Try you run
> VACUUM FULL ANALYZE
>

Tried this suggestion. Planning time gets reduced slightly but it is still
way higher on the first run compared to subsequent runs of the same query.

Regards,
Nanda

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Thomas Kellerer 2018-01-16 12:20:39 Re: Query is slow when run for first time; subsequent execution is fast
Previous Message Neto pr 2018-01-16 10:14:09 Re: HDD vs SSD without explanation