O'Reilly logo

Berkeley DB by Sleepycat™ Software, Inc.

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

berkdb open

						berkdb open
						[-btree | -hash | -recno | -queue | -unknown]
						[-cachesize {gbytes bytes ncache}]
						[-create]
						[-delim delim]
						[-dup]
						[-dupsort]
						[-env env]
						[-errfile filename]
						[-excl]
						[-extent size]
						[-ffactor density]
						[-len len]
						[-mode mode]
						[-nelem size]
						[-pad pad]
						[-pagesize pagesize]
						[-rdonly]
						[-recnum]
						[-renumber]
						[-snapshot]
						[-source file]
						[-truncate]
						[-upgrade]
						[--]
						[file [database]]
					

Description

The berkdb open command opens and optionally creates a database. The returned database handle is bound to a Tcl command of the form dbN, where N is an integer starting at 0 (for example, db0 and db1). It is through this Tcl command that the script accesses the database methods.

The options are as follows:

  • -btree Open/create a database of ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required