Skip to content

Add Table Partitioning Option for PostgreSQL #679

Open
dbt-labs/dbt-postgres
#78
@sheyd

Description

@sheyd

Feature

Feature description

Table partitioning has existed since PostgreSQL 9, but in PostgreSQL 11 has been made significantly easier to use and more performant.

Who will this benefit?

Anyone who has solid Medium-Sized™ data that doesn't quite need the complexity or resources provided by BigQuery/RedShift/Snowflake.

For instance, in our current environment we have a table for all email messages sent to every user historically that is 200 million rows. While queryable, it could definitely benefit from using a range partition based on dates or even user groups.

Metadata

Metadata

Assignees

No one assigned

    Labels

    communityA PR, or an issue with a PR, from a community memberpkg:dbt-postgresIssue affects dbt-postgrestype:enhancementNew feature request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions