Welcome to plsql4all.blogspot.com SQL, MYSQL, ORACLE, TERADATA, MONGODB, MARIADB, GREENPLUM, DB2, POSTGRESQL.

Thursday, 14 April 2016

Create Database in Teradata

A Teradata database is a defined logical repository which contains following sample database objects:-

Tables
Views
Macros
Triggers
Functions
Stored Procedures

Attributes that you can specify for creating database are:-

Perm Space – maximum amount of space available for tables
Spool Space – maximum amount of work space available for requests
Temp Space – maximum amount of temporary table space

When you create a Teradata database, you should initiate the command with CREATE DATABASE.

Please note, to create a database you would required administrator privileges.

Below is the example:

CREATE DATABASE Tera_Test FROM Sysdba
AS PERMANENT =100000000, SPOOL = 100000000;

Here database “Tera_Test” is owned by “Sysdba”.

1 comment:

  1. Thanks for sharing valuable information. Your blogs were helpful to Teradata learners. I request to update the blog through step-by-step. Also, find the Teradata news at
    Teradata dba Online Training

    ReplyDelete

Please provide your feedback in the comments section above. Please don't forget to follow.