Syntax documentation FASTLOAD Command Locate the document in its SAP Library structure

With this SAP DB Loader command, you can control the loading of application data for the specified tables.

Syntax

<fastload_statement> ::=
FASTLOAD [<
usage_spec>] TABLE <table_spec> [<load_column_spec_mlt>] <instream_spec>

Example

FASTLOAD with 100 % USAGE
TABLE sqltravel00.customer
  cno           1
  name          2
  zip           3
  address       4
INFILE 'customer.data'

Use

FASTLOAD commands are processed while the database is running.

Note

When application data is loaded with FASTLOAD, it is entered directly in the Structure linkpages on the database instance. This command loads data more quickly than the DATALOAD command. However, because it does not write any log entries, you must back up the new data after you have loaded it. You can either back up the corresponding pages (Structure linkincremental data backup) or all data (Structure linkcomplete data backup). The table is write-protected until you have backed up the new application data.

Prerequisites

Process Flow

When a FASTLOAD command is started, the target table of the load operation in the database instance is locked so other users cannot write to it. The target table can still be read, however.

Unrestricted reading and writing is possible in all other tables.

Once a FASTLOAD command has been processed, other write operations triggered with FASTLOAD from the same user can be performed on this table. Once the load operation with FASTLOAD has been completed, all users only have read access for the table.

A backup of the database instance must be created before this table is released again for write operations from other users.

Result

The data from the source table has been loaded to the target table.

Note

The successful load of the application data is implicitly completed by the SAP DB Loader with a Structure linkCOMMIT.

Errors

If a FASTLOAD load operation is aborted, all of the lines transferred during the operation are deleted. Application data that existed in the table before the FASTLOAD load operation was started remains unchanged.

If you cancel the load operation because the SAP DB Loader refused to transfer certain lines, you can check the log file to find the data record that caused the operation to fail.