Wiki: Kenshoo and the GreenPlum

For agents: Markdown version · Wiki index · Explore

Written by an LLM from machine transcripts. It can contain errors. Check the transcript before you quote it.

Summary

The speaker describes the architectural evolution of a system handling massive amounts of search engine marketing data. As data grew to billions of records, traditional single-machine relational databases became a severe bottleneck for analytics and reporting. To solve this, the engineering team migrated to a commercial massively parallel processing (MPP) columnar database, redesigning their data models for analytics. The talk outlines the migration process, architectural patterns like maintaining a raw data buffer zone, and practical lessons learned along the way.

Key points

  • 3:31 The company provides software solutions for managing millions of search engine marketing keywords and advertisements across multiple channels.
  • 11:15 The system faced severe scalability limits after reaching around 150 production relational databases with tables holding hundreds of millions of rows.
  • 15:26 The engineering team chose to migrate all data into a data warehouse powered by a massively parallel processing (MPP) columnar database.
  • 20:57 Data was remodeled from normalized operational structures into analytical schemas using star schemas and denormalization to optimize large scans.
  • 34:55 The team chose a commercial MPP appliance over open-source distributed frameworks like Hadoop due to operational simplicity and standard SQL support.
  • 39:02 Maintaining a raw data buffer zone (ODS) enabled the team to re-run transformations and easily recover from data bugs or model changes.
  • 42:29 Handling business use cases that require updates and deletes in a primarily append-only analytical store was managed using versioning tables.

Takeaways

  • Adopt analytical data modeling practices like denormalization and star schemas instead of applying traditional transactional normalization rules.
  • Always maintain a raw data buffer layer (buffer zone) to simplify debugging and allow safe data reprocessing.
  • Implement end-to-end data pipelines incrementally, validating data consistency and handling dirty legacy data early in the project.

Questions this talk answers

  • When should a growing engineering team transition from traditional relational databases to a massively parallel processing (MPP) data warehouse?
  • How can you effectively handle updates and deletes in an analytical columnar database designed primarily for append-only operations?
  • What are the main operational and architectural trade-offs between choosing a commercial MPP database and an open-source Hadoop stack?

Technologies

Greenplum, PostgreSQL, Python, Celery, Hadoop, Cassandra, Google BigQuery, Amazon Redshift, Vertica, Netezza

Tags

analytics, big data, data modeling, data warehouse, database migration, scalability