For completeness sake I'd probably also want to make sure there are no related orphan records in the following tables:
[Obtained by perusing the ER diagram for the RSSD, looking for all references to/from rs_queues]
- rs_segments (already addressed - above)
- rs_oqid
- rs_queuemsg
- rs_queuemsgtxt
All of these tables have a q_number column which should match rs_databases.dbid or rs_sites.id.
Additionally:
- rs_queues
This table has a number column which should match rs_databases.dbid or rs_sites.id.