The latest version of osm2pgsql no longer creates indexes on the members of planet_osm_rels. So we do that ourselves. Given that we only need to access associated street relations, the index can become quite a bit smaller.