ZFS enables some interesting things for pgsql:
* http://open-zfs.org/wiki/Performance_tuning#PostgreSQL - it seems like the primarycache setting prevents the double buffering problem that Linux' page cache has
* http://citusdata.com/blog/64-zfs-compression
I run pgsql on FreeBSD/ZFS and have no complaints but am not taxing the system.
One clarification: Oracle can't actually cherry-pick back OpenZFS bug fixes because they are (ironically) violating the CDDL by not making available source code. This isn't an issue for the code for which they hold copyright -- but that doesn't include any of the bug fixes and features that we've seen in OpenZFS since 2010. And yes, it is absolutely negligent, but of a different sort than you intended...
- http://adpgtech.blogspot.it/2013/04/linuxzfs-is-great.html
- http://wiki.postgresql.org/images/8/86/PostgreSQL_on_ZFS.pdf
- http://lanyrd.com/2013/linuxcon-north-america/scqmfb/
- http://www.postgresql.org/message-id/CAGa5y0NkVLTNGywmZ6YS8O...
SHMMAXPGS, SHMMAX in postgresql.conf
in the
sysctl.conf kern.ipc.shmall kern.ipc.shmall
It was necessary to increase the default limits for larger shared_buffers, etc on pgsql prior to 9.3 where SysV shared memory was used, but this was common to many *nix operating systems.