You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
PostgreSQL tests and table bloat due to updates #28
Investigate what is the table bloat because there are many writes to the World/world table. Autovacuum will run around 200 000 000 writes to the table with the default settings Autovacuum is not enabled. Maybe this will impact some of the projects?
The initial test on Vagrant environment shows some small table bloat, but the table is very small - under 1 MiB. But this is after only under 1 million updates. So maybe it will be different with more updates. I'll adjust the config to use 10 minutes for this test case with servlet-postgres-raw and dropwizard-postgres.
After two runs with 10 minute updates for servlet-postgres-raw and dropwizard-postgres the bloat seems to stay consistent - the whole table is around 1MiB.
Also note that there is world and World tables which should be kept in mind if doing similar comparisons.
Activity
zloster commentedon Jun 18, 2017
More information:
https://wiki.postgresql.org/wiki/Show_database_bloat
https://github.com/ioguix/pgsql-bloat-estimation/blob/master/table/table_bloat.sql - query for tables
https://github.com/ioguix/pgsql-bloat-estimation/blob/master/btree/btree_bloat.sql - query for index
the above two are referred from the PostgreSQL Wiki
http://blog.ioguix.net/tag/bloat/
The initial test on Vagrant environment shows some small table bloat, but the table is very small - under 1 MiB. But this is after only under 1 million updates. So maybe it will be different with more updates. I'll adjust the config to use 10 minutes for this test case with
servlet-postgres-rawanddropwizard-postgres.zloster commentedon Jun 19, 2017
After two runs with 10 minute updates for
servlet-postgres-rawanddropwizard-postgresthe bloat seems to stay consistent - the whole table is around 1MiB.Also note that there is
worldandWorldtables which should be kept in mind if doing similar comparisons.Fix an uncaught exception during dart startup (TechEmpower#3640)