FALSE:
F.Contrary to the claim, the SHRINK operation moves rows to empty space starting from the beginning of the segment, not toward the end.
E: If you specify COMPACT, then Oracle Database only defragments the segment space and compacts the table rows for subsequent release. The database does not readjust the high water mark and does not release the space immediately. You must issue another ALTER TABLE ... SHRINK SPACE statement later to complete the operation. This clause is useful if you want to accomplish the shrink operation in two shorter steps rather than one longer step.
i go for AB also.
Correct answers are B and F, because rows are moved up and free space goes down. For COMPACT clause, watermarks are not updated. DML and queries are both supported in this "phase".
A: TRUE; It wouldn´t make sense if the data were filled from the end of segment, because it could remain some empty space after shrinking. Data are moved to empty space to use maximum of empty space. I could not find any proof in the documentation. If anyone find it, feel free and post it here.
B: TRUE, https://docs.oracle.com/en/database/oracle/oracle-database/19/admin/managing-space-for-schema-objects.html#GUID-37DF35E0-116B-4AAB-BFB3-DDBDBAB29BEB DML operations and queries can be issued during the data movement phase of segment shrink.
C: FALSE, same URL as B, Indexes are maintained during the shrink operation and remain usable after the operation is complete.
D: FALSE, also DML is allowed, see B
E: FALSE; https://docs.oracle.com/en/database/oracle/oracle-database/19/sqlrf/ALTER-TABLE.html#GUID-552E7373-BF93-477D-9DA3-B2C9386F2877
F: FALSE; opposite to A
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
psycrotic5
1 week agoauwia
5 months, 1 week agonautil2
6 months, 3 weeks agoRaNik69
7 months, 2 weeks agopiontk
9 months agoahmadkrishan
9 months ago