Get database_type metadata
Remove unneeded variable