Jump to content

SQL people need help


amazon

Recommended Posts

24 minutes ago, amazon said:

**Deadlock/sec on application in critical**

how to resolve this? How to get it to normal?

more details post man. google talli yem antundhi ?

Link to comment
Share on other sites

2 minutes ago, amazon said:

Oka application paina, component deadlocks/sec critical undi adi ela normal ki tesukaravali, ela troubleshoot cheyali. 

dba ni reach avu .. table lock aithe vaallu resolve chestharu .. locks clear chestharu

Link to comment
Share on other sites

Check your application code and fix it.

The reason for the deadlock situation arises when there is a table level lock and at the same time interval if some other process is trying to update same rows in the table, deadlock situation arises.

Ask the developers to review theri code and fix it.

DBA can only kill the locks on the table temporarily, but the problem will come back again if the application logic is not corrected.

 

Link to comment
Share on other sites

Just now, tywinn_lannister said:

Check your application code and fix it.

The reason for the deadlock situation arises when there is a table level lock and at the same time interval if some other process is trying to update same rows in the table, deadlock situation arises.

Ask the developers to review theri code and fix it.

DBA can only kill the locks on the table temporaroly, but the problem will come back again if the applicaiton logic is not corrected.

 

+1 true.. row level lock occurs when different sessions trying to read and modify the same row at same time.. so ilanti situations rakunda chuskovali

Link to comment
Share on other sites

6 minutes ago, tywinn_lannister said:

Check your application code and fix it.

The reason for the deadlock situation arises when there is a table level lock and at the same time interval if some other process is trying to update same rows in the table, deadlock situation arises.

Ask the developers to review theri code and fix it.

DBA can only kill the locks on the table temporarily, but the problem will come back again if the application logic is not corrected.

 

Have you got this kind of issue befor?

Link to comment
Share on other sites

Nenu anukuntunna deadlocks/sec antay it calculates application usage anukuntunna. Same like windows servers lo performance monitor schedule chesi konni counters ki performance calculate chestam kada like pages/sec ala anukunna. 

But replies are complete different... 

 

Link to comment
Share on other sites

30 minutes ago, tywinn_lannister said:

Check your application code and fix it.

The reason for the deadlock situation arises when there is a table level lock and at the same time interval if some other process is trying to update same rows in the table, deadlock situation arises.

Ask the developers to review theri code and fix it.

DBA can only kill the locks on the table temporarily, but the problem will come back again if the application logic is not corrected.

 

+1 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...