On Tue, Oct 19, 2010 at 8:39 PM, Hsien-Wen Chu <chu.hsien.wen@gmail.com> wrote:
> I want to use hugepage function on Linux platform, my question is if
> PostgreSQL supports hugepage in default, if not, what's the code need to be
> modified?
Unfortunately, I don't think this is too simple. PostgreSQL uses sysv
shared memory, not POSIX shared memory. I don't know of a way to use
sysv shared memory with hugetlb.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company