Re: strange slow query performance

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Ben Snaidero <bensnaidero(at)geotab(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: strange slow query performance
Date: 2019-01-17 21:13:25
Message-ID: CAKFQuwZmcVzXnSHo6WVpYSqSBiMZ09mwtybwoZ2e8WfS0tWe5A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Jan 17, 2019 at 9:19 AM Ben Snaidero <bensnaidero(at)geotab(dot)com> wrote:
> Any ideas as to why this is happening?

Not really, I would expect roughly double execution time, not an
exponential increase. Still not experienced enough to diagnose with
what has been provided but I will suggest you provide the version that
you are running these queries against and confirm that the results are
consistent across multiple runs to discount the possibility that
locking or other transient work is involved.

Curious if increasing work_mem helps but its mostly a trial-and-error
thing for me (I wouldn't expect it to)...

David J.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Rich Shepard 2019-01-17 22:44:05 Re: Refining query statement
Previous Message Michel Pelletier 2019-01-17 20:39:09 Re: Varlena with recursive data structures?