Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7503513
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T21:15:02+00:00 2026-05-29T21:15:02+00:00

What are the pros and cons of using a dump-file as a basis of

  • 0

What are the pros and cons of using a dump-file as a basis of data and schema migration, as opposed to fully script based or a database delta tool?

The context is that the application is in production, and there is only one production database. The application and database schema are in active development. Critical user data exists in the production database and must be rolled forward with deployment of new versions or fixes.

The solutions being discussed are :

Dump file basis –

  1. Start with a reference point dump file.
  2. Database alter scripts are checked into source control.
  3. Deployment entails loading the dump file and then running the alter scripts

Schema + migration

  1. Entire schema and certain non-user configuration data are stored as DDLs and DMLs in SCM.
  2. Migrations scripts against the latest release’s schema are stored in SCM.
  3. Deployment entails loading the schema then migrating the data. 3.

My intuition is that using a binary format as the basis is bad, but I need to be able to convince others (if that is indeed the case), who argue that it is necessary.


I re-formulated this question to make it easier to answer.

Below is the original question:

I am working with a team on a database driven enterprise application
and looking to improve our process. Currently, there is a lot of
manual process around updating the database on all tiers. The goal is
having automated process for updating the database consistently and in
an automated fashion, (in line with the idea of atomic commits and
closer towards continuous delivery), which would bring numerous
advantages.

I think that the schema (and certain data necessary for application
configuration) should be represented in source control, and in
addition, any scripts necessary to transform and load user data from
the current production database. I have read that it is not advisable
to have a dump file (.dmp) in source control, and intuitively, I agree
strongly. However I am not agreed with by everyone on the project.
The counter argument is that in reality it is not possible, or at
least is too difficult, to not start with a dump file. I am up
against my limit of database knowledge and can’t really debate
meaningfully… I am more a developer and not a database specialist.
The alternative suggested is that alter scripts be kept that alter the
dump to the latest schema.

Can someone help me understand the pros and cons of each approach
little better? Is the dump-based approach necessary, a good idea, or
not a good idea, and why?

A little background that may be relevant: the application is in
production so each new version must import data as a part of the
deployment process, and for obvious reasons on integration and UAT
tiers this should be real data. However this app is not “shipped” and
installed by customers, there is only one instance of production at a
given time, maintained internally. I realize there will be details
specific to my project so the answer will have to address the general
case.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T21:15:04+00:00Added an answer on May 29, 2026 at 9:15 pm

    A lot of bad stuff arises from having different scripts for fresh install and upgrade. I worked for the Oracle E-Business Suite in the early 2000’s and the adpatch tool in my experience eliminated that fatal variation.

    A key technique I absolutely loathed, after Oracle acquired my employer, was insisting that all scripts be completely re-runnable without errors – and runnable with no errors at all. Once we got our patch quality up to snuff I realized it was totally genius.

    Another key technique I learned was having strong database comparison/verification scripts.

    If your schema is in good shape, your datasets will most easily look after themselves.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

What are the pros/cons of using the GIT as opposed to CoMarshalInterThreadInterfaceInStream and CoGetInterfaceAndReleaseStream
TLDR: What are the pros/cons of using an in-memory database vs locks and concurrent
What are the pros and cons of using a file for interprocess communication? Let
What are some pros/cons for using the Reflection.Emit library versus CodeDOM for dynamically generating
What is the pros and cons using IStatelessSession over ISession in NHibernate?
Are there any pros/cons of using the following two alternatives in your action signature:
What's the pros and cons of using a Model-View-Controller model in building your application?
What are the pros and cons of using Qt containers ( QMap , QVector
What are the pros and cons of using either of the following approaches to
What are the pros and cons of using each technology? WCF Web Api is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.