Skip to content

update will bloat? #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
digoal opened this issue Aug 18, 2016 · 3 comments
Closed

update will bloat? #3

digoal opened this issue Aug 18, 2016 · 3 comments
Labels

Comments

@digoal
Copy link

digoal commented Aug 18, 2016

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
Copy link
Contributor

Thank you! I will check it.

za-arthur pushed a commit that referenced this issue Aug 19, 2016
@za-arthur
Copy link
Contributor

Thank you for the issue! Fixed. Check please.

@digoal
Copy link
Author

digoal commented Aug 20, 2016

Thank you, it ok now .

@digoal digoal closed this as completed Aug 20, 2016
@za-arthur za-arthur added the bug label Sep 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants