SpinTheMic
Pro

Interview practice question

Explaining fast second runs

Data Engineering · Snowflake · Beginner

A manager asks why the same report took 40 seconds the first time and 1 second the second time. How do you explain it?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • The second run likely hit the result cache in the services layer.
  • Result cache works when query text is identical and data hasn't changed.
  • Some functions like CURRENT_TIMESTAMP prevent result reuse.
  • If not result cache, the warehouse SSD cache may have helped.
  • Performance tests should disable result cache with USE_CACHED_RESULT = FALSE.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics