File page
Load data residing on the database server
Select this check box if the data that you want to load is on the same server as the database containing the table.
Load data residing on the local filesystem
Select this check box if the data that you want to load into the table is on the same system as the Control Center.
Notes:
Files, pipes, or devices containing the data
This box lists all the files, pipes, or devices that have the data to be loaded. Use the Add push button to add a name to this box. You can also select a name to be changed, removed, or rearranged.
If you specify several names, they will be processed in sequence. If the last item specified is a tape device, you will be prompted for another tape.
Nondelimited ASCII format (ASC)
Select this radio button to specify that the data in the files to be loaded is in the nondelimited ASCII format (ASC). If you select this radio button, you can click on ASC Options to open the ASC Options window so you can specify options or change default values for loading ASC data into the table columns.
If you select this radio button, you must specify start and end column positions for each data column on the Columns notebook page.
Delimited ASCII format (DEL)
Select this radio button to specify that the data in the files to be loaded is in the delimited ASCII format (DEL). If you select this radio button, you can click on DEL Options to open the DEL Options window so you can specify options or change default values for loading DEL data into the table columns.
Integrated exchange format (IXF)
Select this radio button to specify that the data in the files to be loaded is in the PC integrated exchange format (PC/IXF). If you select this radio button, you can click on IXF Options to open the IXF Options window so you can specify options or change default values for loading IXF data into the table columns.
Add
Click on this push button to open the Add window so you can add the name of a file, pipe, or device to the Files, pipes, or devices containing the data box.
The new entry is added to the list following the entry that is currently selected. If no entry is selected, the new entry is appended to the list.
Note: | If you select Load data residing on the local filesystem, you cannot use the ... button to browse the file system. You must type the full file path. |
Change
Click on this push button to open the Change window so you can change the name of the selected file, pipe, or device in the Files, pipes, or devices containing the data box.
This push button is available only when a name is selected in the Files, pipes, or devices containing the data box.
Remove
Click on this push button to remove the selected file, pipe, or device names from the Files, pipes, or devices containing the data box. (The actual files, pipes, or devices are not removed from the system.)
This push button is available only when one or more names are selected in the Files, pipes, or devices containing the data box.
Move Up
Click on this push button to move up one position the name of the selected file, pipe, or device in the Files, pipes, or devices containing the data box.
This push button is available only when a name is selected in the Files, pipes, or devices containing the data box.
Move Down
Click on this push button to move down one position the name of the selected file, pipe, or device in the Files, pipes, or devices containing the data box.
This push button is available only when a name is selected in the Files, pipes, or devices containing the data box.
ASC Options
Opens the Load ASC Options window.
DEL Options
Opens the Load DEL Options window.
IXF Options
Opens the Load IXF Options window.
Columns page
Include columns by
Select this check box if you want to specify the method by which columns in DEL or IXF data files are to be loaded into the table columns.
If you selected the Nondelimited ASCII format (ASC) radio button on the File page, this check box is selected and unavailable.
Start and end column positions (method L)
This radio button specifies that, for each table column, data is loaded according to start and end positions in the data file.
This radio button is selected and unavailable if the Nondelimited ASCII format (ASC) radio button on the File page is selected. Method L is the only method available for ASC files.
When this radio button is selected, the following fields are displayed in the Table column box:
You can change the values of the Include, Start position, End position, and Null indicator fields by selecting a table column and clicking on Change. The Change window opens.
Column names (method N)
Select this radio button to specify, for each table column, the name of the data column in the file that is being loaded.
This radio button is available only if the Integrated exchange format (IXF) radio button on the File page and the Include columns by check box are selected. Method N is valid only for files that are in integrated exchange (IXF) format.
If this radio button is selected, the following fields are displayed in the Table column box:
You can change the values of the Include and Data column fields by selecting a table column and clicking on Change. The Change window opens.
Column numbers (method P)
This radio button specifies that, for each table column, data is loaded according to the position of the data column in the data file.
This radio button is selected if either the Delimited ASCII format (DEL) or Integrated exchange format (IXF) radio button on the File page is selected. This radio button is available only if the Include columns by check box is selected. Method P is valid only for files that are in delimited ASCII (DEL) or integrated exchange (IXF) file formats.
If this radio button is selected, the following fields are displayed in the Table column box:
You can change the values of the Include and Column position fields by selecting a table column and clicking on Change. The Change window opens.
Table column
This box lists all of the columns in the selected table. The fields that appear in this box vary depending on which Load file type is selected on the File page and which radio button is selected on the Columns page:
To change the values in the fields for a particular table column, select the table column and select Change.
Change
Click on this push button to change field values for a selected table column. The Change window opens.
Identity column behavior
Use this drop-down list to specify how you want the identity column to be loaded. The possible values are:
If the identity column is defined as GENERATED BY DEFAULT, non-NULL values are loaded for that column. If a row either does not have a value for the identity column, or the value in the input data is NULL, a value is generated for that row.
Note: | This value is useful if you are migrating data from another database system and the table must be defined as GENERATED ALWAYS, or if you are loading a table from data that you recovered using the ROLLFORWARD option DROPPED TABLE RECOVERY. |
Generated column behavior
Use this drop-down list to specify how you want generated columns to be loaded.
Note: | You cannot load generated identity columns. |
The possible values are:
Note: | This value is useful if you are migrating data from another database system and the table must be defined as GENERATED ALWAYS, or if you are loading a table from data that you recovered using the ROLLFORWARD option DROPPED TABLE RECOVERY. |
Counts page
Load mode
This box contains the mode of the load. To change this mode, click on the down arrow to display a list of valid modes and select one.
The valid modes are:
Attention: This option is not recommended for general use; it should be selected only if an unrecoverable error occurred.
Save count
This field contains the interval (in number of rows) between consistency points. During the load process, after every N rows are loaded (where N is the number specified in this field) a consistency point will be established. To change the save count, use one of these methods:
The default value is 0, meaning no consistency points will be established, unless necessary. If the value you select is not high enough, the synchronization of activities performed at each consistency point will impact performance.
Because a message is issued at each consistency point, you should specify a Save count only if the load is being monitored.
Restart options
Select one radio button to specify where to restart the load process.
You can use this option with the load mode set to Insert, Replace, or Restart. If you select Restart, you must use the number of rows at the last successful consistency point. The default value is 0, meaning the load will start at the first record.
You can use this option if the message file states that the build phase completed and all temporary files are unmodified. This radio button is available only when the load mode is set to Restart.
Limit the number of rows to be loaded
Select this check box to limit the number of physical file records to be loaded to the value specified in the Row count field.
To change the value in the Row count field, use one of these methods:
The default value of zero (0) indicates that the load will continue until either all records are loaded or an unrecoverable error occurs.
Warning count
This field contains the number of warnings after which the load is to be stopped. The default is 0; in this case, the load will continue regardless of the number of warnings encountered during the load operation. To change this number, use one of these methods:
Statistics page
Statistics for the table
Select one of the following radio buttons to specify whether and how you want the table's statistics updated:
Distribution statistics on values in table columns are not collected.
An example of a distribution statistic is the frequency with which a particular data value occurs in a column.
Note: | You cannot gather statistics during the load process if you selected Insert or Restart for the Load mode field on the Counts page of the Load notebook. |
Statistics for the indexes
Select one of the following radio buttons to specify whether and how you want the table indexes' statistics updated:
An example of a detailed statistic is the number of I/Os needed to read the data pages into buffer pools of various sizes.
Note: | You cannot gather statistics during the load process if you selected Insert or Restart for the Load mode field on the Counts page of the Load notebook. |
Copy Options page
Perform nonrecoverable load operation
Select this check box to specify this load as a nonrecoverable load.
By default, if forward recovery is enabled for the database in which this table resides and you load data into the table, the table spaces for that table are placed in backup pending state. In this case, the data in the table is not accessible until a table space backup or a full database backup is made.
If you don't want the table spaces to be placed in backup pending state, you can either perform a nonrecoverable load by specifying this check box, or create an image copy of the loaded data by selecting the Save a copy of the changes made check box. Selecting the Perform nonrecoverable load operation check box allows you to perform the load without jeopardizing the recoverability of all the other tables in the database and without the overhead of building a copy of all of the changes made.
Save a copy of the changes made
Select this check box to specify that a copy of the changes made during the load process be saved.
You cannot save a copy of the changes if forward recovery is disabled for the database.
If forward recovery is enabled and you do not specify that a copy be made, the table spaces in which the table resides are placed in backup pending state. The data in the table is not accessible until a table space backup or a full database backup is made.
Tivoli Storage Manager
Select this radio button to specify that the copy of the changes made be stored using the Tivoli Storage Manager.
The Number of sessions spin button contains the number of I/O sessions to be used with Tivoli Storage Manager. To change this number, use one of these methods:
The default value is 1, specifying that one I/O session will be used.
The Tivoli Storage Manager radio button is available only when the Save a copy of the changes made check box is selected. The Number of sessions spin button is available only when the Tivoli Storage Manager radio button is selected.
Vendor shared library
Select this radio button to specify that the copy of the changes made be stored using a vendor product.
The Number of sessions spin button contains the number of I/O sessions to be used with the vendor product. To change this number, use one of these methods:
The default value is 1, specifying that one I/O session will be used.
After selecting this radio button, specify the name of the library in the Vendor library name field.
The Vendor shared library radio button is available only when the Save a copy of the changes made check box is selected. The Number of sessions spin button is available only when the Vendor shared library radio button is selected.
Vendor library name
Type the name of the shared library (DLL on OS/2) containing the vendor backup and restore I/O functions to be used. You can type the full path. If you do not type the full path, the path where the user exit programs reside will be used.
This field is available only if the Vendor shared library radio button is selected.
Save to devices or directories
Select this radio button to specify that the copy of the changes made be stored on devices or in directories.
The Save to devices or directories radio button is available only when the Save a copy of the changes made check box is selected.
Specify devices or directories
This box lists the devices or directories to which a copy of the changes made will be saved. Use the Add push button to add a name to this box. You can also select names to be changed, removed, or rearranged.
This box is available only when the Save to devices or directories radio button is selected.
Add
Click on this push button to open the Add window so you can add the name of a device or directory to the Specify devices or directories box.
The new entry is added to the list following the entry that is currently selected. If no entry is selected, the new entry is appended to the list.
Change
Click on this push button to open the Change window so you can change the name of the selected device or directory in the Specify devices or directories box.
This push button is available only when a name is selected in the Specify devices or directories box.
Remove
Click on this push button to remove the selected device or directory names from the Specify devices or directories box. (The actual devices and directories are not removed from the system.)
This push button is available only when one or more names are selected in the Specify devices or directories box.
Move Up
Click on this push button to move up one position the name of the selected device or directory in the Specify devices or directories box.
This push button is available only when a name is selected in the Specify devices or directories box.
Move Down
Click on this push button to move down one position the name of the selected device or directory in the Specify devices or directories box.
This push button is available only when a name is selected in the Specify devices or directories box.
Others page
Temporary directories used during index creation
This box lists the directories to be used to store the temporary files that are used when indexes are created. Use the Add push button to add a name to this box. You can also select a name to be changed, removed, or rearranged.
If you do not specify directories, the files are created in the sqllib/tmp directory of the DB2INSTANCE owner. If you specify more than one directory, each directory should be on a different file system, and each file system should be on a different disk, to optimize performance.
Make sure that there is enough space on these directories to hold all index keys for the data being loaded.
Note: This list box only appears when the database that contains the table that is being loaded was created using DB2 Version 5 or Version 5.2.
Add
Click on this push button to open the Add window so you can add the name of a directory to the Temporary directories used during index creation box.
The new entry is added to the list following the entry that is currently selected. If no entry is selected, the new entry is appended to the list.
Note: This push button only appears when the database that contains the table that is being loaded was created using DB2 Version 5 or Version 5.2.
Change
Click on this push button to open the Change window so you can change the name of the selected directory in the Temporary directories used during index creation box.
This push button is available only when a name is selected in the Temporary directories used during index creation box.
Note: This push button only appears when the database that contains the table that is being loaded was created using DB2 Version 5 or Version 5.2.
Remove
Click on this push button to remove the selected temporary directory names from the Temporary directories used during index creation box.
This push button is available only when one or more names are selected in the Temporary directories used during index creation box.
Note: This push button only appears when the database that contains the table that is being loaded was created using DB2 Version 5 or Version 5.2.
Move Up
Click on this push button to move up one position the name of the selected directory in the Temporary directories used during index creation box.
This push button is available only when a name is selected in the Temporary directories used during index creation box.
Note: This push button only appears when the database that contains the table that is being loaded was created using DB2 Version 5 or Version 5.2.
Move Down
Click on this push button to move down one position the name of the selected directory in the Temporary directories used during index creation box.
This push button is available only when a name is selected in the Temporary directories used during index creation box.
Note: This push button only appears when the database that contains the table that is being loaded was created using DB2 Version 5 or Version 5.2.
Leave the table in quiesced state after load
Select this check box to specify that the quiesce state of the table after the load be left in exclusive mode. In this mode, you have exclusive access to the table and its table spaces; other users cannot read or update the table data.
Preservation of source data order is not required
Select this check box to indicate that preservation of source data order is not required while loading the table.
Skip the header verification code
Select this check box to have the header verification code skipped when the table is loaded.
Data buffer in 4K pages
This field contains the number of pages of memory for data buffers used during the load. To change the number, use one of these two methods:
The default value of 0 specifies that the minimum number of buffers to be used will be calculated according to a particular algorithm. Each buffer is at least 16 pages in size (each page is 4 KB of memory).
If you specify a value that is less than the algorithmic minimum, then the minimum required number of buffers is used and no warning is returned.
Sort buffer in 4K pages
This field contains the number of pages of memory for sorting the index keys during the load. (Each page is 4 KB of memory.) To change this number, use one of these two methods:
The default value of 0 specifies that a minimum amount of storage is used. This minimum amount used depends on the number of indexes, the number of keys in each index, the size of the keys, and the number of temporary directories specified in the Temporary directories used during index creation box.
If you specify a value greater than zero but less than the required minimum, the minimum value for that load is used.
Note: This check box only appears when the database that contains the table that is being loaded was created using DB2 Version 5 or Version 5.2.
Degree of CPU parallelism
This field contains the degree of CPU parallelism to be used by the load utility for such operations as formatting data. A degree of parallelism of 3 means that three formatters are spawned. To change this number, use one of these methods:
The default value of 0 specifies that the degree of CPU parallelism will be based on the number of system CPUs currently online.
This option is most useful when you are running on a system with multiple CPUs. It allows for optimal parallel loading while preserving the order of records in the source data. This is especially useful when you are loading presorted data.
Degree of disk parallelism
This field contains the degree of disk parallelism to be used by the load utility for such operations as database I/O. A degree of parallelism of 3 means that three database writers are spawned. To change this number, use one of these methods:
The default value of 0 specifies that the degree of disk parallelism will be based on the number of system disks currently online.
Percentage of free space to be left on index pages
Use this field to specify the percentage of each index page to leave as free space when loading the index. The value selected in this field overrides the value used at the time the index was created.
If a percentage of free space is not specified here, the value will default to the percentage used at the time the index was created. This value affects index leaf pages only.
The first entry in a page is added without restriction. When additional entries are placed in an index page, the value specified in this field determines the percentage of free space left on each page.
Select the check box to activate the percentage spin button. Using the spin button, select a percent from 0 to 99. The default value is 10 percent. If you select a value greater than 10, only 10 percent free space will be left in non-leaf pages.
Message file
This field contains the name of the file where warning and error messages that occur during the load will be written. This file will be written in the current directory. To change the name of the file, type a name in the field. You can type the full path. If you do not type the full path, the current directory is used.
Temporary control file
Type the base name to be used for creating temporary files during the load. We recommend that you enter a fully qualified name according to the server node.
The remote file is a base file name that DB2 will append with different extensions to create temporary files used to store messages and consistency points, and to delete phase information. The remote file resides on the server machine and is accessed by the DB2 instance exclusively. Any file name qualification must reflect the directory structure of the server, not the client, and the DB2 instance owner must have read and write permission on this file. You must ensure that more than one load is not issued using the same fully qualified remote file name.
Examples
In the following situations, where you either type a partially qualified name or no name at all, the indicated file name is used:
Exception table schema
Use this box to specify the schema of the exception table. The schema must exist. This box displays the current authorization ID. To change the name, use one of these methods:
Name
Use this box to specify the name of the exception table. The table must exist. Use one of these methods: