SpinTheMic
Pro

Interview practice question

ETL job blocked by a lock

Data Engineering · Redshift · Beginner

An ETL job hangs while trying to truncate a table. What might be happening?

What a strong answer covers

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

  • Another session holds a lock on the table.
  • Long-running queries or open transactions block DDL like TRUNCATE.
  • Check lock and transaction system views.
  • Terminate blocking sessions if appropriate.
  • Keep transactions short and avoid idle open transactions.
Practise this topic

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

See all topics