diff --git a/agent/site.py b/agent/site.py index 1790f560..579e0e60 100644 --- a/agent/site.py +++ b/agent/site.py @@ -924,7 +924,7 @@ def get_database_size(self): # only specific to mysql/mariaDB. use a different query for postgres. # or try using frappe.db.get_database_size if possible query = ( - "SELECT SUM(`data_length` + `index_length` + `data_free`)" + "SELECT SUM(`data_length` + `index_length`)" " FROM information_schema.tables" f' WHERE `table_schema` = "{self.database}"' " GROUP BY `table_schema`"