1. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

[SQL] Best Practices for Liquibase Folder Structure with Data Vault Modeling

Discussão em 'Outras Linguagens' iniciado por Stack, Outubro 25, 2024 às 12:42.

  1. Stack

    Stack Membro Participativo

    I'm working on a Data Vault project and using Liquibase for version control. As Data Vault requires a significant number of tables, views, and other database objects, I'm trying to establish a clean and scalable folder structure for my Liquibase change sets.

    Currently, I'm considering a structure like this:

    • changes/
      • tables/
      • views/
      • sprocs/
      • functions/

    Within each folder, I would have individual change sets for each database object. However, given the sheer number of tables in a Data Vault model, this approach could quickly lead to an overwhelming number of scripts in each folder.

    Does anyone have experience with Liquibase and Data Vault modeling who can share insights or best practices on organizing the folder structure? Specifically:

    Should each database object have its own change set file, or is it better to combine similar objects (like multiple tables) into a single change set? How can I keep the folder structure manageable, especially for larger models? Are there alternative structures or naming conventions that have worked well for others in similar scenarios?

    Any tips on organizing Liquibase for large, complex data models like Data Vault would be greatly appreciated!

    Continue reading...

Compartilhe esta Página