i haven't seen any other products that give a more detailed diagram... not saying they don't exist... just haven't ever seen them.
with regards to building your own custom solution using sql query...
i can point you in the right direction, but you will have to do the detailed work of putting it together.
if you explore your database (my recommendation is to use MS SQL Server Management Studio), you can see the tables & associated with your Content Database.
for example, there is a view called Docs (see image below)... you could use the LeafName along with WebID, ListID and DoclibRowID to develop something that displays the info as a site map.
in the example i'm showing below, the highlighted item is a pdf called CDQM CREDIT REFERENCES.pdf that is loaded in a document library called Canadian/US Credit References on a subsite called Accounting (
http://mysharepointsite/accounting.
all of that info is available from the sql view.