Search Postgresql Archives

Re: 8.3.0 upgrade

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

 



On Mon, Mar 17, 2008 at 12:43 PM, Adam Rich <adam.r@xxxxxxxxxxxxx> wrote:

>
>  Finally, regarding the new "HOT" feature.  The release notes say that
>  benefits are realized "if no changes are made to indexed columns".
>  If my updates include *all columns* (the SQL is generated dynamically)
>  but the new value matches the old value for all *indexed* columns,
>  do I still reap the benefits of HOT?
>

Yes. At the execution time, a binary comparison of old and new index
column values is performed and if the old and new value is same for
all index columns, HOT update is feasible. So even if the UPDATE statement
sets  value to one of the index columns, HOT update is possible as
long as the old and the new value is same.

Thanks,
Pavan

-- 
Pavan Deolasee
EnterpriseDB http://www.enterprisedb.com

-- 
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