Skip to main content

Community

Use the same schema prefix for multiple databases

Answered

Please sign in to leave a comment.

Comments

3 comments

  • Official comment
    Fraser User

    Hi Scott - we have a strong philosophy of "one simple default choice" with minimal configuration.  Our strategy for avoiding schema & table name collisions in the data warehouse is to require the unique prefix. In practice, this simple rule has been incredibly effective - I can't recall a customer ever having a naming collision.

    Our recommendation is a "Enterprise Data Warehouse" architecture, with Fivetran delivering the Raw Schemas, and your users being exposed a transformed set of Schemas.  In your case, that transformation is a simple set of VIEWs that organize the tables into the schema you want.

    OK, that makes sense.  Thanks Fraser.

    I know the "Enterprise Data Warehouse" architecture described may be common, but for larger warehouses with 10k plus tables, creating and maintaining views like this is unsustainable. We would like more flexibility on the naming of destination schemas. Force prefixes is a problem for us.