Ok, In that case some data files(which in turn consists pages) might be partially filled. In that case the size of the database with data will be different to the size of the database calculated with respect to files size on disk. So how to calculate the size of only data and not the free space in the database? Regards, Pavan -- Sent from: http://www.postgresql-archive.org/PostgreSQL-admin-f2076596.html