16.20 - CHECKPOINT ISOLATED LOADING - Teradata Database - Teradata Vantage NewSQL Engine

Teradata Vantage™ SQL Data Definition Language Syntax and Examples

Product
Teradata Database
Teradata Vantage NewSQL Engine
Release Number
16.20
Published
March 2019
Content Type
Programming Reference
Publication ID
B035-1144-162K
Language
English (United States)
Last Update
2019-05-24

Purpose

Sets a checkpoint for the explicit isolated load operation and commits the data that has been loaded up to that point.

Required Privileges

You must have the INSERT, UPDATE, or DELETE privilege on the base table associated with the load operation.

Syntax



Syntax Elements

CONCURRENT
Keyword you can include for readability.
LDILoadGroup= value
For value, you specify the load group in use for the isolated load operation.

Usage Notes

The CHECKPOINT ISOLATED LOADING statement must be issued by the same session as the BEGIN ISOLATED LOADING statement.

When you issue the CHECKPOINT ISOLATED LOADING statement, the data that has been loaded up to that point by the session, or by all sessions in a multi-session load operation, is committed and becomes available for concurrent read operations. You can use the CHECKPOINT ISOLATED LOADING statement to enable recently loaded data to be available for concurrent read operations while the load operation continues.

The CHECKPOINT ISOLATED LOADING statement must be the last statement in an explicit transaction.

Examples

This statement sets a checkpoint for the load operation:
CHECKPOINT ISOLATED LOADING FOR QUERY_BAND 'LDILoadGroup=Grp1;';