Re: SQL Query never ending...

From: Fabrízio de Royes Mello <fabrizio(at)timbira(dot)com(dot)br>
To: DiasCosta <diascosta(at)diascosta(dot)org>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: SQL Query never ending...
Date: 2018-06-20 22:34:50
Message-ID: CAPfkCSAcyip6kPfiCQN28Jq44ORc9LT65OKTvUu_N2wfWmMNBA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

2018-06-20 18:35 GMT-03:00 DiasCosta <diascosta(at)diascosta(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David G. Johnston 2018-06-20 22:46:55 Re: SQL Query never ending...
Previous Message Adrian Klaver 2018-06-20 22:11:43 Re: Using DSN Connection and knowing windows username