AFTER JOURNAL - Advanced SQL Engine - Teradata Database

SQL Data Definition Language Syntax and Examples

Product
Advanced SQL Engine
Teradata Database
Release Number
17.00
Published
September 2020
Language
English (United States)
Last Update
2021-01-23
dita:mapPath
wgr1555383704548.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1144
lifecycle
previous
Product Category
Teradata Vantage™

The type of permanent journal image to be maintained for the table. Any existing images are not affected until the table is updated.

  • If you specify the JOURNAL keyword without also specifying NO or DUAL, Vantage maintains a single copy of the image unless FALLBACK is in effect or is also specified.
  • If you specify journaling for a database that uses fallback protection by default, Vantage maintains DUAL images automatically.

You cannot add or modify journal options for an nonpartitioned NoPI table or for a column-partitioned table.

NO
After-change images are not maintained for the table.
DUAL
Two after-change images are maintained for the table.
LOCAL
Single after-image journal rows for non-fallback data tables are written on the same virtual AMP as the changed data rows.
NOT LOCAL
Single after-image journal rows for non-fallback data tables are written on another virtual AMP in the cluster.