Development database synchronization.

  • We have a production 10TB database.

    We need a copy of the production database for development team and the dev database should be updated with the change in prod daily during night hours.

    What is the possible method we can use for this.

    Tanx 😀

  • Does the dev database need to be read-write or read-only?



    Microsoft Certified Master - SQL Server 2008
    Follow me on twitter: @keith_tate

    Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • it should be read-write, but only one way synchronize from prod to dev.

    Tanx 😀

  • Well that limits your options to:

    1. backup and restore nightly (not a great option with a 10TB database)

    2. Replication (Transactional)

    3. SAN Replication if applicable

    4. 3rd party tool (like Red Gate Compare Tools) to script out the daily DML (if any) and DDL changes that took place over the day.

    #1 doesn't seem like a good fit

    #2 may have an impact on the performance of your production server

    #3 good option, but you would have to talk to your SAN Admin (assuming you have one)

    #4 Depends on the amount of data that changes daily



    Microsoft Certified Master - SQL Server 2008
    Follow me on twitter: @keith_tate

    Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • If we chose transactional replication what happens to the changes made in dev databases.

    Tanx 😀

  • I forgot to mention two other options:

    CDC

    Change Tracking

    Here is a great article describing these options (compared to Transactional Replication):

    http://www.brentozar.com/archive/2013/09/transactional-replication-change-tracking-data-capture/



    Microsoft Certified Master - SQL Server 2008
    Follow me on twitter: @keith_tate

    Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • Transactional replication is designed for read-only subscribers, but it is not enforced. So, you can still write to the database, but then you could have conflict issues.



    Microsoft Certified Master - SQL Server 2008
    Follow me on twitter: @keith_tate

    Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • Eswin (10/28/2013)


    We have a production 10TB database.

    We need a copy of the production database for development team and the dev database should be updated with the change in prod daily during night hours.

    What is the possible method we can use for this.

    Why does a dev DB needs to be refreshed with prod data on a daily basis?.

    Even, If they modify or fix a issue or developing a new module i dont think they require latest copy on a daily basis. Considering it's size not recommed from my side.

    Regards
    Durai Nagarajan

Viewing 8 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic. Login to reply