Download presentation
Presentation is loading. Please wait.
Published byDora Houston Modified over 9 years ago
1
Said Salomon timelord@timelordshangout.com
2
I has over 25 year experience as an Information Technology Professional. He has a vast array of abilities in the field in the areas of Network, Desktop Support, DBA, Staff Project Management, Application Software Development, Business Analysis and Quality Assurance. I have Microsoft certifications as a MCTS, MCPS, and MCNPS, and multiple certifications from the Insurance Institute of America. Current Said is a DBA at Unitrin Direct Insurance.
3
DateTopicsLocation 10/13/2010 at 5:30PMSSRS R2 Parallel Data Warehouse Microsoft Malvern Office 10/18/2010 at 6:00PMSystem Tables part 1Live Meeting event 10/26/2010 at 5:30PMDyn Config Packages SQL 2008 R2 Overview Haddon Heights Library (South Jersey) 11/10/2010 at 5:30PMTBAMicrosoft Malvern Office 11/08/2010 - 11/12/2010PASS SummitSeattle, WA 11/15/2010 at 6:00PMSystem Tables part 2Live Meeting event 12/08/2010 at 5:30PMTBAMicrosoft Malvern Office March 2011Philly SQL SaturdayTBA Specializing in Database and Business Intelligence topics for Philly and SJ For More Info: http://www.pssug.org
4
What is Database Snapshot Why use Database Snapshot What can be done with Database Snapshot How does a Database Snapshot work Review basic T-SQL syntax Demo Q&A
5
Microsoft – “A database snapshot is a read- only, static view of a database, called the source database. In Microsoft SQL Server 2005 and later versions, you must use Transact-SQL statements for creating, reverting to, and deleting a database snapshot. However, you can use SQL Server Management Studio to view existing database snapshots.”
6
A database snapshot is a point in time read only snapshot. It looks like a copy of the database but normally takes up less than 10% space.
9
Enterprise only can not backup a snapshot The source database cannot be dropped, detached, or restored. Performance is reduced Snapshots of the model, master, and tempdb databases are prohibited
10
CREATE DATABASE ssAdventureWorks_MySnap ON ( NAME = AdventureWorks_Data, FILENAME = 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\AdventureWorks _MySnap.ss' ) AS SNAPSHOT OF AdventureWorks; GO
11
SELECT * FROM [ssAdventureWorks_MySnap].[HumanResour ces].[Employee]
12
RESTORE DATABASE AdventureWorks from DATABASE_SNAPSHOT = 'ssAdventureWorks_MySnap'; GO
13
DROP DATABASE [ssAdventureWorks_MySnap]
14
Demo
19
Microsoft http://msdn.microsoft.com/en- us/library/ms175158.aspxhttp://msdn.microsoft.com/en- us/library/ms175158.aspx Limts: http://msdn.microsoft.com/en- us/library/ms189940.aspxhttp://msdn.microsoft.com/en- us/library/ms189940.aspx Performance: http://sqlcat.com/whitepapers/archive/2008/0 2/11/database-snapshot-performance- considerations-under-i-o-intensive- workloads.aspx http://sqlcat.com/whitepapers/archive/2008/0 2/11/database-snapshot-performance- considerations-under-i-o-intensive- workloads.aspx http://www.timelordshangout.com http://www.timelordshangout.com
20
DateTopicsLocation 10/13/2010 at 5:30PMSSRS R2 Parallel Data Warehouse Microsoft Malvern Office 10/18/2010 at 6:00PMSystem Tables part 1Live Meeting event 10/26/2010 at 5:30PMDyn Config Packages SQL 2008 R2 Overview Haddon Heights Library (South Jersey) 11/10/2010 at 5:30PMTBAMicrosoft Malvern Office 11/08/2010 - 11/12/2010PASS SummitSeattle, WA 11/15/2010 at 6:00PMSystem Tables part 2Live Meeting event 12/08/2010 at 5:30PMTBAMicrosoft Malvern Office March 2011Philly SQL SaturdayTBA Specializing in Database and Business Intelligence topics for Philly and SJ For More Info: http://www.pssug.org
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.