Difficulty: Medium
Correct Answer: The number of columns in the table, independent of their widths and usage.
Explanation:
Introduction / Context:
DBMSs let you choose a page size (e.g., 4 KB, 8 KB, 16 KB). Larger pages can improve sequential throughput but may increase random-read latency and contention. This question separates signal (row length, contention, access pattern) from noise (column count alone).
Given Data / Assumptions:
Concept / Approach:
Decisions should hinge on row size, expected scan vs lookup ratios, and observed contention. The raw count of columns is not meaningful by itself; widths, nullability, and access patterns matter far more than the mere number of attributes.
Step-by-Step Solution:
Verification / Alternative check:
Vendor tuning guides focus on row width, access patterns, and concurrency. Column count is at best a proxy for width and is not decisive independently.
Why Other Options Are Wrong:
Common Pitfalls:
Final Answer:
The number of columns in the table, independent of their widths and usage.
Discussion & Comments