Query went slow all of sudden. ON V 11.3

From: nikhil raj <nikhilraj474(at)gmail(dot)com>
To: pgsql-performance(at)lists(dot)postgresql(dot)org
Subject: Query went slow all of sudden. ON V 11.3
Date: 2019-10-04 10:22:26
Message-ID: CAG1ps1yzDsdpkoasOgAQOm=TZksfDWS1d-DXt0ufKZ_7CabH=w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Hi All,

All of sudden the query went slow before the query was executing in 30- 35
sec now even after 30 mins i am not getting any result.

later I have dropped a table ( t_meners) and recreated it and again it
started working very fast.

is there way to find what happen on that why is not any issue in table how
to find out. i Have the same issue on the other databases also so that i
can check on it

SELECT ((UID-1)/10000) AS BatchNo,
* INTO "temp_tt1"
FROM
(SELECT ROW_NUMBER() OVER (
ORDER BY a."rno") AS UID,
a.*
FROM "temp_10032019020721_4470" AS a
INNER JOIN "t_ages" AS b ON LOWER(a."cr") = LOWER(b."c_pagealias")
LEFT JOIN "t_meners" AS c ON LOWER(a."cr") = LOWER(c."c_id")
WHERE c."c_id" IS NULL ) AS TempTable

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Justin Pryzby 2019-10-04 13:20:44 Re: Query went slow all of sudden. ON V 11.3
Previous Message Justin Pryzby 2019-10-04 06:03:00 Re: Some observations on very slow pg_restore operations