Search Postgresql Archives

Re: 9.0 EXPLAIN Buffers: written=nnnn

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



El Thu, 2 Feb 2012 12:03:20 -0500
<david.sahagian@xxxxxxx> escribió:
> Do EXPLAIN ANALYZE:
> 
>   written=2325   !!!!!
> 
> "Total runtime: 375542.347 ms"
> 
> 
> Then Do EXPLAIN ANALYZE again:

> In general, can you tell me why [written=2325] is displayed by the
> first EXPLAIN, but not the second EXPLAIN ? The query is a SELECT, so
> what is getting "written" ?
> 
> Note that both EXPLAINs have the exact same plan. Bottom up is: Seq
> Scan on YYYY, Hash, Seq Scan on XXXX, Hash Join, HashAggregate
> 
> I am wondering if it is a clue as to why the "actual time" is so
> different from one run to the next.
> 

I can be completely wrong, but maybe it is about hint bits.

Read http://wiki.postgresql.org/wiki/Hint_Bits

Thanks

Rodrigo

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux