web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

How to get record size, data size of a table on a filter of systemcreatedat field of the table

(2) ShareShare
ReportReport
Posted on by 148
I am trying to get these records of tenant media table


but this data is of overall records stored in this table, I want to see that in 2024 what is the record size, data size and size(KB) of tenant media table.

I was successful to get the No of records by creating a simple query of tenant media and after extracting the excel by counting the rows but the record size, data size and size fields data based systemcreatedat filter of specific year or month, I am unable to get.

The purpose of doing this is to see how much data is stored in a year in Tenant media, How to achieve this please guide or provide a solution.
I have the same question (0)
  • Suggested answer
    Jainam M. Kothari Profile Picture
    13,584 Super User 2025 Season 2 on at
    How to get record size, data size of a table on a filter of systemcreatedat field of the table
    Hello,
     
    To calculate how much data was stored in the Tenant Media table for 2024, you need to filter records by System Created At and sum the size of the BLOBs in the Content field.
     
    The easiest way is via SQL and if SQL access isn’t possible, create an AL report or query that loops through filtered records and uses Content.Length to compute size, then sum and display totals.
     
    Admin Center only shows overall table size, not by year, so SQL or AL is the practical solution.
  • Gerardo Rentería García Profile Picture
    23,997 Most Valuable Professional on at
    How to get record size, data size of a table on a filter of systemcreatedat field of the table

    Hi, good day
    I hope this can help you, and give you some hints. Use this extension to help you

    waldo1001/blog.TenantMediaReferences

    Best Regards
    Gerardo

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,351

#2
Sumit Singh Profile Picture

Sumit Singh 2,072

#3
YUN ZHU Profile Picture

YUN ZHU 1,807 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans