1Z0-062 · Question #330
You want to create a table, DAILY_ORDERS, for an OLTP application, where data should be compressed during both direct path INSERT and conventional DML. The table will also be used for queries. Which…
The correct answer is D. ROW STORE COMPRESS ADVANCED. For an OLTP application that requires data compression during both direct path inserts and conventional DML, the ROW STORE COMPRESS ADVANCED option is the appropriate choice. This compression method is optimized for transactional workloads and applies to all types of data…
Question
You want to create a table, DAILY_ORDERS, for an OLTP application, where data should be compressed during both direct path INSERT and conventional DML. The table will also be used for queries. Which compression option should be used?
Options
- AROW STORE COMPRESS
- BCOLUMN STORE COMPRESS FOR QUERY
- CCOLUMN STORE COMPRESS FOR ARCHIVE LOW
- DROW STORE COMPRESS ADVANCED
How the community answered
(44 responses)- A5% (2)
- B9% (4)
- C2% (1)
- D84% (37)
Why each option
For an OLTP application that requires data compression during both direct path inserts and conventional DML, the ROW STORE COMPRESS ADVANCED option is the appropriate choice. This compression method is optimized for transactional workloads and applies to all types of data manipulation operations.
ROW STORE COMPRESS (referring to Basic Row Compression) only compresses data during direct path insert operations or when using CREATE TABLE AS SELECT, not during conventional DML.
COLUMN STORE COMPRESS FOR QUERY is primarily for data warehousing (OLAP) environments and compresses data upon direct path loading, not for conventional DML, focusing on query performance over transactional operations.
COLUMN STORE COMPRESS FOR ARCHIVE LOW is an OLAP compression option intended for maximum compression of archival data that is infrequently accessed, making it unsuitable for active OLTP tables with frequent DML.
ROW STORE COMPRESS ADVANCED, also known as Advanced Row Compression, is specifically designed for OLTP environments. It provides good compression ratios for all DML operations, including conventional inserts, updates, and deletes, as well as direct path inserts, ensuring that data is compressed while maintaining efficient performance for transactional workloads and queries.
Concept tested: Oracle table compression for OLTP DML
Source: https://docs.oracle.com/en/database/oracle/oracle-database/23/admin/managing-tables.html#GUID-6F09439D-3720-410E-910B-30691530E8D7
Topics
Community Discussion
No community discussion yet for this question.