|
INTERVIEW QUESTIONS
ORACLE
DETAILS
Question: Which of the following statements may require a temporary segment?
a. CREATE TABLE b. CREATE INDEX c. UPDATE d. CREATE TABLESPACE
Answer: CREATE INDEX. Operations that require a sort may need a temporary segment (when the sort operation cannot be completed in the memory area specified by the SORT_AREA_SIZE). Queries that use DISTINCT, GROUP BY, ORDER BY, UNION, INTERSECT, or MINUS clauses also need a sort of the result set.
|
|
|
Category |
Oracle Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.2) By 9251 users |
Added on |
7/7/2010 |
Views |
67450 |
Rate it! |
|
|
Question:
Which of the following statements may require a temporary segment?
a. CREATE TABLE b. CREATE INDEX c. UPDATE d. CREATE TABLESPACE
Answer:
CREATE INDEX. Operations that require a sort may need a temporary segment (when the sort operation cannot be completed in the memory area specified by the SORT_AREA_SIZE). Queries that use DISTINCT, GROUP BY, ORDER BY, UNION, INTERSECT, or MINUS clauses also need a sort of the result set.
Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
Which two initialization parameters are used by ORACLE to determine the number of rollback segments required for an instance?
a. ROLLBACK_SEGMENTS b. TRANSACTIONS c. TRANSACTIONS_PER_ROLLBACK_SEGMENT d. PROCESSES
|
View Answer
|
|
What can cause the Snapshot too old error?
|
View Answer
|
|
What is row migration?
|
View Answer
|
|
Which data dictionary view can be queried to see the OPTIMAL value for a rollback segment?
A. DBA_ROLLBACK_SEGS B. V$ROLLSTAT C. DBA_SEGMENTS D. V$ROLLNAME
|
View Answer
|
|
What is the default value of PCTFREE?
|
View Answer
|
|
How can you fix the MAXEXTENTS reached error for a rollback segment?
|
View Answer
|
|
What type of rollback segment is used if a tablespace containing an active transactions taken offline?
|
View Answer
|
|
When does Oracle stop adding rows to a block?
|
View Answer
|
|
Which portion of the data block stores information about the table having rows in this block?
|
View Answer
|
|
What is the minimum number of extents a rollback segment can have?
|
View Answer
|
|
Which data dictionary view would you query to see the free extents in a tablespace?
|
View Answer
|
|
6. Choose the statement used to manually de-allocate the extents used by a rollback segment. A. ALTER ROLLBACK SEGMENT R01 DEALLOCATE; B. ALTER ROLLBACK SEGMENT RO1 DROP EXTENTS; C. ALTER ROLLBACK SEGMENT RO1 SHRINK; D. ALTER ROLLBACK SEGMENT RO1 SIZE 10K.
|
View Answer
|
|
5. Which storage parameter is applicable only to rollback segments? A. PCTINCREASE B. MAXEXTENTS C. TRANASACTIONS D. None of the above.
|
View Answer
|
|
What happens if you create a rollback segment in the same tablespace where application data is stored? Choose the best answer. A. The tablespace will be fragmented. B. Performance improves, because when changes are made, undo information can be written to the same tablespace. C. There should be a minimum of two data files associated with the tablespaces when rollback segments are created. D. None of the above is true.
|
View Answer
|
|
Which parameter specifies the number of transaction slots in a data block?
|
View Answer
|
|
When a table is updated, where is the before image information (which can be used for undoing the changes) stored?
|
View Answer
|
|
Place the following logical storage structures in order-from the smallest logical storage unit to the largest. A. Segment B. Block C. Tablespace D. Extent
|
View Answer
|
|
19. If you issue ALTER TABLESPACE USERS OFFLINE IMMEDIATE, which of the following statements is true? A. All data files belonging to the tablespace must be online. B. Does not ensure that the data files are available. C. Need not doe media recovery when bringing the tablespace online. D. Need to do media recovery when bringing the tablespace online.
|
View Answer
|
|
How would you determine how much sort space is used by a user session?
|
View Answer
|
|
Which parameter specified in the DEFAULT STORAGE clause of CREATE TABLESPACE cannot be altered after creating the tablespace?
|
View Answer
|