The Real Python Podcast

Leveraging the Features of Your Database With Postgres and Python


Listen Later

Are you getting the most out of your Postgres database? What features could you leverage to improve your Python project? This week on the show, Craig Kerstiens from Crunchy Data is here to discuss getting the most out of Postgres.

Craig shares his years of PostgreSQL expertise with advice on getting more from the platform. We talk about rich data types for describing ranges, geospatial data, and JSON.

Craig shares tools for accessing performance statistics from the command line and strategies for optimizing your terminal settings for SQL searches. He discusses Postgres extensions for customizing the database to your needs. Craig also provides multiple resources for learning more and an online tool for practicing within a playground environment.

Course Spotlight: Creating Web Maps From Your Data With Python Folium

You’ll learn how to create web maps from data using Folium. The package combines Python’s data-wrangling strengths with the data-visualization power of the JavaScript library Leaflet. In this video course, you’ll create and style a choropleth world map showing the ecological footprint per country.

Topics:

  • 00:00:00 – Introduction
  • 00:02:36 – What are reasons for considering Postgres?
  • 00:07:41 – Timeline of recent features
  • 00:11:06 – Unique data types
  • 00:16:34 – Storing JSON information
  • 00:20:19 – Video Course Spotlight
  • 00:21:50 – Storing geographic information
  • 00:25:16 – What’s the process for adding extensions?
  • 00:31:33 – Advice for Python developers using Postgres
  • 00:33:31 – Advice on writing SQL
  • 00:38:06 – Command-line tools and customizations
  • 00:48:18 – Django as an entry to Python
  • 00:51:13 – Resources for learning and practicing with Postgres
  • 00:53:45 – What are you excited about in the world of Python?
  • 00:55:55 – What do you want to learn next?
  • 00:58:34 – How can people follow your work online?
  • 00:59:20 – Thanks and goodbye
  • Show Links:

    • Craig Kerstiens - Blog
    • Trusted Open Source PostgreSQL & Commercial Support for the Enterprise - Crunchy Data
    • Why Postgres? - Crunchy Data
    • Why Postgres - Craig Kerstiens - YouTube
    • A hands on experience with complex SQL - Craig Kerstiens - YouTube
    • Ingres (database) - Wikipedia
    • PostgreSQL specific model fields - Django documentation
    • Psqlrc - PostgreSQL wiki
    • The most useful Postgres extension - pg_stat_statements
    • High-compression Metrics Storage with Postgres Hyperloglog
    • Postgres Playground and Tutorials - Crunchy Data
    • PostgreSQL Blog - Crunchy Data
    • It’s at least once a week I talk with someone that “loves Postgres” but isn’t sure why… Craig Kerstiens on Twitter:
    • The Wok Book: Recipes and Techniques by J. Kenji Lopez-Alt
    • Level up your Python skills with our expert-led courses:

      • Creating Web Maps From Your Data With Python Folium
      • Deploying a Flask Application Using Heroku
      • SQLite and SQLAlchemy in Python: Moving Your Data Beyond Flat Files
      • Support the podcast & join our community of Pythonistas

        ...more
        View all episodesView all episodes
        Download on the App Store

        The Real Python PodcastBy Real Python

        • 4.7
        • 4.7
        • 4.7
        • 4.7
        • 4.7

        4.7

        134 ratings


        More shows like The Real Python Podcast

        View all
        Hanselminutes with Scott Hanselman by Scott Hanselman

        Hanselminutes with Scott Hanselman

        377 Listeners

        Software Engineering Radio - the podcast for professional software developers by se-radio@computer.org

        Software Engineering Radio - the podcast for professional software developers

        265 Listeners

        The Changelog: Software Development, Open Source by Changelog Media

        The Changelog: Software Development, Open Source

        287 Listeners

        LINUX Unplugged by Jupiter Broadcasting

        LINUX Unplugged

        262 Listeners

        Thoughtworks Technology Podcast by Thoughtworks

        Thoughtworks Technology Podcast

        41 Listeners

        Talk Python To Me by Michael Kennedy

        Talk Python To Me

        585 Listeners

        Software Engineering Daily by Software Engineering Daily

        Software Engineering Daily

        628 Listeners

        Super Data Science: ML & AI Podcast with Jon Krohn by Jon Krohn

        Super Data Science: ML & AI Podcast with Jon Krohn

        295 Listeners

        Python Bytes by Michael Kennedy and Brian Okken

        Python Bytes

        213 Listeners

        Data Engineering Podcast by Tobias Macey

        Data Engineering Podcast

        140 Listeners

        Syntax - Tasty Web Development Treats by Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

        Syntax - Tasty Web Development Treats

        987 Listeners

        CoRecursive: Coding Stories by Adam Gordon Bell - Software Developer

        CoRecursive: Coding Stories

        186 Listeners

        DataFramed by DataCamp

        DataFramed

        269 Listeners

        Practical AI by Practical AI LLC

        Practical AI

        190 Listeners

        The Stack Overflow Podcast by The Stack Overflow Podcast

        The Stack Overflow Podcast

        63 Listeners