Overview

The JadeDatabaseAdmin and DbFile system classes provide a database administration framework that encapsulates the behavior required to build standalone or integrated database administration tools for your JADE applications; for example, online database backups.

Online backups can be performed when the database is active for both read and write access. As recovery journal files are used during the recovery process to recover the database to a fully consistent state, recovery journals must be retained and the database informed when the backup starts and completes. All file backups must occur within the bounds of a backup transaction.

The JadeDatabaseAdmin class enables you to create backup tools that provide:

You can backup multiple files concurrently. Concurrent file backups enable your backup applications to take advantage of parallel I/O, which you can use to reduce the elapsed time required for a backup. Your backup applications are responsible for initiating simultaneous file backups, if required, using multiple JADE processes.

Each file backup operation executes as a database method on the server, utilizing a separate server thread. However, because of increased disk contention and disk head movement, concurrent backup operations run slower if source and destination files are not on separate disk devices.

A one-to-one correspondence between application threads and server threads does not exist. A file backup task is scheduled to run from the pool of available server threads, which means that in some cases backup application threads will be blocked waiting for an available server thread.

For details about… See…
JadeDatabaseAdmin and DbFile classes Chapter 1 of the JADE Encyclopaedia of Classes
Event notifications "DbFile Class Event Notifications" and "JadeDatabaseAdmin Class Event Notifications", in Chapter 1 of the JADE Encyclopaedia of Classes
JADE development environment online backups "Backing Up Your JADE Development Environment", in Chapter 3 of the JADE Database Administration Guide
Backing up and restoring the database "Administering Your JADE Database", in Chapter 3 of the JADE Database Administration Guide