Direct Load Materialization

Use direct load materialization to materialize data between different primary and replicate databases. Direct load materialization is also available between two SAP ASE databases.

Direct load materialization differs from other automatic materialization methods:

Direct load materialization can be used to materialize data from:

Direct load materialization is enabled through the direct_load option of the create subscription command. When using direct load materialization, note these restrictions for create subscription:
  • When the direct_load option is used, no other subscription can be created or defined at the same time for the same replicate table.
  • The direct_load option is for subscriptions to table replication definitions only and is used with without holdlock. It cannot be used with the without materialization or incrementally options.
  • The user and password options are used only with direct_load.
  • You cannot use the direct_load option against a logical or alternate connection. The primary connection in the replication definition and the replicate connection in the subscription must be physical connections.
  • The maintenance user of the primary database cannot be used in the user and password options to create subscriptions.
  • You cannot use other automatic materialization methods if the primary database is not SAP ASE. The only automatic materialization option for Oracle or other databases is direct load materialization.
  • You cannot drop a subscription with the with purge option if the replicate database is not SAP ASE.
  • The direct_load option is available only if the replicate SAP Replication Server site version and route version are 1571100 or later.
  • You can use row filtering, name mapping, customized function strings and datatype mapping with subscriptions created using the direct_load option.
  • If you create a subscription with the direct_load option and if the number of concurrent subscription requests exceeds num_concurrent_subs, SAP Replication Server marks the subscription as PENDING. SAP Replication Server processes the subscription only after the number of concurrent subscription requests falls below num_concurrent_subs.

Primary Database Considerations

  • Depending upon the primary database, SAP Replication Server either connects directly to the primary database, or connects to the Replication Agent for that primary database.
  • You must have Replication Agent version 15.7.1 SP100 or later to materialize data from a non-SAP ASE primary database using direct load materialization.
  • When invoking the create subscription command, if SAP Replication Server connects to Replication Agent, it needs to use the Replication Agent administrator login name and password.