Real-time data warehousing: A rewrite/merge approach