Difficulty: Easy
Correct Answer: first step
Explanation:
Introduction:
When you inherit a database, you must quickly understand its scale and shape. A disciplined assessment follows a simple sequence: size, shape, and semantics. Counting rows is a rapid indicator of scale and is therefore among the first things professionals do.
Given Data / Assumptions:
Concept / Approach:
Initial triage typically includes: (1) row counts per table; (2) column lists and data types; (3) basic distinct counts for key attributes; (4) foreign key presence and orphan checks. Counting rows first sets expectations for query cost and data volume, guiding the rest of the profiling effort.
Step-by-Step Solution:
1) Run COUNT(*) per table to gauge size.2) Inspect schemas and datatypes to understand structure.3) Profile uniqueness, nulls, and distinct values.4) Examine relationships and constraints for integrity.
Verification / Alternative check:
Most profiling playbooks begin with inventory and cardinality, confirming row counting as a first step for scoping and resource planning.
Why Other Options Are Wrong:
Common Pitfalls:
Jumping into complex transformations without first understanding table sizes, leading to timeouts or unscalable scripts.
Final Answer:
first step
Discussion & Comments