Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Check for unsed tables

(0) ShareShare
ReportReport
Posted on by 50

I need to find the unused tables from dataverse.

I tried some solutions, here they are:

With sql server: 

SELECT *
FROM sys.dm_db_index_usage_stats
WHERE [database_id] = DB_ID()
AND [object_id] = OBJECT_ID('TableName')

Couldn't do it because of this error -> Invalid table name dm_db_index_usage_stats for schema sys. Line:2, Position:6

I tried with analytics from admin.powerplatform.com -> Only two months available to select. It would be great if I could select from the environment creation till now, that would solve my problem.

pastedimage1667286921963v1.png

Any suggestion? any tool? any way of achieving it with one of the methods above?

Thanks in advance

  • Ricardo Jacobsen Profile Picture
    50 on at
    RE: Check for unsed tables

    Steve Zhao2 Thank you, but  this tool only brings the rows count and the number of custom attributes. It does not get the last time the table was read or written for example. This would be the best indicator for the usage of the table.

  • Suggested answer
    Steve Zhao2 Profile Picture
    on at
    RE: Check for unsed tables

    Hi Ricardo Jacobsen,

    You could use Entity Usage tool in the Xrm Toolbox to achieve this. Please refer to this:

    Entity Usage Overview  · XrmToolBox

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Adis Profile Picture

Adis 136 Super User 2025 Season 1

#2
Sohail Ahmed Profile Picture

Sohail Ahmed 81

#3
Jonas "Jones" Melgaard Profile Picture

Jonas "Jones" Melgaard 77 Super User 2025 Season 1

Product updates

Dynamics 365 release plans