Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Debugging with innodb_lock_monitor
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
DRivard  
View profile  
 More options Sep 27 2012, 12:12 pm
From: DRivard <dominick.riv...@gmail.com>
Date: Thu, 27 Sep 2012 09:12:18 -0700 (PDT)
Local: Thurs, Sep 27 2012 12:12 pm
Subject: Debugging with innodb_lock_monitor

Hi,

I would like to know if there is a way to get the innodb_lock_monitor
enabled on a galera cluster.
I followed the instructions about creating the required table.

CREATE TABLE innodb_lock_monitor (a INT) ENGINE=INNODB;

on the MySQL database, and when I run the query

SHOW ENGINE INNODB STATUS\G

The section about the deadlock doesn't appears.
The thing is that just before running the innodb status I performed a query
that was returning a deadlock so it should contain some information but it
doesn't.
I also tried to create the innodb_lock_monitor on the database I was
getting the deadlocks but I didn't get much informations.

do you know a way to get this activated?

Best,
Dominick


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
seppo.jaak...@codership.com  
View profile  
 More options Sep 27 2012, 1:14 pm
From: seppo.jaak...@codership.com
Date: Thu, 27 Sep 2012 20:13:43 +0300
Local: Thurs, Sep 27 2012 1:13 pm
Subject: Re: [codership-team] Debugging with innodb_lock_monitor
There are two kinds of deadlocks:

* natural InnoDB deadlocks, that would happen with single MySQL server
* cluster conflicts, which are caused by simultaneous writes to same
   data elements in separate cluster nodes.

Only natural InnoDB deadlocks are logged in INNODB STATUS output.

Currently there is not much diagnostics from cluster conflicts. Only  
way to monitor them in more detail is by enabling wsrep_debug. However  
that will cause other superfluous log messages. We are working on ways  
to improve cluster conflict diagnostics. First step in this is to add  
new variable: wsrep_log_conflicts, which will enable cluster conflict  
reporting in mysql error log. We will probably get this feature for  
the next 2.2 release.

wsrep_retry_autocommit can be tried to help with deadlocks, if  
application cannot deal with deadlock errors.

-seppo

Quoting DRivard <dominick.riv...@gmail.com>:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Laurent MINOST  
View profile  
 More options Sep 28 2012, 4:13 am
From: Laurent MINOST <lolo...@gmail.com>
Date: Fri, 28 Sep 2012 01:13:42 -0700 (PDT)
Local: Fri, Sep 28 2012 4:13 am
Subject: Re: [codership-team] Debugging with innodb_lock_monitor

Hi Seppo,

Do you have an ETA for the next 2.2 release and a list of changes please ?

Regards,

Laurent

Le jeudi 27 septembre 2012 19:14:03 UTC+2, Seppo Jaakola a écrit :


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »