2017-11-08 5 views
2

내가 OCA 시험에 관한 질문에 직면 한 질문은 : 세 번째 포인트 (세그먼트 공간을 축소하는 것은 nonresumable 작업입니다) 왜세그먼트 공간 축소는 복구 할 수없는 작업입니까?

Select the true statments about space managemnt: 

a. Segment creation in oracle database 12c is deffered for all tables. There are no exeptions. 
b. All UNUSABLE indexes and index partitions are created without a segment. 
c. Shrinking segments space is a nonresumable operation. 
d. You can set thresholds by tablespace. 

Answer (according to oracle book): b, d 

내가 대답이 아닌 이해할 수 없었다. 오라클 문서 https://docs.oracle.com/cd/B28359_01/server.111/b28310/schema002.htm#ADMIN11582

The resumable operation are: 

-Queries 
SELECT statements that run out of temporary space (for sort areas) are candidates for resumable execution. When using OCI, the calls OCIStmtExecute() and OCIStmtFetch() are candidates. 

-DML 
INSERT, UPDATE, and DELETE statements are candidates. The interface used to execute them does not matter; it can be OCI, SQLJ, PL/SQL, or another interface. Also, INSERT INTO...SELECT from external tables can be resumable. 

-Import/Export 
As for SQL*Loader, a command line parameter controls whether statements are resumable after recoverable errors. 

-DDL 
The following statements are candidates for resumable execution: 

CREATE TABLE ... AS SELECT 
CREATE INDEX 
ALTER INDEX ... REBUILD 
ALTER TABLE ... MOVE PARTITION 
ALTER TABLE ... SPLIT PARTITION 
ALTER INDEX ... REBUILD PARTITION 
ALTER INDEX ... SPLIT PARTITION 
CREATE MATERIALIZED VIEW 
CREATE MATERIALIZED VIEW LOG 

에 따라하는 사람이 설명해 주시겠습니까 상황은 다음과 같은 이유.

감사합니다.

+0

고맙습니다. 저의 연구 결과로'세그먼트 공간을 축소하는 것은 비가 동하는 작업입니다 .' OCA 시험 문제의 답이 잘못되었습니다. –

+1

답변을 주셔서 감사합니다. 나는 그렇게 생각했지만 혼란 스러웠던 점은 오라클 "Administration Workshop"책 안에 답변이 주어 졌음을 확신시켜야한다는 것입니다. 다시 한번 감사드립니다 @ Barbarosenzan –

답변

0

@ BarbarosÖzhan 연구에 따라, 그리고이 책은 "OCA : 비주 토마스 오라클 데이터베이스 12C 관리자 유자격 학습 가이드 ..."페이지 "1101"대답 번호 "14", 들린다 :

ALTER TABLE ... SHRINK SPACE는 새 익스텐트를 만들지 않고 다시 시작할 수 없습니다.

즉, OCA 시험 문제의 답이 잘못되었음을 나타냅니다.