Skip to content

How should I avoid partial migrations in Oracle #1489

Answered by jzabroski
git-youzer asked this question in Q&A
Discussion options

You must be logged in to vote

@git-youzer
The problem is not FluentMigrator, but Oracle. Oracle does not have a transactional DDL. Postgres and SQL Server do. I think what you're experiencing is everyone's reaction when they use Oracle :)

In terms of how to avoid partial migrations, one answer you already guessed at is to cut up a single Up migration into smaller migrations.

However, even SQL Server can have partial upgrades of a database, since most of us run in transaction-per-migration mode. I have done 112 releases with about 500 hotfixes with FluentMigrator, and our secret sauce is that we test our migrations daily using shadow copies of the production database. I am not sure if there is a database cloning featur…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@jzabroski
Comment options

@git-youzer
Comment options

@jzabroski
Comment options

@git-youzer
Comment options

Answer selected by jzabroski
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants