Search for OPC_UA device and/or DB connection usage

Is there a way to search for usage of each OPC_UA device driver?
I'd like to do the same with other items, as well, like database connections.
I think our system has devices and databases configured that are not used and I would like to remove them.
I can't seem to find another post with this question.

For the devices, use the tag report tool, set the type to OPC tags, set the output to extract the OPC Item Path. I'd then export and massage externally to group by device name.

Or, perhaps, filter for the device names in the OPC Item Path that you suspect are unused.