get max_size in real value from the database
Better checking of column name in parsing the query results