单选题You executed the following SQL statement to shrink the EMPLOYEES table segment stored in the EXAMPLE tablespace: ALTER TABLE employees SHRINK SPACE CASCADE; Which statement is correct in this scenario?()A The data in the segment will be compacted but t

题目
单选题
You executed the following SQL statement to shrink the EMPLOYEES table segment stored in the EXAMPLE tablespace: ALTER TABLE employees SHRINK SPACE CASCADE; Which statement is correct in this scenario?()
A

The data in the segment will be compacted but the high water mark will not be adjusted 

B

The EMPLOYEES table will be changed to read-only mode during the shrink operation 

C

The indexes created on the EMPLOYEES table will need to be rebuilt after the shrink operation is over

D

The shrink behavior will be cascaded to all dependent segments of the table that support a shrink operation 

E

Data manipulation language (DML) operations will not be possible on the EMPLOYEES table during the COMPACTION phase of the shrink operation

如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

You are shrinking the SCOTT.EMP table by executing the ALTER TABLE SCOTT.EMP SHRINK SPACE CASCADE statement. What is a prerequisite for shrinking the SCOTT.EMP table?()

  • A、 You must enable the block change tracking feature.
  • B、 You must have enable the flashback feature.
  • C、 You must use the OMF in your database.
  • D、 You must define the tablespace of the SCOTT.EMP table for automatic segment space management.

正确答案:D

第2题:

You created the DEPT table by using the following command:   CREATE TABLE scott.dept   (deptno NUMBER(3),   dname VARCHAR2(15),   loc VARCHAR2(15) )   STORAGE (INITIAL 100K NEXT 50K  MAXEXTENTS 10 PCTINCREASE 5  FREELIST GROUPS 6 FREELISTS 4);You are required to shrink the DEPT table. While performing the shrink operation, you want to ensure that the recovered space is returned to the tablespace in which the DEPT table is stored. You do not want to shrink the indexes created on the DEPT table. What will you do to shrink the SCOTT.EMP table?()

  • A、 Issue the ALTER TABLE SCOTT.DEPT SHRINK SPACE COMPACT; statement.
  • B、 Issue the ALTER TABLE SCOTT.DEPT SHRINK SPACE; statement.
  • C、 Issue the ALTER TABLE SCOTT.DEPT SHRINK SPACE CASCADE; statement.
  • D、 You cannot shrink the SCOTT.EMP table.

正确答案:D

第3题:

View the exhibit and examine the TRANS table‘s storage information.After a massive delete operation, you executed the following statement to shrink the TRANS table:SQL> ALTER TABLE trans SHRINK SPACE CASCADE;Which statement describes the outcome of the command?()

A. An error is produced.

B. The table and all related objects are compacted and the position of the high-water mark (HWM) for the table is adjusted

C. The table and related indexes are compacted but the position of the high-water mark (HWM) for the table remains unchanged

D. The unused space in the table is reclaimed and returned to the tablespace and the data manipulation language (DML) triggers on the table are fired during the shrinking process


参考答案:B

第4题:

You use the segment advisor to help determine objects for which space may be reclaimed. Which three statements are true about the advisor given by the segment advisor?()

  • A、It may advise the use of online table redefinition for tables in dictionary managed tablespace.
  • B、It may advise the use of segment shrink for tables in dictionary managed tablespaces it the no chained rows.
  • C、It may advise the use of online table redefinition for tables in locally managed tablespaces
  • D、It will detect and advise about chained rows.
  • E、It may advise the use of segment shrink for free list managed tables.

正确答案:B,C,D

第5题:

When shrinking a table segment, you choose to shrink all the indexes for that table using the SHRINK SPACE command. Which clause should you use?()

  • A、 INCLUDING DEPENDENCIES
  • B、 INCLUDING DEPENDENCIES CASCADE
  • C、 COMPACT
  • D、 CASCADE
  • E、 None of the above

正确答案:D

第6题:

Examine the following commands executed in your database: SQL> ALTER SESSION RECYCLEBIN=ON; Session altered  SQL> CREATE TABLE emp TABLESPACE tbsfd AS SELECT * FROM hr.employees;  Table created.  Further, you executed the following command to drop the table:  SQL> DROP TABLE emp; Table dropped.  What happens in this scenario? ()

  • A、The table is moved to the SYSAUX tablespace.
  • B、The table is moved to the SYSTEM tablespace.
  • C、The table is removed from the database permanently.
  • D、The table is renamed and remains in the TBSFD tablespace.

正确答案:D

第7题:

In one of your online transaction processing (OLTP) applications, users are manipulating and querying a database table simultaneously. From the Segment Advisor, you find that one of the tables is highly fragmented and you want to shrink the table immediately without affecting the currently active queries.  Which option would you use with the ALTER TABLE command to achieve this objective?()

  • A、REBUILD
  • B、CASCADE
  • C、TRUNCATE
  • D、ROW MOVEMENT
  • E、SHRINK SPACE COMPACT
  • F、SHRINK SPACE CASCADE

正确答案:E

第8题:

Examine the following command:SQL> ALTER TABLE booking SHRINK SPACE COMPACT;Which activity is performed when the preceding command is executed?()

A. The shrink operation touches every block in the BOOKING table

B. The high-water mark (HWM) for the BOOKING table is shifted from its original position

C. The progress of the shrink operation is saved in the bitmap blocks of the BOOKING table

D. The data manipulation language (DML) triggers on the BOOKING table are executed because the shrink operation is internally handled by the INSERT/DELETE operation


参考答案:C

第9题:

Examine the following command:   SQL> ALTER TABLE booking SHRINK SPACE COMPACT;   Which activity is performed when the preceding command is executed?()

  • A、 The shrink operation touches every block in the BOOKING table
  • B、 The high-water mark (HWM) for the BOOKING table is shifted from its original position
  • C、 The progress of the shrink operation is saved in the bitmap blocks of the BOOKING table
  • D、 The data manipulation language (DML) triggers on the BOOKING table are executed because the shrink operation is internally handled by the INSERT/DELETE operation

正确答案:C

第10题:

You work as a database administrator for Certkiller .com. Because of space constraints, you decided to manually shrink the table. You executed the ALTER TABLE ....SHRINK SPACE statement to shrink the space and you receive an error as follows:  ERROR at Line 1:  ORA-10635: Invalid segment ortablespacetype What could be the reason?()

  • A、The table is partitioned
  • B、The table name is wrong.
  • C、It is an index-Organized table (IOT)
  • D、The table is stored in locally managedtablespace.
  • E、The table is stored in atablespacewhere segment space is managed manually.

正确答案:E

更多相关问题