QuestionQ71Verified/Managing StorageCopy linkReport a problemAsk AstroTutorSave questionWhich two statements are true about shrinking a segment online?Choose twoAIt is not possible to shrink either indexes or Index Organized Tables (IOTs)BIt always eliminates all migrated rows if any exist in the tableCTo shrink a table it must have a PRIMARY KEY constraintDTo shrink a table it must have a UNIQUE KEY constraintETo shrink a table it must have row movement enabledFIt must be in a tablespace that uses Automatic Segment Space Management (ASSM)Show AnswerAnswerExplanationOnline segment shrink is valid only for segments in tablespaces that use Automatic Segment Space Management (ASSM). Shrinking a table compacts data by moving rows to new locations, so row movement must be enabled for the object before the shrink operation.Learn moreOracle Database SQL Language Reference — ALTER TABLEOracle Database Administrator's Guide — Managing Space for Schema ObjectsShow comments4Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion