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 :
On Fri, Nov 24, 2017 at 12:30 PM, hmidi slim 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'm trying to anlayze a query in postgresql v9.6.4:
explain (ANALYZE,BUFFERS) SELECT p.*
FROM place as p INNER JOIN user as u ON p.id = u.place_id
where to_tsvector('simple', p.name) @@ to_tsquery('simple', 'a:*') and
u.status = true;
The QueryPlan was :
Hash Join (cost=20.28..3