16.20 - MODIFY DATABASE - Teradata Database - Teradata Vantage NewSQL Engine

Teradata Vantage™ SQL Data Definition Language Syntax and Examples

Product
Teradata Database
Teradata Vantage NewSQL Engine
Release Number
16.20
Published
March 2019
Language
English (United States)
Last Update
2019-05-24
dita:mapPath
wkf1512081455740.ditamap
dita:ditavalPath
TD_DBS_16_20_Update1.ditaval
dita:id
mdr1472255012272

Purpose

Changes the parameters for the specified database.

Required Privileges

You must have the DROP DATABASE privilege on the referenced database.

To modify users, see MODIFY USER.

When you perform a MODIFY DATABASE statement, the system places an exclusive lock on the database that is being modified.

If necessary, the system changes the defined PERM, SPOOL, or TEMPORARY space to the next higher value that is a multiple of the number of AMPs on the system.

You can change one or more options in the same MODIFY statement. A changed option applies to all subsequent operations that occur for the database.

If an existing option is not changed by a MODIFY statement, that option retains its previously defined value.

Privileges Granted Automatically

When you submit a successful MODIFY DATABASE … DEFAULT JOURNAL TABLE statement, the following privileges are granted automatically to the database on the journal table:
  • DROP TABLE
  • INSERT

Syntax