053第256题

256.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.

Answer: C

You specify table compression with the COMPRESS clause
of the CREATE TABLE statement.
You can enable compression for an existing table by using these clauses in an ALTER TABLE statement.
In this case, only data that is inserted or updated after compression is enabled is compressed. Similarly, you can disable table compression for an existing compressed table with the ALTER TABLE...NOCOMPRESS statement.
In this case, all data that was already compressed remains compressed, and new data is inserted uncompressed.

版权声明:本文为博主原创文章,未经博主允许不得转载。

时间: 2024-08-26 19:34:02

053第256题的相关文章

053第383题

383.At the request of a user, you issue the following command to restore a dropped table: flashback table "BIN$F2JFfMq8Q5unbC0ceE9eJg==$0" to before drop; Later, the user notifies you that the data in the table seems to be very old and out of da

053第246题

246.The OPTIMIZER_USE_PLAN_BASELINES parameter is set to TRUE. The optimizer generates a plan for a SQL statement but does not find a matching plan in the SQL plan baseline. Which two operations are performed by the optimizer in this scenario? (Choos

053第170题

170.ASM supports all but which of the following file types? (Choose all that apply.) A. Database files B. Spfiles C. Redo-log files D. Archived log files E. RMAN backup sets F. Password files G. init.ora files Answer: FG Files that are stored in Orac

053第455题

455.When a job exceeds the date specified in its END_DATE attribute, which of the following will happen? (Choose all that apply.) A. The job will be dropped automatically if the value of the AUTO_DROP attribute is TRUE. B. The job will only be disabl

053第502题

502.A database is running In ARCHIVBXXMS mode. It has two online redo log groups and each group has one member. A LGWR Input/output (I/O) fells due to permanent media failure that has resulted In the loss of redo log file and the LWGR terminates caus

053第423题

423.Which of the following describes how a distributed resumable transaction behaves? A. The resumable setting on the initiating session determines the resumable conditions for the entire distributed transaction. B. The resumable setting for the init

053第85题

85.You executed the following command to drop a user: DROP USER scott CASCADE; Which two statements regarding the above command are correct? (Choose two.) A. All the objects of scott are moved to the Recycle Bin. B. Any objects in the Recycle Bin bel

053 第561题

561.If you issue the command shutdown abort prior to trying to put the database in ARCHIVELOG mode, what will be the result when you issue the command alter database archivelog? A. The alter database archivelog command will fail. B. The alter databas

053第42题

42.You plan to use SQL Performance Analyzer to analyze the SQL workload. You created a SQL Tuning Set as a part of the workload capturing. What information is captured as part of this process? (Choose all that apply.) A. the SQL text B. the execution