17.20 - Enforcing Temporary Logon Restrictions When Restoring Data - Analytics Database - Teradata Vantage

Teradata Vantage™ - Analytics Database Security Administration - 17.20

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2023-03-07
dita:mapPath
hjo1628096075471.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
zuy1472246340572
An attempt to run 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 running 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.

For more information, see the information about the Database Window in Teradata Vantage™ - Database Utilities, B035-1102.