How to handle Slowly Changing Dimension Type 2 in Redshift?
问题 I want to track username changes overtime. I have the following users table in Redshift: id username valid_from valid_to current -------------------------------------------------------- 1 joe1 2015-01-01 2015-01-15 No 1 joe2 2015-01-15 NULL Yes My source data is from RDS Postgres. I'm thinking of several options on how to handle this: 1) Create users_history table and start tracking this inside RDS Postgres db. This requires me making changes to my app and this table potentially can get huge