Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 08 Jan 2000 23:58:06 -0800
From:      "Ronald F. Guilmette" <rfg@monkeys.com>
To:        freebsd-questions@freebsd.org
Subject:   Two question about Berkeley DB
Message-ID:  <25823.947404686@monkeys.com>

next in thread | raw e-mail | index | archive | help

I have two simple questions about Berkeley DB.

First, does Berkeley DB us mmap() ?

Second, the man page for dbopen() says regarding the `sync' function
pointer:

      sync    A pointer to a routine to flush any cached informa-
              tion  to  disk.  If the database is in memory only,
              the sync routine has no effect and will always suc-
              ceed.

I want to know if this really means what it says.  Does calling the
sync function *really* flush data to the physical disk, or only to
the kernel's buffer cache?  Also, is it necessary to call the `sync'
function in order to be assured that some other process that also
has the DB file open will see the recent changes to the database
made by the current process?


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?25823.947404686>