Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Data Base File Swap Expand / Collapse
Author
Message
Posted Saturday, July 13, 2013 6:42 AM
SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: Thursday, March 6, 2014 11:47 PM
Points: 86, Visits: 214
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
Post #1473291
Posted Saturday, July 13, 2013 1:22 PM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Monday, April 28, 2014 5:50 PM
Points: 37, 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.
Post #1473310
Posted Tuesday, July 16, 2013 3:44 PM
SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: Thursday, March 6, 2014 11:47 PM
Points: 86, Visits: 214
Can you please help me with a partition / File swap concept. please
Post #1474317
Posted Tuesday, July 16, 2013 10:06 PM


Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Friday, March 21, 2014 9:46 AM
Points: 387, Visits: 1,078
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
Post #1474364
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse