Re: [PATCHES] POSIX shared memory support

2007-03-04 Thread Chris Marcellino
AFAIK, the only systems supported by Postgres that this patch won't work on are NetBSD and OpenBSD. The POSIX calls free the user from the SHMMAX and SHMALL limitations of the SysV shared memory calls on platforms that support it. Since this still takes one SysV segment, SHMMNI can still

[PATCHES] Automatic adjustment of bgwriter_lru_maxpages (was: Dead Space Map version 2)

2007-03-04 Thread ITAGAKI Takahiro
Jim C. Nasby [EMAIL PROTECTED] wrote: Perhaps it would be better to have the bgwriter take a look at how many dead tuples (or how much space the dead tuples account for) when it writes a page out and adjust the DSM at that time. Yeah, I feel it is worth optimizable, too. One

[PATCHES] Optimized pgbench for 8.3

2007-03-04 Thread ITAGAKI Takahiro
The attached is a patch to optimize contrib/pgbench using new 8.3 features. - Use DROP IF EXISTS to suppress errors for initial loadings. - Use a combination of TRUNCATE and COPY to reduce WAL on creating the accounts table. Also, there are some cosmetic changes. - Change the output of -v