Home > Store

Microsoft SQL Server 2012 Management and Administration, 2nd Edition

Register your product to gain access to bonus material or receive a coupon.

Microsoft SQL Server 2012 Management and Administration, 2nd Edition

eBook (Watermarked)

  • Your Price: $31.99
  • List Price: $39.99
  • Includes EPUB and PDF
  • About eBook Formats
  • This eBook includes the following formats, accessible from your Account page after purchase:

    ePub EPUB The open industry format known for its reflowable content and usability on supported mobile devices.

    Adobe Reader PDF The popular standard, used most often with the free Acrobat® Reader® software.

    This eBook requires no passwords or activation to read. We customize your eBook by discreetly watermarking it with your name, making it uniquely yours.


  • Copyright 2013
  • Dimensions: 5-3/8" x 8-1/4"
  • Edition: 2nd
  • eBook (Watermarked)
  • ISBN-10: 0-13-297767-2
  • ISBN-13: 978-0-13-297767-8

If you need to deploy, manage, or secure Microsoft SQL Server 2012, this is the complete, fast-paced, task-based reference you’ve been searching for. Authored by a worldclass expert on running SQL Server in the enterprise, this book goes far beyond the basics, taking on the complex tasks that DBAs need to make the most of Microsoft’s first cloud-enabled database platform. Designed for maximum practical usability, it’s packed with expert tips and up-to-date real-world configuration guidance you simply won’t find anywhere else.

As someone who helped influence the design of SQL Server 2012 and drawing on many months of beta testing, Ross Mistry provides immediately usable solutions for installation and upgrades, management and monitoring, performance and availability, security, consolidation, virtualization, troubleshooting, and more. Mistry identifies new features and corresponding best practices in every chapter, helping you take full advantage of new SQL Server innovations ranging from private cloud support to AlwaysOn Availability Groups.

Understand how to:

  • Efficiently install or upgrade the SQL Server 2012 database engine
  • Administer and configure database engine settings, storage, I/O, and partitioning
  • Transfer data on-premise or to the cloud
  • Manage and optimize indexes
  • Learn how to consolidate, virtualize and optimize SQL Server for Private Clouds
  • Harden and audit SQL Server 2012 environments
  • Administer security and authorization, including new Contained Databases
  • Encrypt data and communications
  • Design and deploy new AlwaysOn high-availability and disaster recovery features
  • Implement maintenance best practices, including Policy-Based Management

Sample Content

Table of Contents

Introduction     1
Part I: SQL Server 2012 Database Engine Administration and Management Topics

1 Installing or Upgrading the Database Engine to SQL Server 2012     13
What’s New for Installation with SQL Server 2012?     14
Preplanning and Preparing a SQL Server 2012 Server Database Engine Installation     16
Gathering Additional Information Necessary to Proceed     25
Installing a New Installation of SQL Server 2012     31
Upgrading the Database Engine to SQL Server 2012     40
Finalizing the SQL Server 2012 Installation or Upgrade     51
Installing SQL Server 2012 on Windows Server Core     53
Managing SQL Server 2012 Installations     62
Summary     64
Best Practices     64

2 Administering and Configuring the Database Engine Settings     67
What’s New for DBAs When Administering the Database Engine on SQL Server 2012     68
Administering SQL Server 2012 Server Properties     68
Administering the SQL Server Database Engine Folders     87
Administering Database Properties     98
SQL Server Database Engine Management Tasks     114
Administering the SQL Server Agent.     119
Summary     123
Best Practices     124

3 Administering Storage, I/O, and Partitioning     127
What’s New for DBAs When Administering Storage on SQL Server 2012     128
Storage Hardware Overview     129
Designing and Administering Storage on SQL Server 2012     140
Designing for BLOB Storage     158
Designing and Administrating Partitions in SQL Server 2012     164
Data Compression in SQL Server 2012     172
Summary     175
Best Practices     175

4 Creating Packages and Transferring Data On-Premise and to the Cloud.     179
What’s New in Integration Services for SQL Server 2012.     180
Options for Creating Packages     181
Integration Services Packages     182
Developing Packages     189
Enhancing Packages     199
Deploying and Running IntegrationServices Packages     212
Transferring Data with Integration Services     221
Moving Data to the Cloud     224
Summary     228
Best Practices     228

5 Managing and Optimizing SQL Server 2012 Indexes     229
What’s New for Indexes with SQL Server 2012     229
The Importance of Indexes     230
How Indexes Work     230
General Index Characteristics     238
Index Design and Strategy     242
Administering Indexes     247
Configuring Indexes for Maximum Performance     268
Summary     280
Best Practices     280

6 Backing Up and Restoring SQL Server 2012 Databases     283
What’s New for Backup and Recovery with SQL Server 2012?     283
The Importance of Backups     285
Backing Up and Recovering the Database Engine     289
Backup and Recovery Impact on Other Database Engine Features     324
Summary     330
Best Practices     330

Part II: Hardening, Auditing, and Securing SQL Server 2012

7 Hardening and Auditing a SQL Server 2012 Implementation     335
What’s New for Hardening and Auditing SQL Server 2012 Implementation?     336
Windows and SQL Server Authentication     337
Using Configuration Tools to Harden the Installation     343
Hardening SQL Server Service Accounts     350
Installing Service Packs and Critical Fixes     355
Leveraging SQL Server Auditing Strategies     357
Monitoring Events with SQL Server Audit     359
Additional SQL Server Hardening Recommendations     373
Summary     379
Best Practices     380

8 Administering SQL Server 2012 Security and Authorization     383
What’s New for Security and Authorization with SQL Server 2012?     383
SQL Server Security     385
Security Management DDL     398
Administering SQL Server Security     404
Contained Database Authentication     421
Summary     427
Best Practices     427

9 Encrypting SQL Server 2012 Data and Communications     429
What’s New for Encryption with SQL Server 2012?     430
Encryption in SQL     431
Column Encryption     432
Securing the Data Storage     435
Extensible Key Management     444
Transparent Data Encryption     446
Securing Connections     452
Using Certificates     456
SQL Server and BitLocker Drive Encryption     465
Configuring BitLocker Drive Encryption on a SQL Server System     469
Summary     478
Best Practices     478

Part III: SQL Server 2012 AlwaysOn High-Availability and Disaster Recovery Alternatives

10 Implementing and Managing AlwaysOn Availability Groups     483
SQL Server 2012 AlwaysOn Availability Groups Overview     484
Implementing AlwaysOn Availability Groups     490
Managing AlwaysOn Availability Groups     509
Monitoring and Troubleshooting AlwaysOn Availability Groups     520
Summary     525
Best Practices     526

11 Implementing and Managing AlwaysOn Failover Cluster Instances     527
SQL Server 2012 AlwaysOn Failover Cluster Instances Overview     527
What’s New for SQL Server 2012 AlwaysOn Failover Cluster Instances?     528
Additional Elements of AlwaysOn Failover Cluster Instances     537
Implementing a Single-Instance SQL Server 2012 Failover Cluster.     544
Implementing a Multiple-Instance SQL Server 2012 Failover Cluster     564
Multi-subnet SQL Server 2012 Failover Cluster Overview     568
Implementing Multi-subnet SQL Server 2012 Failover Cluster     571
Managing Failover Clusters from a SQL Server 2012 Perspective     574
Verifying the Status of Clustered Service and Applications, Nodes, Storage, and Networks     574
Managing Failover Clusters from a Windows Server 2008 R2 Perspective     580
Summary     583
Best Practices     583
 12 Implementing and Managing Database Mirroring     587
SQL Server 2012 Database Mirroring Overview     588
Combining Database Mirroring with Other SQL Server 2012 Technologies     596
Implementing a Database Mirroring Session     599
Managing a Database Mirroring Session     607
Monitoring and Troubleshooting a Database Mirroring Session     614
Summary     618
Best Practices     619

13 Implementing and Managing Replication     621
SQL Server 2012 Replication Essentials     622
Implementing SQL Server Replication     639
Managing SQL Server 2012 Replication     667
Monitoring and Troubleshooting SQL Server Replication     670
Summary     672
Best Practices     672

Part IV: Performance Tuning, Monitoring, Troubleshooting, and Maintenance

14 Performance Tuning and Troubleshooting SQL Server 2012     677
Platform Troubleshooting and Optimization     680
Database Troubleshooting and Optimization     691
Application Optimization and Troubleshooting     714
Introducing Extended Events to Troubleshoot SQL Server     718
Summary     726
Best Practices     726

15 Monitoring SQL Server 2012.     729
What’s New for Monitoring in SQL Server 2012?     730
Gaining Quick Insight into a SQL Server System     731
The Data Collector and the Management Data Warehouse     744
SQL Server Utilities     757
Creating Operators and Sending Email Alerts     763
Using the Windows Server 2008 R2 Performance
Monitoring Tools     769
Additional Tools to Monitor SQL Server 2012     776
Summary     777
Best Practices     777

16 SQL Server 2012 Maintenance Practices     779
What’s New for Maintenance with SQL Server 2012?     779
Establishing a SQL Server Maintenance Plan     780
Creating a Maintenance Plan     792
Establishing Maintenance Schedules for SQL Server     805
Summary     807
Best Practices     807

Part V: Multi-Instance Management, Consolidation, and Private Clouds

17 Implementing and Managing Policy-Based Management     811
Introduction to Policy-Based Management     811
Policy-Based Management Concepts     813
Implementing Policy-Based Management     819
Monitoring and Enforcing Best Practices by Using Policy-Based Management     830
Summary     836
Best Practices     836

18 Managing Workloads with Resource Governor     839
What’s New for Resource Governor in SQL Server 2012     840
Overview of Resource Governor Concepts, Workflow, and Scenarios     841
Implementing and Configuring Resource Governor     845
Creating a Workload Group     852
Understanding Default Transact-SQL Syntax with Resource Governor     858
Managing Resource Governor     860
Monitoring Resource Governor     862
Summary     867
Best Practices     868

19 Consolidation, Virtualization, and Private Clouds     869
Understanding Consolidation, Virtualization, and Private Cloud Strategies     870
Planning Your Implementation of Hyper-V     878
Installation of the Microsoft Hyper-V Server Role     883
Becoming Familiar with the Hyper-V Administrative Console     886
Installing a SQL Server 2012 Guest Operating System Session     889
Modifying SQL Server 2012 Guest Session Configuration Settings     893
Launching a Hyper-V Guest Session     898
Using Snapshots of Guest Operating System Sessions     900
Optimizing SQL Server 2012 for Private Cloud     903
Summary     905
Best Practices     905
Index     909


Submit Errata

More Information

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information

To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.


Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.


If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information

Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.


This site is not directed to children under the age of 13.


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information

If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information

Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents

California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure

Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact

Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice

We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020