Berkeley DB: berkeley_db_svc
Description: Berkeley DB: An embedded database programmatic toolkit.
Keywords: embedded,database,programmatic,toolkit,b+tree,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,java,C,C++

# berkeley_db_svc |

`

###

    berkeley_db_svc [-v] [-h home]
        [-I seconds] [-L file] [-t seconds] [-T seconds]

# Description

The berkeley_db_svc utility is the Berkeley DB RPC server.

The options are as follows:

-h
  Add the specified home directory to the list of allowed home directories that can be specified by the client. The home directory should be an absolute pathname. The last component of each home directory specified must be unique, as that is how clients specify which database environment they wish to join.

-I
  Set the default idle timeout for client environments to the specified number of seconds. The default timeout is 24 hours.

-L
  Log the execution of the berkeley_db_svc utility to the specified file in the following format, where ### is the process ID, and the date is the time the utility starting running.

  >     berkeley_db_svc: ### Wed Jun 15 01:23:45 EDT 1995

  This file will be removed if the berkeley_db_svc utility exits gracefully.

-t
  Set the default timeout for client resources (idle transactions and cursors) to the specified number of seconds. When the timeout expires, if the resource is a transaction, it is aborted, if the resource is a cursor, it is closed. The default timeout is 5 minutes.

-T
  Set the maximum timeout allowed for client resources. The default timeout is 20 minutes. If a client application requests a server timeout greater than the maximum timeout set for this server, then the client's timeout will be capped at the maximum timeout value.

-v
  Run in verbose mode.

The berkeley_db_svc utility attaches to one or more of the Berkeley DB shared memory regions. In order to avoid region corruption, it should always be given the chance to detach and exit gracefully. To cause berkeley_db_svc to clean up after itself and exit, send it an interrupt signal (SIGINT).

The berkeley_db_svc utility exits 0 on success, and >0 if an error occurs.

# See Also

berkeley_db_svc, db_archive, db_checkpoint, db_deadlock, db_dump, db_load, db_recover, and db_stat.`

Copyright Sleepycat Software