Databases Wizard (DB2 LUW)
Go Up to IBM DB2 for Linux, Unix, and Windows Object Wizards
The Database wizard lets you create a database (a structured collection of data that you can update or query) without knowing the underlying commands. Databases can be simple, that is one file with many records and the same fields, or much more complicated with multiple files with different fields.
To open the IBM DB2 for Linux, Unix, and Windows Database wizard
- On the Registration tool bar, click New UDB Database.
- OR
- On the Navigator/Explorer, right-click an instance node or the Datasources node, and then click New UDB Database.
The following tables describe the fields you may encounter as you complete the wizard:
Naming the New Database
Required Information | Description |
---|---|
What is the name of the database? |
Each database requires a unique name. The database name should be between 1 - 8 characters and must begin with a letter A-Z. It is wise to avoid the symbols @, #, and $ if the database will exist in a communications environment or be summoned from an area where those characters do not exist in the language (and hence, on a keyboard). |
What is the datasource name for the new database? |
Each datasource should have a unique name. This is the name that will appear on the Navigator/Explorer. |
What is the alias name of the database? |
Optional. A database alias is the local synonym given to the database you are creating, and must be unique. If you do not assign an alias, the database name becomes the default alias. Note that a DB2 client can have connections to two different databases with the same name if those databases live on different servers and each database has its own alias. |
What is the comment used for the database? |
Optional. Lets you type a comment up to 30 characters. Any comment you enter can be changed later. |
Drive Path and Parameters
Required Information | Description |
---|---|
On what drive/path will the database reside? |
Optional. Leave blank if you want to create the database using the DFTBPATH (default database path configuration) parameter. |
What default tablespace parameters should be used? |
Optional.
|
What global default parameters should the database use? |
|
Finish |
Opens the Preview SQL dialog. |
Add Catalog/Temporary/User Containers
There are three distinct wizard panels, one for each container type, that enable you to customize your database. Click Next or Finish depending on how you want to proceed.
Required Information | Description |
---|---|
What container(s) will be used to store the catalog/temporary tables? |
|
What optional default storage parameters should be used? |
Optional. Identify values for extent size, pre-fetch size, transfer rate, and overhead. |
Finish |
Opens the Preview SQL dialog. |
Add/Edit Container for Tablespace
The following table describes the options and functionality on this dialog:
Required Information | Description |
---|---|
Container Parameters |
These parameters are enabled for modification only if you opted to use database managed space. When enabled, you can either indicate file size parameters or specify device information. |
Directory |
Identify the directory where the catalog table container will be stored. |
File Name |
Identify a name for the file where the catalog table container will be stored. |
Device Information |
Enable either raw partition and type a value, or raw drive, and select a value. |