Creating, dropping, and migrating databases
You can use PATROL for DB2 UDB to create new DB2 databases and drop databases. You can also migrate a database. The Create Database command creates three initial tablespaces and the system tables in the specified directory, allocates the recovery log, and catalogs the new database in the system database directory.
To create a database
- Right-click on the DB2 DBM instance icon for which you want to create a new database.
- select Database Administration > Database Mgmt > Create Database.
Enter the required information.
To drop a database
If the log files are needed for a possible roll-forward recovery after a restore operation, be sure to save the log files before dropping the database.
- Right-click on the DB2 DBM instance icon and select Database Administration > Database Mgmt > Drop Database.
- Enter the database alias name of the database that you want to delete.
To migrate a database
- Right-click on the DB2 DBM instance icon and select*Database Administration > Database Mgmt*> Migrate Database.
- Enter the database alias name for the database that you are migrating.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*