Re: query reboot pgsql 9.5.1

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Felipe de Jesús Molina Bravo <fjmolinabravo(at)gmail(dot)com>
Cc: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: query reboot pgsql 9.5.1
Date: 2016-03-04 22:11:03
Message-ID: CAKFQuwaipdz3-E-TqhrxoMH+nNe0SvVRjiXqQ1FNb9kmrJhHTg@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Mar 4, 2016 at 3:09 PM, David G. Johnston <
david(dot)g(dot)johnston(at)gmail(dot)com> wrote:

>
>> 2016-03-04 15:58 GMT-06:00 David G. Johnston <david(dot)g(dot)johnston(at)gmail(dot)com>
>> :
>>
>>> On Fri, Mar 4, 2016 at 2:56 PM, Felipe de Jesús Molina Bravo <
>>> fjmolinabravo(at)gmail(dot)com> wrote:
>>>
>>>> when i run without the ANALIZE the output is:
>>>>
>>>> pba=# EXPLAIN ( TIMING, BUFFERS) SELECT idprodxintegrar FROM _gc_tb a
>>>> LEFT join _gc_cat b on ( b.arama <@ a.arama and a.arama <@ b.arama );
>>>> ERROR: la opción BUFFERS de EXPLAIN requiere ANALYZE
>>>> pba=# EXPLAIN ( TIMING) SELECT idprodxintegrar FROM _gc_tb a LEFT join
>>>> _gc_cat b on ( b.arama <@ a.arama and a.arama <@ b.arama );
>>>> ERROR: la opción TIMING de EXPLAIN requiere ANALYZE
>>>>
>>>>
>>> ​What is it about those error messages that is confusing you?​
>>>
>>
> ​
> On Fri, Mar 4, 2016 at 3:06 PM, Felipe de Jesús Molina Bravo <
> fjmolinabravo(at)gmail(dot)com> wrote:
>
>> No, these messages are not confuse; I just wanted to show output
>>
>
> ​Then when don't you add "ANALYZE" to those commands and show meaningful
> output instead of showing us useless errors?​
>

​To be more clear, you need to run a query that will complete in our
lifetime (and without an OOM error) with all three of ANALYZE, BUFFERS, and
TIMING specified for the EXPLAIN.

David J.
​

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alvaro Herrera 2016-03-04 22:16:13 Re: query reboot pgsql 9.5.1
Previous Message David G. Johnston 2016-03-04 22:09:50 Re: query reboot pgsql 9.5.1