keggler wrote:i think 512 is way too high - i would not go above 128 even for a large dataset and 2GB of ram; try lowering max_connections to 25.
Postgres counts a lot on the OS to cache data files and hence does not bother with duplicating its file caching effort. The shared buffers parameter assumes that OS is going to cache a lot of files and hence it is generally very low compared with system RAM. Even for a dataset in excess of 20GB, a setting of 128MB may be too much, if you have only 1GB RAM and an aggressive-at-caching OS.
Remind me, how big is the dataset? and is this a localhost db?
susan
i have that article bookmarked. unfortunately, the default setting or anything close to it thrashes my hdd. ive found several newer articles on resource allocation that suggest playing around with the number to find the right one. 768MB is too much, but with 512 I see very little HDD or CPU activity. I'll try changing max_connections and see what happens
idk how big the dataset is; are you looking for the number of hands or size in GB? (it's definitely GB, that much i know)
yes, it's a localhost db.
and now today, my stats aren't showing up on the table, ever. i played a tourney for 2 hrs and they never appeared, although everyone else's did.
edit: 934k hands