<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>
I don't understand, why the procedure lasts so much longer at the map of Europe although both<br>
temporary routing tables are almost identical in size and don't depend on the rest of the databases<br>
(no joins or other complicated stuff). Maybe someone has an idea and can point me in the right<br>
direction.<br>
<br></blockquote><div><br></div><div>Hi Eric,</div><div><br></div><div>First of all I'm not sure, if I really understand what you mean with "creating a temporary table". Did you run "CREATE TEMP TABLE ..."?</div><div><br></div><div>You're right, that with pgRouting the amount of data selected from the network table matters. And the fastest way to select only a part of the network table is by selecting a bounding box. You should have an index on your geometry column as well. Then you don't need to create temporary tables.</div><div><br></div><div>Back to your question: as far as I remember, the size of ID's can matter. I experienced this when I used data, that had already source and target ID's in place, which all had the same number of digits. Renumbering (starting from 1) helped to improve the speed. Though I can't tell this is the reason in your case.</div><div><br></div><div>Have you also run VACUUM and ANALYZE on your table?</div><div><br></div><div>Regards,</div><div>Daniel</div><div><br></div><div> </div></div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse">Georepublic UG & Georepublic Japan<br>eMail: <a href="mailto:daniel.kastl@georepublic.de" style="color:rgb(66,99,171)" target="_blank">daniel.kastl@georepublic.de</a><br>Web: <a href="http://georepublic.info" style="color:rgb(66,99,171)" target="_blank">http://georepublic.info</a></span><div><br></div><div><br></div><div><br></div></div></div>
</div></div>