AvocadoRivalry
AvocadoRivalry

Reputation: 411

Redshift Drop Table Stuck

I have a cronjob that is kicked off every night that involves building up a temporary table, dropping the current table on Redshift, and swapping in the temporary table for the old one. More than half of the time, this specific job gets stuck when dropping the existing table and behaving as if there is some pending transaction that is stopping the drop from going through.

This is just one of dozens of jobs that uses the exact same script to run overnight, none of which have ever had this issue; however, there are a few minor differences:

In addition to the fact that I have never seen this on any other job, this issue has been extremely difficult to troubleshoot for the following reasons:

Any help in figuring out what exactly is going on here would be greatly appreciated!

Upvotes: 2

Views: 3925

Answers (1)

Obadah Meslmani
Obadah Meslmani

Reputation: 339

I faced the same problem, I just rebot RS then it works again normally.

Upvotes: 2

Related Questions