Setup the sync process against Large Database

  • Hi All,

    The database size is 150TB which required to sync in development from production environment.

    Please let me know if anyone has suggestion on this issue.

    Thanks,
    Amit Dhuper

  • Amit Kumar-481560 - Tuesday, September 19, 2017 11:51 AM

    Hi All,

    The database size is 150TB which required to sync in development from production environment.

    Please let me know if anyone has suggestion on this issue.

    Thanks,
    Amit Dhuper

    It depends on what is available in your environment. SAN snapshot backups would be good if available.
    What is the disaster recovery plan for the database?

    Sue

  • Amit Kumar-481560 - Tuesday, September 19, 2017 11:51 AM

    Hi All,

    The database size is 150TB which required to sync in development from production environment.

    Please let me know if anyone has suggestion on this issue.

    Thanks,
    Amit Dhuper

    To be honest, if you have a database of that size and you don't know how to do this, I strongly recommend that you hire a good consultant that does know how to set it up.

    As for being such a size, I've been through this before with folks.  Run the following code from the database in question and post the results, please.


     SELECT size = SUM(size)
       FROM sys.database_files
      WHERE [type] in (0,2,4)
    ;

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)

  • Any feedback on the code I posted?

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)

  • Jeff Moden - Wednesday, September 20, 2017 10:28 AM

    Any feedback on the code I posted?

    I would appreciate for asking update on this post. 
    The below value has been given as per assumption for find out the solution: 
    102934848
    Please let me know if you need any other details.
    Thanks,
    Amit Dhuper

  • Amit Kumar-481560 - Friday, September 22, 2017 11:31 AM

    Jeff Moden - Wednesday, September 20, 2017 10:28 AM

    Any feedback on the code I posted?

    I would appreciate for asking update on this post. 
    The below value has been given as per assumption for find out the solution: 
    102934848
    Please let me know if you need any other details.
    Thanks,
    Amit Dhuper

    I might be missing something but 102934848 / 128.0 = 804,178MB = 804GB, not 150TB for the data.  Why do you think you have 150TB (Terabytes)?  Have your log files grown to huge sizes?  Or did you just forget to change the current database as instructed before you ran the code?

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)

Viewing 6 posts - 1 through 5 (of 5 total)

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