/
Various PostgreSQL changes (not covered elsewhere herein)

Various PostgreSQL changes (not covered elsewhere herein)

The following changes have been made to our production PostgreSQL GUCs since starting to work with Marmotta.

We have also tuned autovacuuming to run more frequently than the default on our two largest tables by setting the autovacuum_vacuum_scale_factor and autovacuum_analyze_scale_factor storage parameters on triples and nodes.  We have lowered these to attempt vacuuming and analysis when a smaller proportion of rows are changed, though it hasn't made a noticeable impact on normal query performance. The last vacuuming of triples caused significant I/O wait when it was running, but did not disrupt anything outside of that.  It did not make anything run noticeably faster after it was done.

With triples at 294M rows, we have  autovacuum_vacuum_scale_factor set to 0.05 and autovacuum_analyze_scale_factor set to 0.025. Vacuuming should happen again after 58M rows have been changed, which will probably happen in a couple of weeks.  We're eager to receive suggestions as to whether vacuuming or analyisis should happen more or less often for a table of this size.

 

 

Related content

Amazon EC2 adjustments
Amazon EC2 adjustments
More like this
Why table partitioning will not be beneficial
Why table partitioning will not be beneficial
More like this
Index performance with high context counts
Index performance with high context counts
More like this
Creating a differently-ordered index on `triples`
Creating a differently-ordered index on `triples`
More like this
Generic Query Plans in PSQL 9.1
Generic Query Plans in PSQL 9.1
More like this
Profiling memory growth and execution time
Profiling memory growth and execution time
More like this