Updating and inserting data
An Extract Load Transform (ELT) process is a common technique to refresh the data warehouse from the source system. The ELT process can be executed as a batch near real-time process that allows staging the data from the source system and performing bulk refresh into the Amazon Redshift data warehouse (serverless or provisioned cluster). Amazon Redshift being an RDBMS system allows data refresh in the form of MERGE operations, which combine the functionality of INSERT, UPDATE, and DELETE operations. In this recipe, we will delve into some of the common ELT strategies to refresh a dimensional model using the MERGE command.
Getting ready
To complete this recipe, you will need:
- Access to the AWS Console
- An Amazon Redshift data warehouse deployed in AWS region eu-west-1
- Amazon Redshift data warehouse admin user credentials
- Access to any SQL interface, such as a SQL client or the Amazon Redshift query editor
- A sample...