Added db size management