Added database type for switching between vertica and influxDB.