[pgrouting-users] shortest path shooting star High performance.

Hello all, right now I am working in a routing tool, unfortunately in my server it takes 1.2 seconds in average every routing. There are any tip/advice or a server configuration to improve the routing time.

By the way, I have a 180000 segments network.

Regards,

Francisco Garcia
franciscog.garcia.rincon@gmail.com
Movil: (057) 316-331-0936

Try using clusters over your geometry column

How long is the average route, and how many segments is it in an average route?

We are serving routes with Navteq data and a route that is 100 km, is calculated faster than 1 second.

/H

Hi Francisco,

You have relatively low number of records in your database.
Have you checked for indices on gid, source, target and the_geom?
And then it’s slow to have high ID’s. Try to renumber source and target ID’s to have them start from 1.

Daniel

On Tue, Sep 6, 2011 at 2:20 AM, Gastón Lucero <gaston.lucero@sitrack.com> wrote:

Try using clusters over your geometry column

On 05/09/11 13:32, Francisco Garcia wrote:

Hello all, right now I am working in a routing tool, unfortunately in my server it takes 1.2 seconds in average every routing. There are any tip/advice or a server configuration to improve the routing time.

By the way, I have a 180000 segments network.

Regards,

Francisco Garcia
franciscog.garcia.rincon@gmail.com
Movil: (057) 316-331-0936


_______________________________________________
Pgrouting-users mailing list
[Pgrouting-users@lists.osgeo.org](mailto:Pgrouting-users@lists.osgeo.org)
[http://lists.osgeo.org/mailman/listinfo/pgrouting-users](http://lists.osgeo.org/mailman/listinfo/pgrouting-users)



<br>Disclaimer:<br><br>This email and any attachments thereof may contain confidential, privileged, proprietary, or otherwise private information. This email is intended solely for the use of the individual to whom it is addressed. If you are not the intended recipient of the email and its attachments please inform the sender immediately and do not disclose the contents to any other person, use it for any purpose or store or copy the information in any way and delete this e-mail and its attachments from your system. Any views or opinions expressed are solely those of the author.<br>


Pgrouting-users mailing list
Pgrouting-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/pgrouting-users


Georepublic UG & Georepublic Japan
eMail: daniel.kastl@georepublic.de
Web: http://georepublic.de