Re: Buffers option

From: hmidi slim <hmidi(dot)slim2(at)gmail(dot)com>
To: Luca Ferrari <fluca1978(at)infinito(dot)it>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Buffers option
Date: 2017-11-24 14:48:48
Message-ID: CAMsqVxta9+6js_SWt5LJkDHi+f3FfgPfQYJ_8-ytgbZeyLVSVg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

with this query:

explain (ANALYZE,BUFFERS) SELECT p.*FROM place as p, user as u where
p.id = u.place_id

and to_tsvector('simple', p.name) @@ to_tsquery('simple', 'a:*') and
u.status = true;

I got the buffers.I think that is not working with JOIN INNER.

2017-11-24 13:46 GMT+01:00 Luca Ferrari <fluca1978(at)infinito(dot)it>:

> On Fri, Nov 24, 2017 at 12:30 PM, hmidi slim <hmidi(dot)slim2(at)gmail(dot)com>
> wrote:
> > I didn't get the number of read and hit buffers when I rexecute the query
> > many times.How can I Fix that? and I tried the options costs, timing and
> I
> > got the same plan query however when trying the option format json it
> works.
>
>
> Not sure but I see a lot of nodes 'never executed' and 'rows=0' on the
> first loop. Could it be the optimzer did not execute nothing at all?
>
> Luca
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message hmidi slim 2017-11-24 14:54:59 How clear the cache on postgresql?
Previous Message Dmitry Lazurkin 2017-11-24 13:06:18 Re: Implementation of gtrgm_out for gevel