Heap Only Update

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

 



Hello Friends,
I am trying to find tables which Heap only update ratio less then 1 . Then i will decrease fillfactor on these tables  for more speedly update queries.


I am using this query to find hot ratio. For you , this method true or false ?

select relname  from pg_stat_user_tables where  n_tup_upd>0 and n_tup_hot_upd > 0 and n_tup_hot_upd/n_tup_upd::float < 1;


Thanks .
Best Regards.


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux