Database Space Management and Table Types

Advanced database concepts covering space allocation (spool, permanent, temporary), table types (volatile, global temporary, multiset), keys and indexes, and SQL features

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

What is the maximum number of Nested SubQueries used in WHERE Clause?

  1. 255
  2. 256
  3. 300
  4. 225
Question 2 Multiple Choice (Single Answer)

Where would you look for errors from the database engine?

  1. Database Log
  2. Alert Log
  3. Error Log
  4. Session Log
Question 3 Multiple Choice (Single Answer)

What are the min.extents allocated to a rollback extent?

  1. 1
  2. 2
  3. 3
  4. 4
Question 4 Multiple Choice (Single Answer)

What is the maximum number of triggers, can apply to a single table?

  1. 11
  2. 14
  3. 10
  4. 12
Question 5 Multiple Choice (Multiple Answers)

When the 'SELECT' clause of the SQL has the aggregate function, it is must to have this clause to prevent error

  1. WHERE
  2. ORDER BY
  3. GROUP BY
  4. Aggregate Function
Question 6 Multiple Choice (Multiple Answers)

Identify the OLAP function from the given options

  1. MSUM
  2. SUM
  3. AVG
  4. All of the above
Question 7 Multiple Choice (Multiple Answers)

This table will have duplicate rows

  1. Volatile Table
  2. Global Temporary table
  3. MultiSet Table
  4. Permanent Table
Question 8 Multiple Choice (Multiple Answers)

When Database A has 5GB of spool space, Database B is created as child of Database A with 3GB of spool space, then Database A will have

  1. 2GB of spool space
  2. 5GB of spool space
  3. 2GB of permanent space
  4. 3GB of spool space
Question 9 Multiple Choice (Multiple Answers)

While creating a table Primary key is defined but not Primary Index, then this will be considered as Primary Index

  1. Secondary Index
  2. First unique column in the table
  3. Primary key
  4. First non-unique coulmn in the table
Question 10 Multiple Choice (Multiple Answers)

Statistics cannot be collected on this table

  1. Permanent Table
  2. Set Table
  3. Multiset Table
  4. Volatile Table
Question 11 Multiple Choice (Multiple Answers)

This temporary table will not be dropped once the session is signed off

  1. Volatile Temporary Table
  2. Global Temporary table
  3. MultiSet Table
  4. Permanent Table
Question 12 Multiple Choice (Multiple Answers)

Volatile temporary table is materialized at

  1. Temporary Space
  2. Spool Space
  3. Permanent Space
  4. Any of the above
Question 13 Multiple Choice (Multiple Answers)

Intermediate results of the user query is materialized at

  1. Temporary Space
  2. Spool Space
  3. Permanent Space
  4. Any of the above
Question 14 Multiple Choice (Multiple Answers)

An USER cannot have these if Permanent space is not allocated to it

  1. Permanent Table and Stored Procedure
  2. Permanent View and Stored Procedure
  3. Macros and Stored Procedure
  4. None of the above
Question 15 Multiple Choice (Single Answer)

This table will have duplicate rows

  1. Volatile Table
  2. Global Temporary table
  3. MultiSet Table
  4. Permanent Table
Question 16 Multiple Choice (Single Answer)

While creating a table Primary key is defined but not Primary Index, then this will be considered as Primary Index

  1. Secondary Index
  2. First unique column in the table
  3. Primary key
  4. First non-unique coulmn in the table
Question 17 Multiple Choice (Single Answer)

This temporary table will not be dropped once the session is signed off

  1. Volatile Temporary Table
  2. Global Temporary table
  3. MultiSet Table
  4. Permanent Table
Question 18 Multiple Choice (Single Answer)

Volatile temporary table is materialized at

  1. Temporary Space
  2. Spool Space
  3. Permanent Space
  4. Any of the above
Question 19 Multiple Choice (Single Answer)

Intermediate results of the user query is materialized at

  1. Temporary Space
  2. Spool Space
  3. Permanent Space
  4. Any of the above
Question 20 Multiple Choice (Single Answer)

An USER cannot have these if Permanent space is not allocated to it

  1. Permanent Table and Stored Procedure
  2. Permanent View and Stored Procedure
  3. Macros and Stored Procedure
  4. None of the above