Thursday, 27 February 2014

FALLBACK IN TERADATA

The ability of the Teradata RDBMS to maintain an extra copy of every row of a table in different AMPs. During normal processing, reads are performed using only the primary copy, while updates are performed on both copies. If a failure renders the primary copy inaccessible, the fallback copy is used for reads and updates. The database maintains a log of changes missed by inaccessible copies and automatically applies the missed changes to synchronize the table copy when it becomes accessible.

FALLBACK tables use twice as much disk space as NON-FALLBACK rows.
Generally, fallback is usually only used on critical tables since it will double your disk usage.

During table creation or after a table is created, we may specify whether or not the system should keep a Fallback copy of the table.

Examples:
  1. CREATE MULTISET TABLE employee, fallback,
  2. datablocksize=32 kbytes,freespace= 10 percent,checksum=none
  3. (empno integer,
  4. salary integer);

  1. CREATE SET TABLE deptartment,No fallback,
  2. No Before Journal, No After Journal,
  3. Checksum =default
  4. (
  5. employee_number integer,
  6. deptno integer
  7. );

No comments:

Post a Comment