Published on InterSystems Developer Community (https://community.intersystems.com)

Home > Query to return table sizes

Question
Bradley Larson · Dec 8, 2021

Query to return table sizes

I've been accessing Cache tables from a developer/reporting side, but am now involved in a project to create a data warehouse for our application.  I'm trying to find a query I can use to return the sizes of all the tables in the database, so we can identify the largest tables and handle those individually.  Can someone give me a query I can run against our Cache database to return the sizes of all the tables from largest to smallest?  

Thanks for the help

#Databases #SQL #Caché
Product version: Caché 2017.1

Source URL:https://community.intersystems.com/post/query-return-table-sizes