<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal>Hello everyone.   I was looking through the archives and
came across the following.  It looks like we are having the same problem and I
was wondering if a solution was ever found.<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>Thanks in advance,<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>Kenny Seever<o:p></o:p></p>

<p class=MsoNormal>Innovative Networks, Inc.<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>Original Message…:<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:black'>Hi all, <br>
<br>
<br>
<br>
I managed to track down a problem with merged tickets being <b><span
style='background:#FFAAAA'>slow</span></b> to <br>
display. I have enabled the <b><span style='background:#FFAAAA'>slow</span></b>
queries log on Mysql (5.0.51a) and get <br>
the following in the log files. I searched over the RT list archives and <br>
I found note of setting low_priority_updates to <b><span style='background:
#AAFFAA'>1</span></b> on mysql for this. <br>
This however makes no difference. Does someone perhaps have an answer <br>
for this problem? <br>
<br>
<br>
<br>
The server is a test setup I made to test the migration of <b><span
style='background:#FFFF80'>3</span></b>.6.6 RT <br>
installation to <b><span style='background:#FFFF80'>3</span></b>.<b><span
style='background:#AAAAFF'>8</span></b>.<b><span style='background:#AAFFAA'>1</span></b>.
The problem was there in <b><span style='background:#FFFF80'>3</span></b>.6.6
when I imported <br>
the production database from a mysql dump the production server also <br>
running rt <b><span style='background:#FFFF80'>3</span></b>.6.6 is fine (not <b><span
style='background:#FFAAAA'>slow</span></b> on merged tickets). The difference <br>
between the systems is that the production server is a Redhat Enterprise <br>
4 server (MySQL-server-community-5.0.51a-0.rhel4) and the test system is <br>
a newer Fedora 9 (mysql-server-5.0.51a-<b><span style='background:#AAFFAA'>1</span></b>.fc9).
The fedora 9 installation <br>
installed all required modules from CPAN during installation. After <br>
migrating it to <b><span style='background:#FFFF80'>3</span></b>.<b><span
style='background:#AAAAFF'>8</span></b>.<b><span style='background:#AAFFAA'>1</span></b>
the problem remains. It looks like it slightly <br>
faster but not much. Database has been updated from mysql 4.0 to 4.<b><span
style='background:#AAFFAA'>1</span></b> <br>
followed by the database update script. All is working fine accept for <br>
the <b><span style='background:#FFAAAA'>slow</span></b> queries on merged
tickets and the GET_LOCK reports in the <b><span style='background:#FFAAAA'>slow</span></b>
<br>
query log. <br>
<br>
<br>
<br>
I've cleared the session table. This currently makes no difference. It <br>
had about 1100 records in it before I cleared it. <br>
<br>
<br>
<br>
Regards, <br>
<br>
<br>
<br>
Ton Hoogstraten <br>
<br>
<br>
<br>
SELECT GET_LOCK('Apache-Session-7dee36ca13e864c568b1659d2fa18751', <br>
3600); <br>
<br>
</span><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:#660066'># Time: 080822 14:36:01 <br>
</span><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:black'><br>
</span><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:#660066'># User[at]Host: rt[rt] @ localhost [] <br>
</span><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:black'><br>
</span><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:#660066'># Query_time: 110 Lock_time: 0 Rows_sent: </span><b><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:black;
background:#AAFFAA'>1</span></b><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:#660066'> Rows_examined: 0 <br>
</span><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:black'><br>
SELECT GET_LOCK('Apache-Session-a196db0f41ab721840dba0b78f2dd36e', <br>
3600); <br>
<br>
</span><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:#660066'># User[at]Host: rt[rt] @ localhost [] <br>
</span><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:black'><br>
</span><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:#660066'># Query_time: 80 Lock_time: 0 Rows_sent: </span><b><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:black;
background:#AAFFAA'>1</span></b><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:#660066'> Rows_examined: 0 <br>
</span><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:black'><br>
SELECT GET_LOCK('Apache-Session-a196db0f41ab721840dba0b78f2dd36e', <br>
3600);</span><o:p></o:p></p>

</div>

</body>

</html>