IBM Support

Teradata schema locked during DataStage job run due to RELEASE MLOAD statement.

Troubleshooting


Problem

When the DataStage Teradata Connector stage performs a bulk update, a RELEASE MLOAD statement is issued which locks the schema, preventing updates to other objects in the same schema until the job completes.

Resolving The Problem

The DataStage Teradata Connector stage does not directly issue the RELEASE MLOAD statement. Rather it is issued by the Teradata TPT layer if a specific property has been set in the Teradata Connector stage properties.

Open the Teradata Connector stage properties and examine the setting of the Startup option. When Startup=Clean, Teradata will clean up the table and issue the RELEASE MLOAD command when the job starts. If the Startup option is instead set to "Restart" then the RELEASE MLOAD statement does not occur during job run.

NOTE: some jobs may depend upon the clearing of existing data in target table at start of job run, so before changing the Startup option from Clean to Restart, you need to examine the usage of the data in that table to determine if not clearing the table will cause errors or incorrect results for your job.

[{"Product":{"code":"SSVSEF","label":"IBM InfoSphere DataStage"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"--","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"9.1;8.7;8.5;8.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
16 June 2018

UID

swg21620650