Fwd: Re: Query is slow when run for first time; subsequent executionis fast - Mailing list pgsql-performance

From Nandakumar M
Subject Fwd: Re: Query is slow when run for first time; subsequent executionis fast
Date
Msg-id CANcFUu5hAy6Eavx2rJdhtXh2MdXYf9SpwhL-FahhPh0hj37U5w@mail.gmail.com
Whole thread Raw
In response to Query is slow when run for first time; subsequent execution is fast  (Nandakumar M <m.nanda92@gmail.com>)
List pgsql-performance
Missed to have mailing list in to address.. forwarding now.

---------- Forwarded message ----------
From: "Nandakumar M" <m.nanda92@gmail.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.stehule@gmail.com>
Cc:

Hi,

On Fri, Jan 12, 2018 at 3:34 PM, Pavel Stehule <pavel.stehule@gmail.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

pgsql-performance by date:

Previous
From: Neto pr
Date:
Subject: Re: HDD vs SSD without explanation
Next
From: Thomas Kellerer
Date:
Subject: Re: Query is slow when run for first time; subsequent execution isfast