Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

* Please note that maintenance_work_mem and work_mem appear to be limited to 2GB on Windows.

These or any other changes should be applied in custom.conf file which is located in \data\postgresql\data in Saga installation folder.

More in depth explanation for these parameters can be found in Postgres documentation.

Settings can be viewed using database queries :

  • show all to display simple view with human readable value

  • select * from pg_settings to display more complex view with additional columns and information

Results

As a result of the changes that were made, we noticed a positive change in server performance. The daily document fetch rate went above 100,000 and there were no more Postgres timeouts being reported. The values set above were based on recommended values while at the same time also taking into consideration that Postgres was not running on a dedicated server.