pavan95 wrote: > Do you know how does it calculate internally using what functions or what > system catalogs or whatever? The functions are in backend/utils/adt/dbsize.c, note in particular db_dir_size which walks through a directory and adds up the sizes of all files therein. Yours, Laurenz Albe