On 7/17/2014 4:26 PM, Prabhjot Sheena
wrote:
Here is the explain plan. There query time went backup up to 2 to 3 minutes from 3 second in just 2 hrs. Can anyone suggest something on how to fix this or why this is happening you need to use EXPLAIN ANALYZE to get accurate data. run it when the query is fast, and again when the query is slow, paste both outputs here. also, you can paste them to http://explain.depesz.com and that will give you a nice analysis of the timing data included in the EXPLAIN ANALYZE output. -- john r pierce 37N 122W somewhere on the middle of the left coast |