Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Getting Started with SQL Server 2014 Administration
Getting Started with SQL Server 2014 Administration

Getting Started with SQL Server 2014 Administration: Optimize your database server to be fast, efficient, and highly secure using the brand new features of SQL Server 2014

eBook
€8.99 €18.99
Paperback
€22.99
Subscription
Free Trial
Renews at €18.99p/m

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Table of content icon View table of contents Preview book icon Preview Book

Getting Started with SQL Server 2014 Administration

Chapter 2. Backup and Restore Improvements

We saw in the first chapter that the lines between on-premise and public cloud services have become blurred. The integration between on-premise and off-premise technologies imply that you can now easily implement a backup solution that makes use of both, thus allowing you to maintain up-to-date backups both on-site and off-site. This will allow you to implement a disaster recovery plan that meets strict service-level agreements without having to invest in a Disaster Recovery (DR) site. The DR site can be in the cloud. Depending on your environment, this can significantly reduce the cost of implementing a fully blown disaster recovery site or server room.

There are several new features in SQL Server 2014 that make this possible; they are as follows:

  • Backup to URL

  • Backup to Microsoft Azure

  • Encryption

In this chapter, you will look at how you can make use of the new features and integrate them into your backup and recovery plans to ensure that you maintain...

Database backups to a URL and Microsoft Azure Storage


The ability to backup to a URL was introduced in SQL Server 2012 Service Pack 1 cumulative update package 2. Prior to this, if you wanted to backup to a URL in SQL Server 2012, you needed to use Transact-SQL or PowerShell. SQL Server 2014 has integrated this option into Management Studio too.

The reason for allowing backups to a URL is to allow you to integrate your SQL Server backups with cloud-based storage and store your backups in Microsoft Azure. You saw in the first chapter that you can now place your database files on Microsoft Azure cloud-based storage. By being able to create a backup there, you can keep database backups of your on-premise database in Microsoft Azure. This makes your backups safer and protected in the event that your main site is lost to a disaster as your backups are stored offsite. This can avoid the need for an actual disaster recovery site.

In order to create a backup to Microsoft Azure Storage, you need a...

Restoring a backup stored on Windows Azure Storage


In this section, you will learn how to restore a database using the backup you have stored on Windows Azure Storage:

  1. To carry out the restore, connect to your local instance of SQL Server in Management Studio, right-click on the databases folder, and choose the Restore database option.

  2. This will open the database restore pages. In the Source section of the General page, select the Device option, click on the dropdown and change the backup media type to URL, and click on Add.

  3. In the next screen, you have to specify the Windows Azure Storage account connection information. You will need to choose the storage account to connect to and specify an access key to allow SQL Server to connect to Microsoft Azure. You can get this from the Storage section of the Microsoft Azure portal. After this, you will need to specify a credential to use. In this case, I will use the credential that was created when I took the backup earlier.

  4. Click on Connect to...

SQL Server Managed Backup to Microsoft Azure


Building on the ability to take a backup of a SQL Server database to a URL and Microsoft Azure Storage, you can now set up Managed Backups of your SQL Server databases to Microsoft Azure. It allows you to automate your database backups to the Microsoft Azure Storage. All database administrators appreciate automation, as it frees their time to focus on other projects. So, this feature will be useful to you. It's fully customizable, and you can build your backup strategy around the transaction workload of your database and set a retention policy.

Configuring SQL Server-managed backups to Microsoft Azure

In order to set up and configure Managed Backups in SQL Server 2014, a new stored procedure has been introduced to configure Managed Backups on a specific database. The stored procedure is called smart_admin.sp_set_db_backup. The syntax for the stored procedure is as follows:

EXEC smart_admin.sp_set_db_backup  
     [@database_name = ] 'database name...

Encryption


For the first time in SQL Server, you can encrypt your backups using the native SQL Server backup tool. In SQL Server 2014, the backup tool supports several encryption algorithms, including AES 128, AES 192, AES 256, and Triple DES. You will need a certificate or an asymmetric key when taking encrypted backups. Obviously, there are a number of benefits to encrypting your SQL Server database backups, including securing the data in the database. This can also be very useful if you are using transparent data encryption (TDE) to protect your database's data files. Encryption is also supported using SQL Server Managed Backup to Microsoft Azure.

Creating an encrypted backup

To create an encrypted SQL Server backup, there are a few prerequisites that you need to ensure are set up on the SQL Server.

Creating a database master key for the master database

Creating the database master key is important because it is used to protect the private key certificate and the asymmetric keys that are...

Summary


This chapter has shown some of the new backup features of SQL Server 2014. The ability to backup to Microsoft Azure Storage means that you can implement a robust backup and restore strategy at a relatively lower cost. In the next chapter, you will look at what improvements have been made in the database performance arena.

Left arrow icon Right arrow icon
Download code icon Download Code

What you will learn

  • Design a SQL Server infrastructure combining onpremise servers and Windows Azure Storage
  • Create a backup strategy that allows you to store your SQL Server backup in the Windows Azure cloud
  • Improve database performance by using the InMemory OLTP features
  • Implement the delayed durability feature to improve transaction latency
  • Use a cloudbased replica to build an AlwaysOn Availability Group
  • Learn the other enhancements and new features that can help improve database performance

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Apr 25, 2014
Length: 106 pages
Edition :
Language : English
ISBN-13 : 9781782172420
Vendor :
Microsoft
Category :
Tools :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

Publication date : Apr 25, 2014
Length: 106 pages
Edition :
Language : English
ISBN-13 : 9781782172420
Vendor :
Microsoft
Category :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
€18.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
€189.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts
€264.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total 100.97
SQL Server 2014 Development Essentials
€35.99
Microsoft SQL Server 2014 Business Intelligence Development Beginner's Guide
€41.99
Getting Started with SQL Server 2014 Administration
€22.99
Total 100.97 Stars icon
Banner background image

Table of Contents

6 Chapters
SQL Server 2014 and Cloud Chevron down icon Chevron up icon
Backup and Restore Improvements Chevron down icon Chevron up icon
In-Memory Optimized Tables Chevron down icon Chevron up icon
Delayed Durability Chevron down icon Chevron up icon
AlwaysOn Availability Groups Chevron down icon Chevron up icon
Performance Improvements Chevron down icon Chevron up icon

Customer reviews

Rating distribution
Full star icon Full star icon Full star icon Half star icon Empty star icon 3.6
(5 Ratings)
5 star 20%
4 star 40%
3 star 20%
2 star 20%
1 star 0%
JD (DBA - South Wales) Jun 27, 2014
Full star icon Full star icon Full star icon Full star icon Full star icon 5
The attractive thing about this publication is that it contains a lot of useful and relevant information in just little over 100 pages.For many of us DBAs we're comfortable with SQL Server 2012/2008 and we are hearing a lot of noise in the SQL community about the new features and enhancements that SQL Server 2014 bundles up.For me the book demystified a few apprehensions I had over cloud technology.It guided me through the new functionality with easy to follow instruction and screen shots.Those sceptical about plunging into the depths of Windows Azure, Virtualisation, Always-On etc will find this book a very useful tool in future decision-making. For example, the prospect of housing your data and SQL environments in the "abyss" may be a daunting one - what this book does is highlight the advantages and pinpoints areas that require careful consideration, such as when to use Delayed Durability.Chapter 3 'In-Memory Optimised Tables' is an in-depth topic but the author clearly defines the differing isolation levels and index choices, making it easily understandable for the everyday DBA.The authors personal experiences of using Cloud-based and virtual technology seems to be evident and there is a plethora of useful easy-to-follow descriptions throughout the entire book.It's a compact book, and as the title suggests - its a useful reference for 'getting started' with some of the features SQL 2014 has introduced. I would recommend this to both newbie DBAs and established SQL 2012/2008 DBAs looking to gain an insight into the latest offerings.
Amazon Verified review Amazon
Ian Stirk May 29, 2014
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
Hi,I have written a detailed chapter-by-chapter review of this book on www DOT i-programmer DOT info, the first and last parts of this review are given here. For my review of all chapters, search i-programmer DOT info for STIRK together with the book's title.Another SQL Server 2014 book quickly follows the product's release, how does it fare?This is a small book of less than 100 pages spread over six chapters. The introduction says "This book is for people who want to learn the new features of SQL Server 2014..." this is at odds with the title which doesn't mention it relating to only new features, I wonder how many people will be caught out by this misleading title?People that want to read only about new features may ignore it, and people that want a general administration book may buy it! "Getting Started with SQL Server 2014's New Administration Features" would have been a more honest title.Below is a chapter-by-chapter exploration of the topics covered.Chapter 1 SQL Server 2014 and CloudThe chapter opens with a few definitions, Windows Azure being Microsoft's public cloud offering, and Microsoft Azure SQL Database the underlying database. It notes that using the cloud reduces concerns about hardware resources, and provides improved scalability.The database provides Software as a Service (SaaS) functionality. A step-by-step walkthrough of how to create a Windows Azure SQL database is given, together with its various settings. Connecting to the newly created database via SQL Server Management Studio (SSMS) is shown next. Finally, the process of migration an existing on-premises database to Microsoft Azure is illustrated.The next section discusses storing your SQL Server database files in Microsoft Azure, combining on-premise and cloud storage solutions. The files are stored as blobs in Microsoft Azure. Various benefits include low cost and elastic storage, together with improved High Availability (HA) and Disaster Recovery (DR). There's a step-by-step walkthrough of creating a database that uses cloud storage (including creating the relevant storage account and storage container).The chapter ends with a walkthrough of creating a Microsoft Azure Virtual Machine (VM), instead of building the VM on-premises.All the sections provide walkthroughs with good descriptions and screenshots. All the sub-chapter headings would have been easier to understand if they specified their function e.g. "Integrating Microsoft Azure SQL Database" would have been better as "Storing your SQL Server database files in the cloud"....ConclusionThis book is a short introduction, from an administrator's viewpoint, to the new features of SQL Server 2014. It's generally practical in its approach, containing step-by-step walkthroughs, together with supporting screenshots. It's generally an easy read, with good but limited explanations.The book's title is incorrect, it should reflect the book relates to new features of SQL Server 2014 only. Some people (myself included) would actually prefer a book that contains only the updated features. I can imagine some people looking for an introductory book for general SQL Server administration, getting annoyed at purchasing a book that contains specifically new features only.One of the problems with reviewing this book is the "Getting Started" part of the title, it provides an apology for the lack of depth and omissions. This is compounded by the book's small size, only 114 pages. For example, there's nothing about the new security enhancements (e.g. connect any database, impersonate any login). I wanted more! I had to keep reminding myself this is a "Getting started" book...Although the diagrams are correctly placed, it might have been useful to provide them with titles - making subsequent chapter scanning easier.I'm not sure for whom this book is intended, if you're new to SQL Server administration, you will need a more general book, not just the new features. If you're experienced with SQL Server administration, you probably need a more detailed book - perhaps this is the book you read before the detailed one (or lookup the detail on the Internet)?As a brief introduction to the new administration features of SQL Server 2014, I can recommend this book, but I suspect you'll soon need a follow-on book containing more detail.
Amazon Verified review Amazon
Vaibhav Gupta Jun 21, 2014
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
Hi ,This book provides introduction to new & important features of SQL Server 2014 and helps you understand why your organization should use this tool over previous versions. This book is for professional DBAs who understands basics of DBA practices and now looking forward to learn new features and going to migrate there environment to upgraded version.A good read !!!Regards,Vaibhav Gupta
Amazon Verified review Amazon
A. Zubarev May 06, 2014
Full star icon Full star icon Full star icon Empty star icon Empty star icon 3
I have been working with SQL Server starting from version 6 in late 90s. Ironically, I had never suspected I will end up using SQL Server or using it throughout the rest of my entire career, and I have no plans defecting. The short story is I joined an incubator company which later became a spin-off a large enterprise where there were almost no Microsoft products used (I initially worked on a Mainframe DB2, then on Unix as a C programmer using Informix and Oracle). At that small start up initially like company all the repeated attempts to install an Oracle database by a vendor have failed. Our CEO was enraged, the deadlines were pressing when my fellow contractor brought a set of freshly purchased MSDN CDs one morning into our office. He exchanged a few words I did not catch with our project manager and vanished in the coldness of our server room. Short time later he re-emerged with a smile on his face and a bunch of us emotionless hearing him say we have a SQL Server database setup for us to use in our belated POC. Frankly, our old-school CEO and many other managers took this optimism with a lot of skepticism. Months later the project went live, on time, all written in VB4 and T-SQL code. And it worked very well.Back then our primary goals were data processing speeds, storage capacity, CPU utilization, scaling and transactional sanity. Fast forward into today all the aforementioned concerns remain as valid. However, what changed is that there are more options to tackle these issues up, in different ways, faster and more efficiently if not with a lower budget. What is new and improved under a DBA or developer’s belt in terms of tooling and capabilities Getting Started with SQL Server 2014 Administration book is going to cover.Indeed, the book has the right timing and is right on the spot covering well the unique and most massive advancement in the entire RDBMs world – InMemory data processing, delayed durability And it does not stop there, the reader will get known how to create databases in Windows Azure, backup into the Cloud or restore from it, creating hybrid AlwaysOn environments, performance enhancements and a few more topics. So this is a book SQL Server 2014 Enterprise specific and for a modern DBA.Alas, the book does not cover any other aspects of even a junior DBA, e.g. there is no mention on how to install SQL Server 2014 on premises, securing it up, choosing a backup strategy, monitoring. Likewise, several other topics that are actually new in this build are also amiss as Lock Priorities, T-SQL (1 change), tempdb performance and the new security roles.To continue on the negatives, one general comment I have is that the book has no enough in-depth feature coverage for non Enterprise grade releases, should have more examples, the book should have been expanded beyond the 80 or so pages of useful content to include the management tools overview, performance troubleshooting, auditing, etc. even for a ‘getting started’ book. Thing is, the life of even a novice DBA would be very demanding in terms of achieving acceptable application response time, feature suggestion, or just the time to fix an issue.I am giving this book a 2.5 rounded up out of 5 mark as I can hardly see how it outweighs the benefits of the MSDN help or the waste amount of online articles.Disclaimer: I received the copy of the book for free from the publisher.
Amazon Verified review Amazon
AmazonCustomer Feb 21, 2018
Full star icon Full star icon Empty star icon Empty star icon Empty star icon 2
Just 100 pages and the information are little. Book price is too much.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.