# Package org.firebirdsql.management

APIs and implementation to manage or obtain information about the Firebird server or a specific database.

This includes functionality like:

- Creating and dropping databases (`FBManager`)
- `gbak` equivalent (`FBBackupManager`, `FBStreamingBackupManager`)
- `nbackup` equivalent `FBNBackupManager`)
- `gstat` equivalent (`FBStatisticsManager`)
- `gfix` equivalent (`FBMaintenanceManager`)
- `fbtracemgr` equivalent (`FBTraceManager`
- `gsec` equivalent (`FBUserManager`) — NOTE: this has been deprecated in Firebird 3.0, and it is recommend to use SQL statements for user management instead
- Obtaining connection-specific table statistics (`FBTableStatisticsManager`)

- Interface Summary
  Interface | Description
  --- | ---
  BackupManager | Implements the backup and restore functionality of Firebird Services API.
  FBManagerMBean | API for `FBManager`, for creating and dropping databases.
  MaintenanceManager | A `MaintenanceManager` is responsible for replicating the functionality provided by the `gfix` command-line tool.
  NBackupManager | Implements the incremental backup and restore functionality of NBackup via the Firebird Services API.
  ServiceManager | The base Firebird Service API functionality.
  StatisticsManager | A `StatisticsManager` is responsible for replicating the functionality of the `gstat` command-line tool.
  TraceManager | Implements the Trace/Audit API available new in Firebird 2.5.
  User | A user in the Firebird Security Database.
  UserManager | The base Firebird Service API functionality.

- Class Summary
  Class | Description
  --- | ---
  FBBackupManager | Implements the backup and restore functionality of Firebird Services API.
  FBBackupManagerBase | Implements the common functionality between regular and streaming backup/restore
  FBBackupManagerBase.PathSizeStruct | Structure that holds path to the database and corresponding size of the file (in case of backup - that is size of the file in megabytes, in case of restore - size of the database file in pages).
  FBCommandLine | FBCommandLine.java Created: Thu Oct 10 14:14:07 2002
  FBMaintenanceManager | The `FBMaintenanceManager` class is responsible for replicating the functionality provided by the `gfix` command-line tool.
  FBManager | A tool for creating and dropping databases.
  FBNBackupManager | Implements the incremental backup and restore functionality of NBackup via the Firebird Services API.
  FBServiceManager | An implementation of the basic Firebird Service API functionality.
  FBStatisticsManager | The `FBStatisticsManager` class is responsible for replicating the functionality of the `gstat` command-line tool.
  FBStreamingBackupManager | Implements the streaming version of the backup and restore functionality of Firebird Services API.
  FBTableStatisticsManager | Provides access to the table statistics of a `Connection`.
  FBTraceManager | Implements the Trace/Audit API available new in Firebird 2.5
  FBUser | A user in the Firebird Security Database.
  FBUserManager | Implements the display/add/delete/modify user functionality of the Firebird Services API.
  PageSizeConstants | Constants for page size supported by Firebird.
  StatisticsManager.DatabaseTransactionInfo |
  TableStatistics | Snapshot of the table statistics of a connection (of the table reported by `tableName`).