<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18904"></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Tahoma; COLOR: #000000">
<DIV>Hi all,</DIV>
<DIV> </DIV>
<DIV>I think it's not DB-Query problem.</DIV>
<DIV> </DIV>
<DIV>After analyzing the mysl log file it appear that the query is not constructed and sent to the database.</DIV>
<DIV> </DIV>
<DIV>Checks in 3 steps in QueryBuilder :</DIV>
<DIV> </DIV>
<DIV>1- Add the desired queue --> It work fine, query is constructed and sent to the DB</DIV>
<DIV>   QueryBuilder displays :</DIV>
<DIV>   <FONT face="Courier New">Queue = 'adi.applications'</FONT></DIV>
<DIV> </DIV>
<DIV>2- Add a first desired CF value --> It work fine, query is constructed and sent to the DB</DIV>
<DIV>
<DIV>   QueryBuilder displays :</DIV>
<DIV>   <FONT face="Courier New">Queue = 'my_queue_name'</FONT></DIV>
<DIV><FONT face="Courier New">  AND 'CF.{Impact Continuité}' LIKE 'Oui'</FONT></DIV>
<DIV> </DIV>
<DIV>3- Add a second desired CF value --> QueryBuilder froze, nothing is not sent to the DB (request is not logged)</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Horst</DIV><BR><BR>>>> Le Mardi, 6. Juillet 2010 à  17:56, Kenneth Crocker <kfcrocker@lbl.gov> a écrit :<BR></DIV>
<DIV style="BORDER-LEFT: #050505 1px solid; BACKGROUND-COLOR: #f3f3f3; MARGIN: 0px 0px 0px 15px; PADDING-LEFT: 7px">Horst,<BR><BR>Depending on how much SQL you want to see, you can see most of the select and display SQL when you click "Advanced" at the top.<BR><BR>Kenn<BR><BR>
<DIV class=gmail_quote>On Tue, Jul 6, 2010 at 6:21 AM, Horst Kriegers <SPAN dir=ltr><<A href="mailto:Horst.Kriegers@loro.ch">Horst.Kriegers@loro.ch</A>></SPAN> wrote:<BR>
<BLOCKQUOTE style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex" class=gmail_quote>
<DIV style="MARGIN: 4px 4px 1px; FONT: 10pt Tahoma; COLOR: rgb(0,0,0)">
<DIV>Hi Kenn,</DIV>
<DIV>thanks for your answer.</DIV>
<DIV></DIV>
<DIV>How can I see the QueryBuilder's executed query ?<BR></DIV>
<DIV></DIV>
<DIV>Regards,</DIV>
<DIV>Horst</DIV>
<DIV></DIV>
<DIV><BR>>>> Le Mardi, 6. Juillet 2010 à 14:57, Kenneth Marshall <<A href="mailto:ktm@rice.edu" target=_blank>ktm@rice.edu</A>> a écrit :<BR></DIV>
<DIV style="BORDER-LEFT: rgb(5,5,5) 1px solid; BACKGROUND-COLOR: rgb(243,243,243); MARGIN: 0px 0px 0px 15px; PADDING-LEFT: 7px">Hi Horst,<BR><BR>Is the query hitting the DB the same with the CLI versus<BR>QueryBuilder? Maybe you are hitting a resource limit when<BR>the request goes through the web server. Try checking the<BR>system and web server logs to see if there is any more<BR>information. If it is not generating the same query, then<BR>that will give you a place to look for a problem. Good<BR>luck. At least, there is a good consulting group available<BR>should you need some expert assistance.<BR><BR>Regards,<BR>Ken<BR><BR>On Mon, Jul 05, 2010 at 11:20:42AM +0200, Horst Kriegers wrote:<BR>> I've tried in CLI mode and have no problem.<BR>> The execution of request is quick.<BR>> <BR>> Horst<BR>> <BR>> >>> Le Lundi, 5. Juillet 2010 ?? 08:58, "Horst Kriegers"<BR>> <<A href="mailto:Horst.Kriegers@loro.ch" target=_blank>Horst.Kriegers@loro.ch</A>> a ??crit :<BR>> Hi and tanks Kenn for your answer.<BR>> <BR>> <BR>> RT_Config : Identical (not modified)<BR>> <BR>> RT_SiteConfig - Differences are minimal : <BR>> - $rtname<BR>> - $DatabasePort<BR>> - $DatabaseUser<BR>> - $DatabaseName<BR>> - $ParseNewMessageForTicketCcs<BR>> - $LogToFileNamed<BR>> - $WebPort<BR>> <BR>> And log files contains nothings special<BR>> <BR>> <BR>> This behavior seem to appear by inserting Custom Fields in the query.<BR>> <BR>> <BR>> <BR>> Any idea where can I investigate to resolve this problem ?<BR>> <BR>> <BR>> Horst<BR>> <BR>> >>> Le Mercredi, 30. Juin 2010 ?? 16:53, Kenneth Crocker<BR>> <<A href="mailto:kfcrocker@lbl.gov" target=_blank>kfcrocker@lbl.gov</A>> a ??crit :<BR>> Horst,<BR>> <BR>> What are the differences in you RT_Config and RT_SiteConfig.pm files?<BR>> <BR>> Kenn<BR>> LBNL<BR>> <BR>> On Wed, Jun 30, 2010 at 7:32 AM, Horst Kriegers<BR>> <<A href="mailto:Horst.Kriegers@loro.ch" target=_blank>Horst.Kriegers@loro.ch</A>> wrote:<BR>> <BR>> <BR>> Hi,<BR>> Suze Linux 2.6.16<BR>> RT 3.6.6<BR>> Apache 2.2.6<BR>> MySQL 5.1.45<BR>> We have 2 instances of RT:<BR>> - DEV for development<BR>> - PRD for production<BR>> A query created in RT's Query Builder on the DEV environment works<BR>> fine.<BR>> By creating the same query on the PRD environment froze until timeout<BR>> appear.<BR>> I've tried to connect the RT DEV to MySQL PRD, all works fine.<BR>> I've tried to connect the RT PRD to MySQL DEV, it froze.<BR>> I've tried to compare the both RT's directory content, all seems to be<BR>> identical.<BR>> How can I solve this probl??m ?<BR>> Many thanks in advance.<BR>> Horst<BR>> <BR>> <BR>> _______________________________________________________________________<BR>> <BR>> Le contenu de ce courriel est uniquement r??serv?? ?? la personne ou<BR>> l'organisme ?? qui il est destin??. Si vous n'??tes pas le destinataire<BR>> pr??vu, veuillez nous en informer au plus vite et d??truire le pr??sent<BR>> courriel. Dans ce cas, il ne vous est pas permis de copier ce courriel,<BR>> de le distribuer ou de l'utiliser de quelque mani??re que ce soit. <BR>> _______________________________________________________________________<BR>> <BR>> The content of this e-mail is intended only and solely for the use of<BR>> the named recipient or organisation. If you are not the named recipient,<BR>> please inform us immediately and delete the present e-mail. In this<BR>> case, you are nor allowed to copy, distribute or use this e-mail in any<BR>> way. <BR>> _______________________________________________________________________<BR>> <BR>> <BR>> <BR>> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.<BR>> Buy a copy at <A href="http://rtbook.bestpractical.com" target=_blank>http://rtbook.bestpractical.com</A> <BR>> <BR>> <BR>> <BR>> <BR>> _______________________________________________________________________<BR>> <BR>> Le contenu de ce courriel est uniquement r??serv?? ?? la personne ou<BR>> l'organisme ?? qui il est destin??. Si vous n'??tes pas le destinataire<BR>> pr??vu, veuillez nous en informer au plus vite et d??truire le pr??sent<BR>> courriel. Dans ce cas, il ne vous est pas permis de copier ce courriel,<BR>> de le distribuer ou de l'utiliser de quelque mani??re que ce soit. <BR>> _______________________________________________________________________<BR>> <BR>> The content of this e-mail is intended only and solely for the use of<BR>> the named recipient or organisation. If you are not the named recipient,<BR>> please inform us immediately and delete the present e-mail. In this<BR>> case, you are nor allowed to copy, distribute or use this e-mail in any<BR>> way. <BR>> _______________________________________________________________________<BR>> <BR>> <BR>> ___________________________________________________________<BR>> Le contenu de ce courriel est uniquement r??serv?? ?? la personne ou <BR>> l'organisme ?? qui il est destin??. Si vous n'??tes pas le destinataire<BR>> pr??vu, veuillez nous en informer au plus vite et d??truire le pr??sent<BR>> courriel. Dans ce cas, il ne vous est pas permis de copier ce courriel,<BR>> de le distribuer ou de l'utiliser de quelque mani??re que ce soit.<BR>> <BR>> The content of this e-mail is intended only and solely for the use <BR>> of the named recipient or organisation. If you are not the named <BR>> recipient, please inform us immediately and delete the present e-mail. <BR>> In this case, you are nor allowed to copy, distribute or use this <BR>> e-mail in any way.<BR>> ___________________________________________________________<BR><BR>> <BR>> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.<BR>> Buy a copy at <A href="http://rtbook.bestpractical.com" target=_blank>http://rtbook.bestpractical.com</A><BR></DIV><BR>
<P><FONT size=2 face=Arial>_______________________________________________________________________ </FONT></P>
<P align=left><FONT size=2 face=Arial>Le contenu de ce courriel est uniquement réservé à la personne ou l'organisme à qui il est destiné. Si vous n'êtes pas le destinataire prévu, veuillez nous en informer au plus vite et détruire le présent courriel. Dans ce cas, il ne vous est pas permis de copier ce courriel, de le distribuer ou de l'utiliser de quelque manière que ce soit. </FONT></P>
<P align=left><FONT size=2 face=Arial>_______________________________________________________________________ </FONT></P>
<P><FONT size=2 face=Arial>The content of this e-mail is intended only and solely for the use of the named recipient or organisation. If you are not the named recipient, please inform us immediately and delete the present e-mail. In this case, you are nor allowed to copy, distribute or use this e-mail in any way. </FONT></P>
<P><FONT size=2 face=Arial>_______________________________________________________________________ </FONT></P></DIV><BR><BR>Discover RT's hidden secrets with RT Essentials from O'Reilly Media.<BR>Buy a copy at <A href="http://rtbook.bestpractical.com" target=_blank>http://rtbook.bestpractical.com</A><BR></BLOCKQUOTE></DIV><BR></DIV><BR>

    <p>
      <font face="Arial" size="2">
      _______________________________________________________________________ </font>

    </p>
    <p align="left">
      <font face="Arial" size="2">Le contenu de ce courriel est uniquement 
      réservé à la personne ou l'organisme à qui il est destiné. Si vous 
      n'êtes pas le destinataire prévu, veuillez nous en informer au plus vite 
      et détruire le présent courriel. Dans ce cas, il ne vous est pas permis 
      de copier ce courriel, de le distribuer ou de l'utiliser de quelque 
      manière que ce soit.
</font>    </p>
    <p align="left">
      <font face="Arial" size="2"> 
      _______________________________________________________________________ </font>

    </p>
    <p>
      <font face="Arial" size="2">The content of this e-mail is intended only 
      and solely for the use of the named recipient or organisation. If you 
      are not the named recipient, please inform us immediately and delete the 
      present e-mail. In this case, you are nor allowed to copy, distribute or 
      use this e-mail in any way.
</font>    </p>
    <p>
      <font face="Arial" size="2"> 
      _______________________________________________________________________ </font>
    </p>
  </BODY></HTML>