Question about HoT updates and conditional indexes

Поиск
Список
Период
Сортировка
От Maxim Boguk
Тема Question about HoT updates and conditional indexes
Дата
Msg-id CAK-MWwQJcu7httRK=iM5_ESE23kJr=3d7UdcMgz_7egQsjU+PA@mail.gmail.com
обсуждение исходный текст
Список pgsql-general
Lets assume I have a table with an index defined as:
create index test_key on test_table(mtime) where status=1;

Will be update such as:
update test_table set mtime=NOW() where id=10;
threated as HOT update if  the entry with id=10 have status=0 ?

That update seems valid one for using HOT, however in practice it seems use the full update way.


--
Maxim Boguk
Senior Postgresql DBA.

Phone RU: +7 910 405 4718
Phone AU: +61 45 218 5678

Skype: maxim.boguk
Jabber: maxim.boguk@gmail.com

LinkedIn profile: http://nz.linkedin.com/in/maximboguk
If they can send one man to the moon... why can't they send them all?

МойКруг: http://mboguk.moikrug.ru/
Сила солому ломит, но не все в нашей жизни - солома, да и сила далеко не все.

В списке pgsql-general по дате отправления:

Предыдущее
От: joe.conway@credativ.com
Дата:
Сообщение: PGDay.SoCal @ SCALE 10X
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: Having Issue Getting the Postgresql Service to Start