What are the types of tables in Teradata
Answers were Sorted based on User's Feedback
Answer / terad
Types of Tables in Teradata :
1.Derived
2.Volatile
3.Global Temp.
4.Permanent
4.1. SET
4.2. Multiset
Is This Answer Correct ? | 61 Yes | 1 No |
Answer / rajesh kumar
Permenant Tables:
1. SET table - Strictly NO duplicate values [By-Default]
2. MULTISET table - Allows Duplicate Values.
Temporary Tables:
1. Global Temporary Table - supports [Compression in table],
when session logged out, Table persists and its record gets
vanished.
2. Volatile Table - When session logged out, TABLE and its
records are not available further.
I dont have idea about Derived Table, could someone
elaborate on this?
Is This Answer Correct ? | 31 Yes | 3 No |
Answer / rajesh kumar
update on previous answer:
1.Derived table stores the derived result from a subquery.
2.It uses only spool space, so no table definition,
permission needed.
simple query eg:
select * from (select max(sal) from emp) DT (Max_sal)
answer:
derived table(DT) has Max salary and result would be
Max_sal- here subquery result is maintained in derived table
-------
25000
3. derived table auto drops after the query ends
Is This Answer Correct ? | 22 Yes | 0 No |
Answer / preeti
1-- SET TABLE
2-- MULTISET TABLE
3-- PERMANANT TABLE
4-- GLOBAL TEMPORARY TABLE(TEMPORARY TABLE)
5-- VOLATILE TABLE
6-- DERIVED TABLE
7--INTERIM TABLES
Is This Answer Correct ? | 25 Yes | 9 No |
Answer / ramya
TEMPORARY TABLES
1. Global Temporary Table
2. Derived Table
3. Volatile Table
PERMANENT Table
1. SET Table
2. MULTISET Table
Is This Answer Correct ? | 16 Yes | 0 No |
Answer / yuvaevergreen
VOLATILE TABLES - Occupies spool space - Data/Definition
dropped when the session ends or user drops it.
DERIVED TABLES - Occupies spool space - Data dropped as
soon as the query ends.
GLOBAL TEMPORARY TABLES - Occupies temporary space - Data
dropped as soon as the user deletes or session ends -
Definition stored permanently in the DD.
SET/MULTISET TABLES - Occupies permanent space -
Data/Definition retained until user deletes it.
Is This Answer Correct ? | 8 Yes | 0 No |
Answer / raghavender
1-- SET TABLE
2-- MULTISET TABLE
3-- GLOBAL TEMPORARY TABLE
4-- VOLATILE TABLE
5-- DERIVED TABLE
Is This Answer Correct ? | 11 Yes | 4 No |
Answer / teja
Derived temporary tables
# Derived tables are local to an SQL query.
# Not included in the DBC data dictionary database, the
definition is kept in cache.
# They are specified on a query level with an AS keyword
in an sql statement
Is This Answer Correct ? | 5 Yes | 0 No |
Answer / ravi bandi
permanent tables:
1.set---which thow out any rows that complete duplicates
2.mutiset--which allows multiple instances for same row.
temporary tables:
1.global temporary tables-- when it is created its
definition stored on data dictionary. the data will be
stored on temp space that's why data is active upto the
session ends, we can collect statistics on GTT.
2.volatile temporary tables--when it is created the
definition is stored on cache.the data will be stored in
spool space,thats why data and table defition both are
active up to session ends.you can't collect statistics on
VTT.
3.derived tables-- when we created the definition is stored
on cache.it is local to an sql query.
they are specified on a query level with an AS keyword in
an sql ststment.
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / nani
continuation of rajesh kumar.
3.when we can use the select statement in form clause and
specify the name with 'as' keyword for that statement is
called derived table
Is This Answer Correct ? | 3 Yes | 0 No |
what is the difference between start schma and Fsldm?
Explain Teradata performance tuning and optimization?
Explain and compare pros and cons of start schemas?
What do you mean by teradata intelliflex?
What are the different functions performed in development phase?
In which scenarios we use Volatile tables and Global temporary Tables in Real time? Please give me one real time scenario???I know wat is its use??
Does anyone got Latest TERADATA V12 Certification Dumps for the below? TE0-121 , TE0-122 , TE0-123 , TE0-124 , TE0-125 , TE0-126 TE0-127 , TE0-12Q
What does sleep function does in fast load?
How do you verify a complicated sql?
What is called partitioned primary index (ppi) and discuss the advantages of using it in a query?
What is oltp?
how do you manage the production space. what are the proactive methods you can take ?