We can connect the datasets in two ways, such as:
Live: Live connection sends queries to your database and retrieves data. These queries will return whatever data is currently in the database.
Extract: Extracts connection saved subsets of data that use to improve performance or to take the advantages of Tableau functionality which are not supported or available in your original data.