单选题Sales details are being stored on a daily basis in the SALES_2007 table. A large amount of data is added to the table daily. To save disk space, you issued the following command: ALTER TABLE sales_2007 COMPRESS FOR ALL OPERATIONS; What would be the out

题目
单选题
Sales details are being stored on a daily basis in the SALES_2007 table. A large amount of data is added to the table daily. To save disk space, you issued the following command: ALTER TABLE sales_2007 COMPRESS FOR ALL OPERATIONS; What would be the outcome of this command?()
A

It produces an error because data already exists in the table.

B

It produces an error because compression can be enabled at table creation only.

C

It compresses all data added or modified henceforth but the existing data in the table is not compressed immediately.

D

It immediately compresses all existing data as well as new data, resulting from either fresh additions or modifications to existing data.


相似考题
参考答案和解析
正确答案: C
解析: 暂无解析
更多“单选题Sales details are being stored on a daily basis in the SALES_2007 table. A large amount of data is added to the table daily. To save disk space, you issued the following command: ALTER TABLE sales_2007 COMPRESS FOR ALL OPERATIONS; What would be the out”相关问题
  • 第1题:

    You just issued the following statement: ALTER TABLE SALES DROP COLUMN PROFIT. Which of the following choices identifies when the column will actually be removed from Oracle?()

    • A、Immediately following statement execution 
    • B、After the ALTER TABLE DROP UNUSED COLUMNS command is issued 
    • C、After the ALTER TABLE SET UNUSED COLUMN command is issued 
    • D、After the ALTER TABLE MODIFY command is issued

    正确答案:B

  • 第2题:

    You suspect unauthorized data manipulation language (DML) operations on a particular table. You want to track users who are performing the transactions and the values used in the transactions. Also, you plan to transfer these values to another table for analysis.  How would you achieve this?()

    • A、by using triggers
    • B、by using external tables
    • C、by using anonymous PL/SQL blocks
    • D、by auditing all DML operations on the table

    正确答案:A

  • 第3题:

    You issued the following command to drop the PRODUCTS table: SQL> DROP TABLE products; What is the implication of this command?()

    • A、All data along with the table structure is deleted 
    • B、The pending transaction in the session is committed 
    • C、All indexes on the table will remain but they are invalidated 
    • D、All views and synonyms will remain but they are invalidated 
    • E、All data in the table are deleted but the table structure will remain

    正确答案:A,B,D

  • 第4题:

    Sales details are being stored on a daily basis in the SALES_2007 table. A large amount of data is added to the table daily. To save disk space,you issued the following command:   ALTER TABLE sales_2007 COMPRESS FOR ALL OPERATIONS;   What would be the outcome of this command?()

    • A、 It produces an error because data already exists in the table.
    • B、 It produces an error because compression can be enabled at table creation only.
    • C、 It compresses all data added or modified henceforth but the existing data in the table is not compressed immediately.
    • D、 It immediately compresses all existing data as well as new data, resulting from either fresh additions or modifications to existing data.

    正确答案:C

  • 第5题:

    The BOOKINGS table contains online booking information. When a booking is confirmed, the details are transferred to an archival table BOOKINGS_HIST and deleted from the BOOKINGS table. There is no fixed time interval between each online booking and its confirmation. Because sufficient space is not always available from the delete operations the high-water mark (HWM) is moved up and many rows are inserted below the HWM of the table. The BOOKINGS table has Automatic Segment Space Management (ASSM) and row movement enabled. The table is accessible in 24x7 mode. What is the most efficient method to reclaim the space released by the delete operations in the BOOKINGS table?()

    • A、Perform EXPORT, DROP, and IMPORT operations on the BOOKINGS table sequentially
    • B、Shrink the BOOKINGS table by using the ALTER TABLE SHRINK SPACE command
    • C、Move the BOOKINGS table to a different location by using the ALTER TABLE MOVE command
    • D、Deallocate the space in the BOOKINGS table by using the ALTER TABLE DEALLOCATE UNUSED command

    正确答案:B

  • 第6题:

    You issued the following command to mount the DATA disk group in restricted mode:   ALTER DISKGROUP data MOUNT RESTRICT;   What is the implication of this command?()

    • A、 The client RDBMS instance can access the file as a read-only file.
    • B、 A new disk cannot be added to a disk group.
    • C、 A disk in a disk group can be taken offline.
    • D、 The client RDBMS instance cannot access the files in the disk group.

    正确答案:D

  • 第7题:

    单选题
    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.


    正确答案: B
    解析: 暂无解析

  • 第8题:

    单选题
    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


    正确答案: E
    解析: 暂无解析

  • 第9题:

    单选题
    You suspect unauthorized data manipulation language (DML) operations on a particular table. You want to track users who are performing the transactions and the values used in the transactions. Also, you plan to transfer these values to another table for analysis.  How would you achieve this?()
    A

    by using triggers

    B

    by using external tables

    C

    by using anonymous PL/SQL blocks

    D

    by auditing all DML operations on the table


    正确答案: C
    解析: 暂无解析

  • 第10题:

    单选题
    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.


    正确答案: B
    解析: 暂无解析

  • 第11题:

    多选题
    You issued the following command to drop the PRODUCTS table: SQL> DROP TABLE products; What is the implication of this command?()
    A

    All data along with the table structure is deleted

    B

    The pending transaction in the session is committed

    C

    All indexes on the table will remain but they are invalidated

    D

    All views and synonyms will remain but they are invalidated

    E

    All data in the table are deleted but the table structure will remain


    正确答案: B,C
    解析: 暂无解析

  • 第12题:

    单选题
    The details of the order ID, order date, order total, and customer ID are obtained from the ORDERS table. If the order value is more than 30000, the details have to be added to the LARGEjDRDERS table. The order ID, order date, and order total should be added to the ORDERJHISTORY table, and order ID and customer ID should be added to the CUSTJHISTORY table.   Which multitable INSERT statement would you use? ()
    A

     Pivoting INSERT

    B

     Unconditional INSERT

    C

     Conditional ALL INSERT

    D

     Conditional FIRST INSERT


    正确答案: C
    解析: 暂无解析

  • 第13题:

    The details of the order ID, order date, order total, and customer ID are obtained from the ORDERS table. If the order value is more than 30000, the details have to be added to the LARGEjDRDERS table. The order ID, order date, and order total should be added to the ORDERJHISTORY table, and order ID and customer ID should be added to the CUSTJHISTORY table.   Which multitable INSERT statement would you use? ()

    • A、 Pivoting INSERT
    • B、 Unconditional INSERT
    • C、 Conditional ALL INSERT
    • D、 Conditional FIRST INSERT

    正确答案:C

  • 第14题:

    A senior DBA asked you to execute the following command to improve performance: SQL> ALTER TABLE subscribe log STORAGE (BUFFER_POOL recycle); You checked the data in the SUBSCRIBE_LOG table and found that it is a large table containing one million rows. What could be a reason for this recommendation?()

    • A、The keep pool is not configured.
    • B、Automatic Workarea Management is not configured.
    • C、Automatic Shared Memory Management is not enabled.
    • D、The data blocks in the SUBSCRIBE_LOG table are rarely accessed.
    • E、All the queries on the SUBSCRIBE_LOG table are rewritten to a materialized view

    正确答案:D

  • 第15题:

    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

  • 第16题:

    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

  • 第17题:

    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 EMPLOYEES table will be changed to read-only mode during the shrink operation.
    • B、The indexes created on the EMPLOYEES table will need to be rebuilt after the shrink operation is over.
    • C、The shrink behavior will be cascaded to all dependent segments of the table that support a shrink operation.
    • D、Data manipulation language (DML) operations will not be possible on the EMPLOYEES table during the COMPACTION phase of the shrink operation.

    正确答案:C

  • 第18题:

    单选题
    The BOOKINGS table contains online booking information. When a booking is confirmed, the details are transferred to an archival table BOOKINGS_HIST and deleted from the BOOKINGS table. There is no fixed time interval between each online booking and its confirmation. Because sufficient space is not always available from the delete operations the high-water mark (HWM) is moved up and many rows are inserted below the HWM of the table. The BOOKINGS table has Automatic Segment Space Management (ASSM) and row movement enabled. The table is accessible in 24x7 mode. What is the most efficient method to reclaim the space released by the delete operations in the BOOKINGS table?()
    A

    Perform EXPORT, DROP, and IMPORT operations on the BOOKINGS table sequentially

    B

    Shrink the BOOKINGS table by using the ALTER TABLE SHRINK SPACE command

    C

    Move the BOOKINGS table to a different location by using the ALTER TABLE MOVE command

    D

    Deallocate the space in the BOOKINGS table by using the ALTER TABLE DEALLOCATE UNUSED command


    正确答案: C
    解析: 暂无解析

  • 第19题:

    单选题
    Sales details are being stored on a daily basis in the SALES_2007 table. A large amount of data is added to the table daily. To save disk space,you issued the following command:   ALTER TABLE sales_2007 COMPRESS FOR ALL OPERATIONS;   What would be the outcome of this command?()
    A

     It produces an error because data already exists in the table.

    B

     It produces an error because compression can be enabled at table creation only.

    C

     It compresses all data added or modified henceforth but the existing data in the table is not compressed immediately.

    D

     It immediately compresses all existing data as well as new data, resulting from either fresh additions or modifications to existing data.


    正确答案: C
    解析: 暂无解析

  • 第20题:

    多选题
    A constraint in a table is defined with the INITIALLY IMMEDIATE clause. You executed the ALTER TABLE command with the ENABLE VALIDATE option to enable the constraint that was disabled. What are the two effects of this command?()
    A

    It fails if any existing row violates the constraint.

    B

    It does not validate the existing data in the table.

    C

    It enables the constraint to be enforced at the end of each transaction.

    D

    It prevents insert, update, and delete operations on the table while the constraint is in the process of being enabled.


    正确答案: C,B
    解析: 暂无解析

  • 第21题:

    单选题
    You issued the following command:   ALTER TABLE SCOTT.EMP SHRINK SPACE;   The SCOTT.EMP table is stored in the DATA1 tablespace that has the following properties:   DATA1 is a read/write tablespace.   DATA1 is not autoextensible to an unlimited size.  DATA1 is online.   Segment space management for the DATA1 tablespace is manual.   You issued the ALTER TABLE SCOTT.EMP SHRINK SPACE; command that generates the following error:   ORA-10635: Invalid segment or tablespace type    What could be the reason for the failure of the command?()
    A

     The tablespace, DATA1, is not read-only.

    B

     The tablespace, DATA1, is not autoextensible.

    C

     The tablespace, DATA1, is not offline.

    D

     The segment space management for the tablespace, DATA1, is manual.


    正确答案: A
    解析: 暂无解析

  • 第22题:

    单选题
    You are performing the shrink operation on the SCOTT.EMP table. You want to perform the same operation on all dependent objects of the SCOTT.EMP table. What is NOT a prerequisite for the operation?()
    A

     You must enable the row movement on the SCOTT.EMP table.

    B

     You must define the tablespace of the SCOTT.EMP table for automatic segment space management.

    C

     You must use the CASCADE clause in the ALTER TABLE SHRINK SPACE statement.

    D

     You must use the COMPACT clause in the ALTER TABLE SHRINK SPACE statement.


    正确答案: B
    解析: 暂无解析

  • 第23题:

    单选题
    You just issued the following statement: ALTER TABLE SALES DROP COLUMN PROFIT. Which of the following choices identifies when the column will actually be removed from Oracle?()
    A

    Immediately following statement execution 

    B

    After the ALTER TABLE DROP UNUSED COLUMNS command is issued 

    C

    After the ALTER TABLE SET UNUSED COLUMN command is issued 

    D

    After the ALTER TABLE MODIFY command is issued


    正确答案: A
    解析: 暂无解析

  • 第24题:

    单选题
    You issued the following command to mount the DATA disk group in restricted mode:   ALTER DISKGROUP data MOUNT RESTRICT;   What is the implication of this command?()
    A

     The client RDBMS instance can access the file as a read-only file.

    B

     A new disk cannot be added to a disk group.

    C

     A disk in a disk group can be taken offline.

    D

     The client RDBMS instance cannot access the files in the disk group.


    正确答案: D
    解析: 暂无解析