<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<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:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<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]--><o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="time"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="date"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
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:#606420;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-reply;
font-family:Arial;
color:navy;}
@page Section1
{size:595.3pt 841.9pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
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=FR link=blue vlink="#606420">
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Hello,<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> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>It will take sometimes to
retrieve the set of data from the view relative to its complexity. Is the
request which define the view simple or does it have complex and / or spatial
operator ? Does your spatial data have a lot of points ? Did you make indexes
on the columns used by your views ?<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
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 lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>Hugues.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
</div>
<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'>De :</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
postgis-users-bounces@postgis.refractions.net
[mailto:postgis-users-bounces@postgis.refractions.net] <b><span
style='font-weight:bold'>De la part de</span></b> Robert Buckley<br>
<b><span style='font-weight:bold'>Envoyé :</span></b> jeudi <st1:date
Year="2012" Day="12" Month="7" ls="trans" w:st="on">12 juillet 2012</st1:date>
07:30<br>
<b><span style='font-weight:bold'>À :</span></b> Post GIS Users Discussion<br>
<b><span style='font-weight:bold'>Objet :</span></b> [postgis-users] Are
views slow ing down my wms?</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> </o:p></span></font></p>
<div>
<div>
<p class=MsoNormal style='background:white'><font size=2 color=black
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:black'>Hi,<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='background:white'><font size=2 color=black
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:black'><o:p> </o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='background:white'><font size=2 color=black
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:black'>I have
created a database structure which has 3 main postgis tables (1 for
lines,polygones, and points) which each contain between 5-10,000 features.
These tables then feed views which split the geometries into understandable
groups which are then served through geoserver in Tomcat6, linux-Ubuntu <st1:time
Minute="04" Hour="10" w:st="on">10.04.<o:p></o:p></st1:time></span></font></p>
</div>
<div>
<p class=MsoNormal style='background:white'><font size=2 color=black
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:black'><o:p> </o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='background:white'><font size=2 color=black
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:black'>I have
noticed that the performance of the wms is getting considerably worse. Is this
to do with the views or simply the amount of data being served?<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='background:white'><font size=2 color=black
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:black'><o:p> </o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='background:white'><font size=2 color=black
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:black'>Should
I in hindsight have split the table into separate tables instead of creating
views?<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='background:white'><font size=2 color=black
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:black'><o:p> </o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='background:white'><font size=2 color=black
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:black'>thanks
for any help,<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='background:white'><font size=2 color=black
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:black'><o:p> </o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='background:white'><font size=2 color=black
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:black'>Robert<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='background:white'><font size=2 color=black
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:black'><o:p> </o:p></span></font></p>
</div>
</div>
</div>
</body>
</html>