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


Data Base File Swap


Data Base File Swap

Author
Message
sudhirnune
sudhirnune
SSC-Enthusiastic
SSC-Enthusiastic (198 reputation)SSC-Enthusiastic (198 reputation)SSC-Enthusiastic (198 reputation)SSC-Enthusiastic (198 reputation)SSC-Enthusiastic (198 reputation)SSC-Enthusiastic (198 reputation)SSC-Enthusiastic (198 reputation)SSC-Enthusiastic (198 reputation)

Group: General Forum Members
Points: 198 Visits: 252
Hi All,

We have a huge load scheduled every day during that time we have no access / data for end user to access.

We need to plan this to remove the dependency between Load and usage.

The plan is to always Load data to a Load DB and Once Load is done, we need to swap out the Loaded to Current.

Please need your help to understand the steps and also the limitations on with this approach.

Sudhir Nune
dedicatedtosql
dedicatedtosql
SSC-Enthusiastic
SSC-Enthusiastic (119 reputation)SSC-Enthusiastic (119 reputation)SSC-Enthusiastic (119 reputation)SSC-Enthusiastic (119 reputation)SSC-Enthusiastic (119 reputation)SSC-Enthusiastic (119 reputation)SSC-Enthusiastic (119 reputation)SSC-Enthusiastic (119 reputation)

Group: General Forum Members
Points: 119 Visits: 303
You could use database snapshot. Database snap shot will give a snapshot of your database at the point in time you create the snapshot. You can access the snapshot while the load is going on in the source DB. But be aware that creating snapshot will slow down your load. Your load might take a while longer than normal. As all the changed pages in the source database should be moved to the snapshot's sparse file. Once your load is done you can just drop the snapshot.

Also make sure that the snapshot's .ss file must be on a disk that has enough space. As the snapshot file will grow as the data will be loaded into the source database. If you are fine with these limitations snap shot is your best bet.

Once again this is only my opinion. You know what fits your environment the best.
sudhirnune
sudhirnune
SSC-Enthusiastic
SSC-Enthusiastic (198 reputation)SSC-Enthusiastic (198 reputation)SSC-Enthusiastic (198 reputation)SSC-Enthusiastic (198 reputation)SSC-Enthusiastic (198 reputation)SSC-Enthusiastic (198 reputation)SSC-Enthusiastic (198 reputation)SSC-Enthusiastic (198 reputation)

Group: General Forum Members
Points: 198 Visits: 252
Can you please help me with a partition / File swap concept. please
SQL Show
SQL Show
SSChasing Mays
SSChasing Mays (649 reputation)SSChasing Mays (649 reputation)SSChasing Mays (649 reputation)SSChasing Mays (649 reputation)SSChasing Mays (649 reputation)SSChasing Mays (649 reputation)SSChasing Mays (649 reputation)SSChasing Mays (649 reputation)

Group: General Forum Members
Points: 649 Visits: 1078
I do not think partition can server your purpose. Can you share some details here to see whether we have something to propose.

1. How much database size?
2. How much the Load volume will be ? In terms of Insert/update/Delete
3. How long the Load is running now?

Thanks
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