Hi,
We are having few jobs for 30 countries, which are running every 1 minute in every hour.
Few times job gets aborted, when trying to insert the same table.
Because of this we getting error like RDBMS code 2631: Transaction ABORTed due to deadlock.
We are using TPT Stage with Immediate Option with 1 node configuration.
From pdf manual (i.,e Connectivity guide) i got
To avoid deadlocks when the Teradata connector performs immediate writes in parallel mode, specify a partitioning method that ensures that the updates to a row come from the same partition.
Each partition uses a separate connection to the Teradata database. If multiple updates for a row do not come from the same connection, deadlocks can occur. For example, if you have a two-node configuration and you specify a round-robin partitioning method, each partition might have updates to the same row. When the first partition updates a row, the connection for the partition holds a write lock on the row until the transaction is committed at the end of the job. The second partition cannot update the row until the connection for the first partition is released, which causes a deadlock.
My Question
Since we have only one-node configuration, will the deadlock issue resolve?
Thank You,
Deadlock Issue
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Premium Member
- Posts: 892
- Joined: Thu Oct 16, 2003 5:18 am