TBS2
第1题:
The materialized view should have a complete refresh performed after the online table redefinition is completed.
The materialized view should have a fast refresh performed after the online table redefinition is completed.
The materialized view,materialized log,and the index should be dropped and re-created after the online table redefinition is complete.
The materialized view and materialized log should be dropped and all constraints disabled and re-created after the online table redefinition is complete.
第2题:
You need to create a partitioned table to store historical data and you issued the following command: CREATE TABLE purchase_interval PARTITION BY RANGE (time_id) INTERVAL (NUMTOYMINTERVAL(1,’month’)) STORE IN (tbs1,tbs2,tbs3) ( PARTITION p1 VALUES LESS THAN(TO_DATE(’1-1-2005’, ’dd-mm-yyyy’)), PARTITION p2 VALUES LESS THAN(TO_DATE(’1-1- 2007’, ’dd-mm-yyyy’))) AS SELECT * FROM purchases WHERE time_id < TO_DATE(’1-1-2007’,’dd-mm-yyyy’); What is the outcome of the above command?()
第3题:
Youneedtocreateapartitionedtabletostorehistoricaldataandyouissuedthefollowingcommand:CREATETABLEpurchase_intervalPARTITIONBYRANGE(time_id)INTERVAL(NUMTOYMINTERVAL(1,’month’))STOREIN(tbs1,tbs2,tbs3)(PARTITIONp1VALUESLESSTHAN(TO_DATE(’1-1-2005’,’dd-mm-yyyy’)),PARTITIONp2VALUESLESSTHAN(TO_DATE(’1-1-2007’,’dd-mm-yyyy’)))ASSELECT*FROMpurchasesWHEREtime_id<TO_DATE(’1-1-2007’,’dd-mm-yyyy’);Whatistheoutcomeoftheabovecommand?()
A.ItreturnsanerrorbecausetherangepartitionsP1andP2shouldbeofthesamerange.
B.Itcreatestworangepartitions(P1,P2).Withineachrangepartition,itcreatesmonthwisesubpartitions.
C.Itcreatestworangepartitionsofvaryingrange.Fordatabeyond’1-1-2007,’itcreatespartitionswithawidthofonemontheach.
D.Itreturnsanerrorbecausethenumberoftablespaces(TBS1,TBS2,TBS3)specifieddoesnotmatchthenumberofrangepartitions(P1,P2)specified.