2 Replies Latest reply on Sep 28, 2015 9:02 AM by Lazy Rambler

    How to calculate storage used by a site

    chak n

      Could someone let me know how to calculate the storage that has been used by a site using postgresql tables please.


      Idea/Intention here is to create a custom admin view to find out the total storage that is being used by a site and use this for subscription.


      To my knowledge, storage size that has been used can be viewed under sites tab if you are a server administrator. But would like to distribute/receive these stats using subscription.


      I figured i can use _datasources and _workbooks tables to get size of each data source and workbook. But i think i am missing something here as the figure that i see as a server admin is different from the storage that i have calculated from tables above.