QuestionQ151

VerifiedManage Database Performance

In a database that supports an OLTP workload, tables are updated frequently on both key and non-key columns.

Reports are also produced by joining multiple tables.

Which table organization or type would offer the best performance for this hybrid workload?

Explanation

Table clusters can improve joins by storing related rows together, but they are generally not appropriate for frequently updated tables. Updating a cluster key can require Oracle Database to migrate the row to preserve cluster placement. Hash clusters are intended for tables queried much more often than they are modified. A heap table with a primary-key index avoids this clustering maintenance while providing efficient keyed access for the OLTP workload.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!