Question 420
Queries filter millions of product rows by a JSON property and repeatedly scan payloads. Which technical principle BEST explains the relevant design decision?
Explanation
Correct Answer
Unindexed JSON path predicates can incur expensive row-by-row parsing. This explains why the corrective action is to evaluate supported JSON index or indexed computed-column path for that SQL platform and version. Confirm the diagnosis when the execution plan uses the chosen path access strategy and returns matching products.
Incorrect Answers
Parsing nested arrays into typed rows reduces fragile manual string extraction. The actual technical constraint is that unindexed JSON path predicates can incur expensive row-by-row parsing.
Sequence numbers can be consumed even when transactions roll back or cache is lost. The actual technical constraint is that unindexed JSON path predicates can incur expensive row-by-row parsing.
Finite ranges exhaust and enabling CYCLE without safety checks may repeat identifiers. The actual technical constraint is that unindexed JSON path predicates can incur expensive row-by-row parsing.