[Pkg-db-devel] DB_BULK flag

Clint Adams schizo at debian.org
Thu Mar 18 02:50:05 UTC 2010


On Mon, Mar 15, 2010 at 08:09:24PM -0300, Rafael Almeida wrote:
> The DB->cursor function takes flags as its parameter, upstream documentation
> says that one possible flag is:
> 	DB_BULK
> 	Configure a cursor to optimize for bulk operations. Each successive
> 	operation on a cursor configured with this flag attempts to continue on
> 	the same database page as the previous operation, falling back to a
> 	search if a different page is required. This avoids searching if there
> 	is a high degree of locality between cursor operations. This flag is
> 	currently only effective with the btree access method: for other access
> 	methods it is ignored.
> Unfortunately that flag is not present in the header. I'm not sure if it's a
> documentation error or header error. Anyhow, is that flag available under a
> different name?

I think DB_CURSOR_BULK is what that should say.

> By the way, why isn't there a package with upstream's API documentation. There
> is manual pages on libdb in manpages-dev package. But they describe version 1 of
> the database. Quite outdated.

Do you mean db4.8-doc?



More information about the Pkg-db-devel mailing list