SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Setup the sync process against Large Database


Setup the sync process against Large Database

Author
Message
Amit Kumar-481560
Amit Kumar-481560
SSC Rookie
SSC Rookie (30 reputation)SSC Rookie (30 reputation)SSC Rookie (30 reputation)SSC Rookie (30 reputation)SSC Rookie (30 reputation)SSC Rookie (30 reputation)SSC Rookie (30 reputation)SSC Rookie (30 reputation)

Group: General Forum Members
Points: 30 Visits: 375
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
Sue_H
Sue_H
SSC-Dedicated
SSC-Dedicated (33K reputation)SSC-Dedicated (33K reputation)SSC-Dedicated (33K reputation)SSC-Dedicated (33K reputation)SSC-Dedicated (33K reputation)SSC-Dedicated (33K reputation)SSC-Dedicated (33K reputation)SSC-Dedicated (33K reputation)

Group: General Forum Members
Points: 33320 Visits: 9534
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




Jeff Moden
Jeff Moden
SSC Guru
SSC Guru (506K reputation)SSC Guru (506K reputation)SSC Guru (506K reputation)SSC Guru (506K reputation)SSC Guru (506K reputation)SSC Guru (506K reputation)SSC Guru (506K reputation)SSC Guru (506K reputation)

Group: General Forum Members
Points: 506935 Visits: 44273
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.
If you think its expensive to hire a professional to do the job, wait until you hire an amateur. -- Red Adair

Helpful Links:
How to post code problems
How to post performance problems
Forum FAQs
Jeff Moden
Jeff Moden
SSC Guru
SSC Guru (506K reputation)SSC Guru (506K reputation)SSC Guru (506K reputation)SSC Guru (506K reputation)SSC Guru (506K reputation)SSC Guru (506K reputation)SSC Guru (506K reputation)SSC Guru (506K reputation)

Group: General Forum Members
Points: 506935 Visits: 44273
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.
If you think its expensive to hire a professional to do the job, wait until you hire an amateur. -- Red Adair

Helpful Links:
How to post code problems
How to post performance problems
Forum FAQs
Amit Kumar-481560
Amit Kumar-481560
SSC Rookie
SSC Rookie (30 reputation)SSC Rookie (30 reputation)SSC Rookie (30 reputation)SSC Rookie (30 reputation)SSC Rookie (30 reputation)SSC Rookie (30 reputation)SSC Rookie (30 reputation)SSC Rookie (30 reputation)

Group: General Forum Members
Points: 30 Visits: 375
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

Jeff Moden
Jeff Moden
SSC Guru
SSC Guru (506K reputation)SSC Guru (506K reputation)SSC Guru (506K reputation)SSC Guru (506K reputation)SSC Guru (506K reputation)SSC Guru (506K reputation)SSC Guru (506K reputation)SSC Guru (506K reputation)

Group: General Forum Members
Points: 506935 Visits: 44273
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.
If you think its expensive to hire a professional to do the job, wait until you hire an amateur. -- Red Adair

Helpful Links:
How to post code problems
How to post performance problems
Forum FAQs
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum








































































































































































SQLServerCentral


Search