<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="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<title>[mapguide-users] bad performance with mysql or sql server</title>
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 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:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
span.tx1
        {font-weight:bold;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

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

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>The connections are not closed because the
MapGuide server is caching them for performance. As a temporary workaround you
can do the following, but this will cause a performance impact because the
MySQL connections will no longer be cached.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Edit the serverconfig.ini file and add the
MySQL provider to the list of excluded providers. (See below)<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>DataConnectionPoolExcludedProviders=
OSGeo.SDF,OSGeo.SHP,</span></font><span class=tx1><b><font size=2 face=Verdana><span
style='font-size:10.0pt;font-family:Verdana'>OSGeo.MySQL</span></font></b></span><font
size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:navy'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Bruce<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> ARQUICAD-MATIAS
[mailto:massigoge@arquicad.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> October 20, 2006 11:47 AM<br>
<b><span style='font-weight:bold'>To:</span></b> users@mapguide.osgeo.org<br>
<b><span style='font-weight:bold'>Subject:</span></b> [mapguide-users] bad
performance with mysql or sql server</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>I'm
having problems with MySQL FDO Provider. The MapGuide OS 1.0.2 never close
connections to MySQL&nbsp; so the it reach the maximun connection number and
the FDO stop working.</span></font><o:p></o:p></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>The
DataConnectionTimeout in serverconfig.ini is set to 600 seconds but it doesn't
work.</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Thanks.</span></font>
<o:p></o:p></p>

<p><i><font size=1 face=Arial><span style='font-size:7.5pt;font-family:Arial;
font-style:italic'>Mat</span></font></i><i><font size=1 face=Arial><span
lang=ES style='font-size:7.5pt;font-family:Arial;font-style:italic'>í</span></font></i><i><font
size=1 face=Arial><span style='font-size:7.5pt;font-family:Arial;font-style:
italic'>as Massigoge</span></font></i> <br>
<i><font size=1 face=Arial><span style='font-size:7.5pt;font-family:Arial;
font-style:italic'>Ingeniero de Aplicaci</span></font></i><i><font size=1
face=Arial><span lang=ES style='font-size:7.5pt;font-family:Arial;font-style:
italic'>ó</span></font></i><i><font size=1 face=Arial><span style='font-size:
7.5pt;font-family:Arial;font-style:italic'>n</span></font></i> <br>
<i><font size=1 face=Arial><span style='font-size:7.5pt;font-family:Arial;
font-style:italic'>Departamento I</span></font></i><i><font size=1 face=Arial><span
lang=ES style='font-size:7.5pt;font-family:Arial;font-style:italic'>nfraestructura</span></font></i>
<br>
<i><font size=1 face=Arial><span style='font-size:7.5pt;font-family:Arial;
font-style:italic'>Arquicad SRL</span></font></i> <br>
<i><font size=1 face=Arial><span style='font-size:7.5pt;font-family:Arial;
font-style:italic'>Tel (011)4811-1733/15-</span></font></i><i><font size=1
face=Arial><span lang=ES style='font-size:7.5pt;font-family:Arial;font-style:
italic'>6204-7686</span></font></i><span lang=ES> </span><o:p></o:p></p>

</div>

</body>

</html>