which of the following can you use Segment Shrink?

For which of the following can you use Segment Shrink? (Choose all that apply.)

For which of the following can you use Segment Shrink? (Choose all that apply.)

A.
Heap tables

B.
Tables with function-based indexes

C.
Indexes

D.
Partitions and subpartitions

E.
None of the above



Leave a Reply 3

Your email address will not be published. Required fields are marked *


Jake from SF

Jake from SF

A,C and D are correct:

https://docs.oracle.com/cd/B28359_01/server.111/b28310/schema003.htm

Shrink operations can be performed only on segments in locally managed tablespaces with automatic segment space management (ASSM). Within an ASSM tablespace, all segment types are eligible for online segment shrink except these:

-IOT mapping tables
-Tables with rowid based materialized views
-Tables with function-based indexes
-SECUREFILE LOBs

You can shrink space in a table, index-organized table, index, partition, subpartition, materialized view, or materialized view log. You do this using ALTER TABLE, ALTER INDEX, ALTER MATERIALIZED VIEW, or ALTER MATERIALIZED VIEW LOG statement with the SHRINK SPACE clause.

Jake from SF

Jake from SF

C would actually be correct if it were an Index Organized Table.

M2

M2

Is is also correct for an index. 🙂