Do you think it is possible to use DMVs (or DMFs) to find out if a database is being accessed by users or applications? For example, I wondered if I could use sys.dm_db_index_usage_stats to work out if a database has been used lately at all. The results are possibly getting distorted by system processes, because I am getting last_user_seek or last_user_scan, etc. populated in some (non-system) tables very recently although I know that no users connections have been in the database. Perhaps the plan is flawed from the start, since reindexing and other maintenance jobs would presumably increment the scan counters, etc.
Has anyone else tried anything like this? Or does anyone know of a useful DMV for this purpose? Maybe a DMV that consolidates login info?
Basically, the problem I am trying to solve is I am being asked "is anyone accessing databases x,y,z and, if not, you may delete them!". Other than running profiler for a few days, I love to know if SS 2005 consolidates this info somewhere.