Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
Article Discussions
»
Article Discussions by Author
»
Discuss content posted by Kenneth Fisher
»
Full Backups
43 posts, Page 1 of 5
1
2
3
4
5
»
»»
Full Backups
Rate Topic
Display Mode
Topic Options
Author
Message
Kenneth.Fisher
Kenneth.Fisher
Posted Thursday, July 19, 2012 8:42 PM
Hall of Fame
Group: General Forum Members
Last Login: Yesterday @ 1:16 PM
Points: 3,367,
Visits: 1,567
Comments posted to this topic are about the item
Full Backups
Kenneth Fisher
I strive to live in a world where a chicken can cross the road without being questioned about its motives.
--------------------------------------------------------------------------------
For better, quicker answers on T-SQL questions, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/
For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
Link to my Blog Post -->
www.SQLStudies.com
Post #1332665
WayneS
WayneS
Posted Thursday, July 19, 2012 9:51 PM
SSCertifiable
Group: General Forum Members
Last Login: Yesterday @ 9:12 AM
Points: 6,370,
Visits: 8,235
The full backup will also contain the uncommitted transactions from transaction 4 at the time that the backup finishes. If a restore is necessary, the UNDO portion of the restore will roll back those transactions. Therefore, the full backup will contain transactions from all four of the transactions.
A small error in the question: transaction 1 never is committed, and transaction 2 is committed twice (which can't happen). Obviously, one of those transaction 2 commits is for transaction 1.
Edit: see
http://technet.microsoft.com/en-us/magazine/2009.02.logging.aspx
for more about the UNDO portion of recovery.
Wayne
Microsoft Certified Master: SQL Server 2008
If you can't explain to another person how the code that you're copying from the internet works, then
DON'T USE IT
on a production system! After all,
you
will be the one supporting it!
Links:
For better assistance in answering your questions
,
How to ask a question
,
Performance Problems
,
Common date/time routines
,
CROSS-TABS and PIVOT tables Part 1
&
Part 2
,
Using APPLY Part 1
&
Part 2
,
Splitting Delimited Strings
Post #1332676
Lokesh Vij
Lokesh Vij
Posted Thursday, July 19, 2012 9:54 PM
Ten Centuries
Group: General Forum Members
Last Login: Yesterday @ 8:24 AM
Points: 1,176,
Visits: 1,253
+1
I think, there should be transaction 1 commiting before Full backup reading ends.
~ Lokesh Vij
Guidelines for quicker answers on T-SQL question
Guidelines for answers on Performance questions
Link to my Blog Post -->
www.SQLPathy.com
Follow me
@Twitter
Post #1332678
Lokesh Vij
Lokesh Vij
Posted Thursday, July 19, 2012 10:00 PM
Ten Centuries
Group: General Forum Members
Last Login: Yesterday @ 8:24 AM
Points: 1,176,
Visits: 1,253
Further to what Wayne has written:
In order to use this full back-up to restore the datbase, we also need to apply the transaction log on top of the restore. This is required for all the transactions that were committed after the full backup reading ends.
~ Lokesh Vij
Guidelines for quicker answers on T-SQL question
Guidelines for answers on Performance questions
Link to my Blog Post -->
www.SQLPathy.com
Follow me
@Twitter
Post #1332680
mdaughtree
mdaughtree
Posted Thursday, July 19, 2012 10:35 PM
SSC Rookie
Group: General Forum Members
Last Login: Tuesday, May 21, 2013 10:25 PM
Points: 32,
Visits: 58
Not a good question: because by your reasoning T1 would also be rolled back as well therefore
The changes from which transactions will be contained within the full backup?
All of them :)
Post #1332689
vk-kirov
vk-kirov
Posted Thursday, July 19, 2012 11:34 PM
Hall of Fame
Group: General Forum Members
Last Login: Today @ 6:30 AM
Points: 3,192,
Visits: 4,151
WayneS (7/19/2012)
see
http://technet.microsoft.com/en-us/magazine/2009.02.logging.aspx
for more about the UNDO portion of recovery
And see another brilliant Paul Randal's article for the detailed explanation about the subject of the QotD:
Understanding SQL Server Backups
Post #1332697
Koen Verbeeck
Koen Verbeeck
Posted Friday, July 20, 2012 12:38 AM
SSCrazy Eights
Group: General Forum Members
Last Login: Today @ 2:11 AM
Points: 9,378,
Visits: 6,473
I like the intent of the question, but alas poorly executed.
How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?
Member of
LinkedIn
. My blog at
LessThanDot
.
MCSA SQL Server 2012 - MCSE Business Intelligence
Post #1332719
Mookies
Mookies
Posted Friday, July 20, 2012 1:25 AM
SSC Journeyman
Group: General Forum Members
Last Login: Friday, May 17, 2013 5:16 AM
Points: 88,
Visits: 52
+1
Post #1332746
Christian Buettner-167247
Christian Buettner-167247
Posted Friday, July 20, 2012 1:57 AM
SSCrazy
Group: General Forum Members
Last Login: Yesterday @ 6:12 AM
Points: 2,526,
Visits: 3,620
I thought I had 2 Choices:
12:18 AM - Full backup
data
reading of QotDDatabase ends
12:19 AM - Transaction 4 on QotDDatabase commits
12:19 AM - Full backup
transaction log
reading of QotDDatabase happens
12:20 AM - Full backup of QotDDatabase ends
12:18 AM - Full backup
data
reading of QotDDatabase ends
12:19 AM - Full backup
transaction log
reading of QotDDatabase happens
12:19 AM - Transaction 4 on QotDDatabase commits
12:20 AM - Full backup of QotDDatabase ends
Just two of the possible interpretations though...
Best Regards,
Chris Büttner
Post #1332756
Stewart "Arturius" Campbell
Stewart "Arturius" Campbell
Posted Friday, July 20, 2012 2:26 AM
Hall of Fame
Group: General Forum Members
Last Login: Yesterday @ 8:31 AM
Points: 3,129,
Visits: 4,312
Koen Verbeeck (7/20/2012)
I like the intent of the question, but alas poorly executed.
+2
____________________________________________
Space, the final frontier? not any more...
All limits henceforth are self-imposed.
“libera tute vulgaris ex”
Post #1332768
« Prev Topic
|
Next Topic »
43 posts, Page 1 of 5
1
2
3
4
5
»
»»
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.