I have a large osm dataset. When I execute a pgr_ksp query, it takes +30 minutes
SELECT seq , id1 , id2 , cost FROM pgr_ksp( 'SELECT id, source, target, cost FROM myways', 524356, 1210854, 2, false);
My virtual server has 4 processors and 3GB RAM. My ways table has 2290470 rows.
The other functions work normally but pgr_ksp does not.
Does anyone know what is the problem?