# Kenshoo and the GreenPlum

- Speaker: [Lior Harel](/wiki/speakers/lior-harel.md)
- Event: [Reversim Summit 2013](/wiki/years/2013.md)
- Video: https://www.youtube.com/watch?v=hGF-Y1uFZyE
- Transcript: [/transcripts/2013/24-hGF-Y1uFZyE.md](/transcripts/2013/24-hGF-Y1uFZyE.md)
- Language: Hebrew and English · Type: talk · Level: intermediate
- Topics: [Data Science](/wiki/topics/data-science.md), [Data Engineering](/wiki/topics/data-engineering.md), [Databases](/wiki/topics/databases.md), [Scalability](/wiki/topics/scalability.md)

> 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](https://www.youtube.com/watch?v=hGF-Y1uFZyE&t=211s) The company provides software solutions for managing millions of search engine marketing keywords and advertisements across multiple channels.
- [11:15](https://www.youtube.com/watch?v=hGF-Y1uFZyE&t=675s) The system faced severe scalability limits after reaching around 150 production relational databases with tables holding hundreds of millions of rows.
- [15:26](https://www.youtube.com/watch?v=hGF-Y1uFZyE&t=926s) The engineering team chose to migrate all data into a data warehouse powered by a massively parallel processing (MPP) columnar database.
- [20:57](https://www.youtube.com/watch?v=hGF-Y1uFZyE&t=1257s) Data was remodeled from normalized operational structures into analytical schemas using star schemas and denormalization to optimize large scans.
- [34:55](https://www.youtube.com/watch?v=hGF-Y1uFZyE&t=2095s) The team chose a commercial MPP appliance over open-source distributed frameworks like Hadoop due to operational simplicity and standard SQL support.
- [39:02](https://www.youtube.com/watch?v=hGF-Y1uFZyE&t=2342s) 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](https://www.youtube.com/watch?v=hGF-Y1uFZyE&t=2549s) 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
