Building data warehouse for better analytics