update will bloat?
digoal opened this issue · 3 comments
digoal commented
select count(*) from (select pgv_insert('package1','hello',row(id,'digoal'::text,11111111,'2016-01-01'::date)) from generate_series(1,10000000) t(id) ) t ;
select count(*) from (select pgv_update('package1','hello',row(id,'test1'::text,id,'2016-01-02'::date)) from generate_series(1,10000000) t(id) ) t ;
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1161 digoal 20 0 6548248 6.117g 142340 S 0.0 9.7 2:25.63 postgres: postgres postgres [local] idle
res biger and biger when i update ;
za-arthur commented
Thank you! I will check it.
za-arthur commented
Thank you for the issue! Fixed. Check please.
digoal commented
Thank you, it ok now .