Re: query reboot pgsql 9.5.1 - Mailing list pgsql-general

From David G. Johnston
Subject Re: query reboot pgsql 9.5.1
Date
Msg-id CAKFQuwaipdz3-E-TqhrxoMH+nNe0SvVRjiXqQ1FNb9kmrJhHTg@mail.gmail.com
Whole thread Raw
In response to Re: query reboot pgsql 9.5.1  ("David G. Johnston" <david.g.johnston@gmail.com>)
Responses Re: query reboot pgsql 9.5.1
List pgsql-general
On Fri, Mar 4, 2016 at 3:09 PM, David G. Johnston <david.g.johnston@gmail.com> wrote:

2016-03-04 15:58 GMT-06:00 David G. Johnston <david.g.johnston@gmail.com>:
On Fri, Mar 4, 2016 at 2:56 PM, Felipe de Jesús Molina Bravo <fjmolinabravo@gmail.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@gmail.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.

pgsql-general by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: query reboot pgsql 9.5.1
Next
From: Alvaro Herrera
Date:
Subject: Re: query reboot pgsql 9.5.1