Changes between Version 49 and Version 50 of InstallationGuidelines/PostgreSQL
- Timestamp:
- 11/15/11 15:15:02 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
InstallationGuidelines/PostgreSQL
v49 v50 35 35 NB Don't do remote access as 'postgres' - to do so means can't simply access psql via 'su postgres' 36 36 37 37 To log-in as user postgres (Debian/Ubuntu): 38 {{{ 39 sudo su postgres 40 }}} 41 42 == Tuning PostgreSQL == 38 43 Adjust postgresql.conf for performance relative to resources available (http://wiki.postgresql.org/wiki/Tuning_Your_PostgreSQL_Server) 39 44 {{{ … … 58 63 # Ideal is if all frequently accessed indexes and table rows can fit in here - this is often unrealistic 59 64 # setting too high relative to system resources can be detrimental to the system. 60 # At the high end this should be no more than 1/4 to 1/3 theavailable memory (ie that which is not being used by the OS or other processes).65 # At the high end this should be 10-25% of available memory (ie that which is not being used by the OS or other processes). 61 66 # Values suggested are quite conservative, so you can push them up a bit if there are resources available for it 62 67 # but absolutely no more than 1/3 available memory. … … 67 72 68 73 # effective_cache_size = 128MB 74 # 75% of available memory 69 75 # 512Mb system suggest starting at: 70 76 effective_cache_size = 256MB … … 87 93 }}} 88 94 89 Logging-in as user postgres (Ubuntu Users) 90 {{{ 91 sudo su postgres 92 }}} 93 95 == Install Support Tools == 94 96 (Optional) Install the Admin Pack for enhanced intrumentation: 95 97 {{{