The DB->truncate method is the standard interface for emptying a database of all records.
Copyright Sleepycat Software