16.10 - Enforcing Temporary Logon Restrictions When Restoring Data - Teradata Database

Teradata Database Security Administration

Product
Teradata Database
Release Number
16.10
Release Date
June 2017
Content Type
Administration
Security
Publication ID
B035-1100-161K
Language
English (United States)

An attempt to execute a RESTORE DBC may fail and cause a database restart if users other than DBC are logged on to the system. This and other administrative activities may require that you temporarily disable all logons to the database until the activity is complete. Do not use REVOKE LOGONS for this purpose. Instead use the DISABLE LOGONS command to:

  • Prevent subsequent non-DBC logons
  • Disallow the execution of RESTORE DBC until all non-DBC users are off the system
Users logged on at the time a DISABLE LOGONS command is issued continue their sessions to completion.

To safely run a RESTORE DBC operation and avoid an unplanned database restart:

  1. Use Database Window (xdbw) to submit the DISABLE LOGONS, and prevent subsequent non-DBC user logons. All current session continue to completion.
  2. When all non-DBC users are off the system, run the RESTORE operation.
  3. When the RESTORE is complete, you can use the Database Window ENABLE ALL LOGONS command to re-enable all user logon privileges defined in the database.

See “Database Window” in Utilities.