Re: SQL Query never ending... - Mailing list pgsql-general

From Fabrízio de Royes Mello
Subject Re: SQL Query never ending...
Date
Msg-id CAPfkCSAcyip6kPfiCQN28Jq44ORc9LT65OKTvUu_N2wfWmMNBA@mail.gmail.com
Whole thread Raw
In response to SQL Query never ending...  (DiasCosta <diascosta@diascosta.org>)
Responses Re: SQL Query never ending...  ("David G. Johnston" <david.g.johnston@gmail.com>)
List pgsql-general
2018-06-20 18:35 GMT-03:00 DiasCosta <diascosta@diascosta.org>:
>
> Hi all,
> can someone help me?
>
> I don't know if this is the correct list for this matter. If I'm wrong, please bear with me and point me in right direction.
>

Here is a good start...



> I have a large query which, largely after more than 24 hours running, doesn't come to an end;
> However I can see, using system tools, that the postgres process keeps, although  slowly, reading and writing bytes and the "afinity" dedicated cores are at 6.25% .
>
> I tried https://www.depesz.com/ but the query was rejected.
>

Are you talking about http://explain.depesz.com ?? If yes you should copy and paste the EXPLAIN output of your query... If you don't do it yet, please do it and send to us the results .

And use some external service like pastebin.com to send long SQL statements.

Regards,

--
   Fabrízio de Royes Mello         Timbira - http://www.timbira.com.br/
   PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x7 e Treinamento

pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Using DSN Connection and knowing windows username
Next
From: "David G. Johnston"
Date:
Subject: Re: SQL Query never ending...