If a query takes 20 minutes to run and the warehouse auto-suspends after 15 minutes, what happens?

Master the SnowPro Advanced Architect Test with flashcards, multiple-choice questions, and detailed explanations. Prepare thoroughly for your certification!

Multiple Choice

If a query takes 20 minutes to run and the warehouse auto-suspends after 15 minutes, what happens?

Explanation:
The important idea here is that auto-suspend happens during idle time, not while work is actively being done. If a query is running, the warehouse stays active—the idle timer is reset by ongoing work. So even though the auto-suspend threshold is 15 minutes, it won’t trigger while that 20-minute query is executing. The query will run to completion, and only after it finishes will the warehouse become idle and suspend according to its idle timeout. In short, long-running queries prevent auto-suspend; the query finishes as expected, and the warehouse will suspend afterward if there are no new queries.

The important idea here is that auto-suspend happens during idle time, not while work is actively being done. If a query is running, the warehouse stays active—the idle timer is reset by ongoing work. So even though the auto-suspend threshold is 15 minutes, it won’t trigger while that 20-minute query is executing. The query will run to completion, and only after it finishes will the warehouse become idle and suspend according to its idle timeout.

In short, long-running queries prevent auto-suspend; the query finishes as expected, and the warehouse will suspend afterward if there are no new queries.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy