Building Your Data Warehouse On Top Of PostgreSQL

00:00:00
/
01:15:06

May 13th, 2021

1 hr 15 mins 6 secs

Your Host

About this Episode

Summary

There is a lot of attention on the database market and cloud data warehouses. While they provide a measure of convenience, they also require you to sacrifice a certain amount of control over your data. If you want to build a warehouse that gives you both control and flexibility then you might consider building on top of the venerable PostgreSQL project. In this episode Thomas Richter and Joshua Drake share their advice on how to build a production ready data warehouse with Postgres.

Announcements

  • Hello and welcome to the Data Engineering Podcast, the show about modern data management
  • When you’re ready to build your next pipeline, or want to test out the projects you hear about on the show, you’ll need somewhere to deploy it, so check out our friends at Linode. With their managed Kubernetes platform it’s now even easier to deploy and scale your workflows, or try out the latest Helm charts from tools like Pulsar and Pachyderm. With simple pricing, fast networking, object storage, and worldwide data centers, you’ve got everything you need to run a bulletproof data platform. Go to dataengineeringpodcast.com/linode today and get a $100 credit to try out a Kubernetes cluster of your own. And don’t forget to thank them for their continued support of this show!
  • Firebolt is the fastest cloud data warehouse. Visit dataengineeringpodcast.com/firebolt to get started. The first 25 visitors will receive a Firebolt t-shirt.
  • Atlan is a collaborative workspace for data-driven teams, like Github for engineering or Figma for design teams. By acting as a virtual hub for data assets ranging from tables and dashboards to SQL snippets & code, Atlan enables teams to create a single source of truth for all their data assets, and collaborate across the modern data stack through deep integrations with tools like Snowflake, Slack, Looker and more. Go to dataengineeringpodcast.com/atlan today and sign up for a free trial. If you’re a data engineering podcast listener, you get credits worth $3000 on an annual subscription
  • Your host is Tobias Macey and today I’m interviewing Thomas Richter and Joshua Drake about using Postgres as your data warehouse

Interview

  • Introduction
  • How did you get involved in the area of data management?
  • Can you start by establishing a working definition of what constitutes a data warehouse for the purpose of this discussion?
    • What are the limitations for out-of-the-box Postgres when trying to use it for these workloads?
  • There are a large and growing number of options for data warehouse style workloads. How would you categorize the different systems and what is PostgreSQL’s position in that ecosystem?
    • What do you see as the motivating factors for a team or organization to select from among those categories?
  • Why would someone want to use Postgres as their data warehouse platform rather than using a purpose-built engine?
  • What is the cost/performance equation for Postgres as compared to other data warehouse solutions?
  • For someone who wants to turn Postgres into a data warehouse engine, what are their options?
    • What are the relative tradeoffs of the different open source and commercial offerings? (e.g. Citus, cstore_fdw, zedstore, Swarm64, Greenplum, etc.)
  • One of the biggest areas of growth right now is in the "cloud data warehouse" market where storage and compute are decoupled. What are the options for making that possible with Postgres? (e.g. using foreign data wrappers for interacting with data lake storage (S3, HDFS, Alluxio, etc.))
  • What areas of work are happening in the Postgres community for upcoming releases to make it more easily suited to data warehouse/analytical workloads?
  • What are some of the most interesting, innovative, or unexpected ways that you have seen Postgres used in analytical contexts?
  • What are the most interesting, unexpected, or challenging lessons that you have learned from your own experiences of building analytical systems with Postgres?
  • When is Postgres the wrong choice for a data warehouse?
  • What are you most excited for/what are you keeping an eye on in upcoming releases of Postgres and its ecosystem?

Contact Info

Parting Question

  • From your perspective, what is the biggest gap in the tooling or technology for data management today?

Links

The intro and outro music is from The Hug by The Freak Fandango Orchestra / CC BY-SA

Support Data Engineering Podcast