![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Over a period of 3 or so months the performance of PostgreSQL on the PROD server seems to have degraded. |
|
Funny thing was, i was hounding the server admin saying there is something wrong with server (because there was only 5MB worth of free memory out of 1GB) |
|
Out of curiosity, I checked the memory usage after the DB restoration and the free memory was back up to 500MB! |
#3
| |||
| |||
|
|
-----Original Message----- From: Tom Lane [mailto:tgl (AT) sss (DOT) pgh.pa.us] "Cody Phanekham" <Cody.Phanekham (AT) salmat (DOT) com.au> writes: Over a period of 3 or so months the performance of PostgreSQL on the PROD server seems to have degraded. You say you were doing daily vacuuming, but had you checked that this was adequate? |
|
index bloat. Tables bloat if you don't vacuum often enough to keep the amount of free space within what the free space map (FSM) can hold. (You can cure this by increasing the FSM size, or by vacuuming more often, or a combination.) |
|
Indexes bloat if the range of indexed keys moves significantly --- in PG 7.3 there is not a lot you can do about this except to REINDEX periodically. (The index bloat problem is thought to be largely solved in 7.4, however.) |

![]() |
| Thread Tools | |
| Display Modes | |
| |