15.00 - Rules for Retaining Eligibility for Restoring or Copying Selected Partitions - Teradata Database

Teradata Database SQL Data Definition Language Detailed Topics

prodname
Teradata Database
vrm_release
15.00
category
Programming Reference
featnum
B035-1184-015K

Rules for Retaining Eligibility for Restoring or Copying Selected Partitions

While you can change some of the characteristics of a table and retain the ability to restore or copy selected partitions to it, other operations against a partitioned table render it unable to be the target of selected partition restorations.

The following table definition changes do not invalidate future restorations of selected partitions for the targeted or referenced tables.

  • Altering table‑level options that are not related to the semantic integrity of the table, including the following.
  • Fallback protection (see “ALTER TABLE and FALLBACK” on page 42).
  • Journaling attributes (see “Transient Journaling” on page 42).
  • Free space percentage.
  • Data block size (see “IMMEDIATE DATABLOCKSIZE” on page 46).
  • Also see “CREATE TABLE (Table Options Clause)” on page 519 for more information about these options.

  • Altering the partitioning expression. See “Rules For Altering the Partitioning Expression For a Table” on page 110 and “CREATE TABLE (Index Definition Clause)” on page 573 for more information about these options.
  • Altering either column‑level or table‑level CHECK constraints. See “Adding and Dropping CHECK Constraints” on page 67 and “CREATE TABLE (Column Definition Clause)” on page 535 for more information about these options.
  • When the target and source are different systems, you must repeat each of the previously listed operations on the affected tables of the target system to ensure that the two are kept in synchrony.

    The following ALTER TABLE operations do make any future restore or copy operations of selected partitions for targeted or referenced tables non‑valid.

  • Adding or dropping columns (see “Dropping Columns From a Table” on page 68 and “Adding Columns To a Table” on page 49).
  • Altering the definition of existing columns (excluding the exceptions noted in the previous list).
  • Adding, dropping, or modifying referential integrity relationships between tables (see “Adding or Dropping Standard Referential Integrity Constraints” on page 72).
  • See Database Administration and Teradata Archive/Recovery Utility Reference for complete warnings, procedures, and other information related to partial restoration of partitions.