I'm using a big table imported by a *.shp file of the city of San Diego. When I run pgr_dijkstra it takes more or less 5000ms, even for small distances. I was thinking, in order to improve performance, how could I select a subset of the table San Diego? And more important, do you think it would improve the performance?
My idea is to, given a starting and ending point, select only an area (a circle, square,...) that contains both starting and ending point (plus an arbitrary margin). Is it possible?