ONLINE Keyword - Teradata Tools and Utilities

Teradata® Archive/Recovery Utility Reference

Product
Teradata Tools and Utilities
Release Number
16.20
Published
March 2019
Language
English (United States)
Last Update
2019-06-05
dita:mapPath
fac1527114221922.ditamap
dita:ditavalPath
Audience_PDF_include.ditaval
dita:id
B035-2412
Product Category
Teradata Tools and Utilities

The ONLINE keyword initiates an online archive on a table or database. During an online archive, the system creates and maintains a log for the specified table or a separate log for each table in the specified database. All changes to a table are captured in its log. Each log of changed rows is then archived as part of the archive process. When the archive process completes, the online archive is terminated and the change logs are deleted.

When a table is restored, the table's change log is restored also. The changed rows in the log are rolled back to the point that existed prior to the start of the archive process. The table is then rolled back to that same point. All tables within the same transaction in the online archive are restored to the same point in the transaction.

For tables involved in a load operation, see section Archiving Online.