Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
MDB_DROP(1)		     General Commands Manual		     MDB_DROP(1)

NAME
     mdb_drop - LMDB database delete tool

SYNOPSIS
     mdb_drop [-V] [-n] [-L] [-d] [-m module [-w password]] [-s subdb]	envpath

DESCRIPTION
     The  mdb_drop  utility empties or deletes a database in the specified envi-
     ronment.

OPTIONS
     -V     Write the library version number to the standard output, and exit.

     -n     Operate on an LMDB environment which does not use subdirectories.

     -L     Access the LMDB environment without any locking. If  concurrent  ac-
	    cess is anticipated, the caller must manage all concurrency itself.

     -d     Delete the specified database, don't just empty it.

     -m module
	    Load  the  specified  dynamic  module to utilize cryptographic func-
	    tions.  This is required to operate on environments that  have  been
	    configured with page-level checksums or encryption.

     -w password
	    Specify the password for an encrypted environment. This is only used
	    if a cryptography module has been loaded.

     -s subdb
	    Operate on a specific subdatabase. If no database is specified, only
	    the main database is dropped.

DIAGNOSTICS
     Exit  status  is zero if no errors occur.	Errors result in a non-zero exit
     status and a diagnostic message being written to standard error.

AUTHOR
     Howard Chu of Symas Corporation <http://www.symas.com>

LMDB 1.0.0			   2026/06/30			     MDB_DROP(1)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=mdb_drop&sektion=1&manpath=FreeBSD+Ports+15.1.quarterly>

home | help