Entering content frame

 usage_spec 

Syntax Rules for Table Descriptions

Syntax

<usage_spec> ::= WITH <valUSAGE> % USAGE | WITH <valUSAGE> ROWS USAGE

valUSAGE

Positive integer

For a percentage, this number must be between 50 and 100.

If you specify the number of rows, the length of a single table record plays a role.

Use

Use this syntax rule in a FASTLOAD command to specify the extent to which you want to fill a table page with data records.

To do this, you can specify a percentage between 50 and 100 or define the number of rows (data records) that you want to load in each table page. If you specify a number of rows that exceeds the actual number possible, the Loader displays an error message during the load operation, indicating the maximum number of rows permitted in each table page.

The default setting in the Loader is 80 %.

·        If the table is not modified at all, or only slightly, it is a good idea to utilize the occupied memory by more than 80%.

·        If considerable dynamic growth is anticipated for the table, it is a good idea to utilize the occupied memory by less than 80%.

Specifying the desired memory utilization does not guarantee that it will actually be achieved. Use the Database Manager program to check the current memory utilization for the relevant table.

You want to specify a memory utilization of 100% to FASTLOAD data from the data stream customer.data to the customer table.

FASTLOAD with 100 % USAGE
TABLE customer
  cno        1
  surname    2
  zip        3
  place      4
INFILE 'customer.data'

You want to enter 25 data records in each table page on the database instance.

FASTLOAD with 25 ROWS USAGE
TABLE customer
  cno           1
  surname       2
  zip           3
  place         4
INFILE 'customer.data'

 

Leaving content frame