Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Bulk_Logged recovery...

Posted on 2011-03-23
4
Medium Priority
?
433 Views
Last Modified: 2012-05-11
I have some confusion to start using bulk_logged recovery model. currently our db run with FULL recovery, but everyday around 9am - 11am ( 2 hours ), our bulk insert and select into is running. so I'm thinking to change the recovery during this 2 hour time to Bulk_logged.

So when I change the recovery mode to Bulk_Logged at 9am-11am, and if there is some insert or delete or update occurring during this hour, will I lost this data if point in time recovery is needed ?
0
Comment
Question by:motioneye
  • 2
  • 2
4 Comments
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 2000 total points
ID: 35204912
in short: only the bulk-logged statements are lost, not the others.

so, in short, you should not only plan to change the recovery model back to full, but also run a full backup (or differential backup) after that immediately.
0
 

Author Comment

by:motioneye
ID: 35205006
From the Mcsft Link http://msdn.microsoft.com/en-us/library/ms190203.aspx, they claim log backups is enough, Pls confirm
0
 
LVL 143

Assisted Solution

by:Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3] earned 2000 total points
ID: 35205339
yes, except that it will NOT be able to handle the transactions that are actually bulk operations. the data modifications done by that type of statements will only log that they occured, but not which data actually has been modified.
0
 

Author Comment

by:motioneye
ID: 35207462
Thanks angelIII, I understoods
0

Featured Post

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

926 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question