On Sat, 21 Mar 2015, Konstantin Belousov wrote:

> > > > >   Somewhat modernize the SysV shm code:
> > > > 
> > > > Is my understanding correct that postgres still uses shm?  If so,
> > > > has someone benchmarked the speedup?
> > > 
> > > Yes, some versions of Postgres still use SysV shm.  
> > 
> > To be clarified: IIUC, *all* contemporary versions of PostgreSQL do
> > use SHM for shatrd buffers (as PgSQL use process-per-connection model)
>
> No.  Recent versions use mmaped shared region for buffers.

Yes, starting from 9.3 main buffers are memory-mapped.  SysV SHM and Semaphores 
*are* still in use though.

(mainly for search engines)

Thanks for the clarification.

-- 
Sincerely,
D.Marck                                     [DM5020, MCK-RIPE, DM3-RIPN]
[ FreeBSD committer:                                 ma...@freebsd.org ]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- ma...@rinet.ru ***
------------------------------------------------------------------------
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to