I have two line layers in PostgreSQL/PostGIS. I want to the select data which are not intersecting. When I am writing this query it is taking a lot of time. How can I make it faster and see the result? <!-- language: sql --> SELECT Geometry into Qlayer5 FROM qlayer4, egmap_20170316_tmc_polyline WHERE st_intersects(qlayer59.Geometry,egmap_20170316_tmc_polyline.geom) = false and I have also tried using right join but none of them giving output. <!-- language: sql --> SELECT Geometry INTO Qlayer5 FROM qlayer4 RIGHT JOIN egmap_20170316_tmc_polyline ON st_intersects(qlayer59.Geometry,egmap_20170316_tmc_polyline.geom) = false