1. Trang chủ
  2. » Công Nghệ Thông Tin

Professional Microsoft SQL Server 2008 Administration ppt

916 1,1K 1

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 916
Dung lượng 18,16 MB

Nội dung

Professional Microsoft ® SQL Server ® 2008 Administration www.wrox.com $49.99 USA $54.99 CAN Wrox Professional guides are planned and written by working programmers to meet the real-world needs of programmers, developers, and IT professionals. Focused and relevant, they address the issues technology professionals face every day. They provide examples, practical solutions, and expert education in new technologies, all designed to help programmers do a better job. Recommended Computer Book Categories Database Management General ISBN: 978-0-470-24796-9 SQL Server 2008 represents a significant jump forward in scalability and performance. Database administrators — and developers as well — will need to master new methods for effectively managing increasingly large and complex SQL Server environments. This author team of SQL Server experts arms you with unique tips, tricks, and workarounds, including managing and monitoring SQL Server, automating administration, clustering, performance tuning, handling backup and recovery, and more. You’ll learn the various tools that are available to you with the 2008 release, as well as new features such as Performance Studio, Change Data Capture, Policy-based Management, and Query Governor. With a solid understanding of SQL Server 2008, you’ll be able to confidently handle even the most difficult SQL Server admin issues. What you will learn from this book ● Best practices for SQL Server 2008 installation ● Tips for troubleshooting and securing the database engine ● How to automate SQL Server ● Ways to index your database ● Methods for monitoring your SQL Server instance ● How to performance tune your SQL Server instance Who this book is for This book is for experienced database administrators who are interested in learning best pratices for administering SQL Server 2008. Enhance Your Knowledge Advance Your Career Microsoft ® SQL Server ® 2008 Administration Knight, Patel, Snyder, LoForte, Wort Professional subtitle spine=1.728" Professional Microsoft ® SQL Server ® 2008 Administration Brian Knight, Ketan Patel, Wayne Snyder, Ross LoForte, Steven Wort Updates, source code, and Wrox technical support at www.wrox.com Wrox Programmer to Programmer TM Wrox Programmer to Programmer TM Professional Microsoft ® SQL Server ® 2008 Administration Enhance Your Knowledge Advance Your Career Professional Microsoft SQL Server 2008 Integration Services 978-0-470-24795-2 This book shows developers how to master the 2008 release of SSIS, covering topics including data warehousing with SSIS, new methods of managing the SSIS platform, and improved techniques for ETL operations. Professional SQL Server 2008 Reporting Services 978-0-470-24201-8 This book teaches solutions architects, designers, and developers how to use Microsoft’s reporting platform to create reporting and business intelligence solutions. Professional Microsoft SQL Server 2008 Analysis Services 978-0-470-24798-3 Professional Microsoft SQL Server 2008 Analysis Services shows readers how to build data warehouses and multidimensional databases, query databases, and use Analysis Services and other components of SQL Server to provide end-to-end solutions. Professional Microsoft SQL Server 2008 Programming 978-0-470-25702-9 This updated new edition of Wrox’s best-selling SQL Server book has been expanded to include coverage of SQL Server 2008’s new datatypes, new indexing structures, manageability features, and advanced time-zone handling. Professional Microsoft SQL Server 2008 Administration 978-0-470-24796-9 A how-to guide for experienced database administrators, this book is loaded with unique tips, tricks, and workarounds for handling the most difficult SQL Server administration issues. The authors discuss data capture, performance studio, Query Governor, and new techniques for monitoring and policy management. Beginning Microsoft SQL Server 2008 Programming 978-0-470-25701-2 This comprehensive introduction to SQL Server covers the fundamentals and moves on to discuss how to create and change tables, manage keys, write scripts, work with stored procedures, and much more. Beginning T-SQL with Microsoft SQL Server 2005 and 2008 978-0-470-25703-6 Beginning T-SQL with Microsoft SQL Server 2005 and 2008 provides a comprehensive introduction to the T-SQL programming language, with concrete examples showing how T-SQL works with both SQL Server 2005 and SQL Server 2008. Beginning Database Design Solutions 978-0-470-38549-4 Beginning Database Design Solutions introduces IT professionals—both DBAs and database developers—to database design. It explains what databases are, their goals, and why proper design is necessary to achieve those goals. It tells how to decide what should be in a database to meet the application’s requirements. It tells how to structure the database so it gives good performance while minimizing the chance for error. Get more out of WROX.com Programmer to Programmer ™ Interact Take an active role online by participating in our P2P forums Wrox Online Library Hundreds of our books are available online through Books24x7.com Wrox Blox Download short informational pieces and code to keep you up to date and out of trouble! Chapters on Demand Purchase individual book chapters in pdf format Join the Community Sign up for our free monthly newsletter at newsletter.wrox.com Browse Ready for more Wrox? We have books and e-books available on .NET, SQL Server, Java, XML, Visual Basic, C#/ C++, and much more! Contact Us. We always like to get feedback from our readers. Have a book idea? Need community support? Let us know by e-mailing wrox-partnerwithus@wrox.com spine=1.728" Knight ffirs.tex V1 - 10/01/2008 4:16am Page i Professional Microsoft  SQL Server  2008 Administration Introduction xxix Chapter 1: SQL Server 2008 Architecture 1 Chapter 2: SQL Server 2008 Installation Best Practices 35 Chapter 3: Upgrading SQL Server 2008 Best Practices 63 Chapter 4: Managing and Troubleshooting the Database Engine 97 Chapter 5: Automating SQL Server 129 Chapter 6: Integration Services Administration and Performance Tuning 175 Chapter 7: Analysis Services Administration and Performance Tuning 207 Chapter 8: Administering the Development Features 237 Chapter 9: Securing the Database Engine 329 Chapter 10: Change Management 383 Chapter 11: Configuring the Server for Optimal Performance 413 Chapter 12: Optimizing SQL Server 2008 455 Chapter 13: Monitoring Your SQL Server 497 Chapter 14: Performance Tuning T-SQL 555 Chapter 15: Indexing Your Database 605 Chapter 16: Replication 653 Chapter 17: Database Mirroring 683 Chapter 18: Backup and Recovery 731 Chapter 19: SQL Server 2008 Log Shipping 779 Chapter 20: Clustering SQL Server 2008 807 Index 839 Knight ffirs.tex V1 - 10/01/2008 4:16am Page ii Knight ffirs.tex V1 - 10/01/2008 4:16am Page iii Professional Microsoft  SQL Server  2008 Administration Knight ffirs.tex V1 - 10/01/2008 4:16am Page iv Knight ffirs.tex V1 - 10/01/2008 4:16am Page v Professional Microsoft  SQL Server  2008 Administration Brian Knight Ketan Patel Wayne Snyder Ross LoForte Steven Wort Wiley Publishing, Inc. Knight ffirs.tex V1 - 10/01/2008 4:16am Page vi Professional Microsoft  SQL Server  2008 Administration Published by Wiley Publishing, Inc. 10475 Crosspoint Boulevard Indianapolis, IN 46256 www.wiley.com Copyright © 2009 by Wiley Publishing, Inc., Indianapolis, Indiana Published simultaneously in Canada ISBN: 978-0-470-24796-9 Manufactured in the United States of America 10987654321 Library of Congress Cataloging-in-Publication Data Microsoft SQL server 2008 administration / Brian Knight [et al.]. p. cm. Includes index. ISBN 978-0-470-24796-9 (paper/website) 1. SQL server. 2. Database management. I. Knight, Brian. QA76.9.D3M57366 2008 005.75’85 — dc22 2008037353 No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as permitted under Sections 107 or 108 of the 1976 United States Copyright Act, without either the prior written permission of the Publisher, or authorization through payment of the appropriate per-copy fee to the Copyright Clearance Center, 222 Rosewood Drive, Danvers, MA 01923, (978) 750-8400, fax (978) 646-8600. Requests to the Publisher for permission should be addressed to the Legal Department, Wiley Publishing, Inc., 10475 Crosspoint Blvd., Indianapolis, IN 46256, (317) 572-3447, fax (317) 572-4355, or online at www.wiley.com/go/permissions . Limit of Liability/Disclaimer of Warranty: The publisher and the author make no representations or warranties with respect to the accuracy or completeness of the contents of this work and specifically disclaim all warranties, including without limitation warranties of fitness for a particular purpose. No warranty may be created or extended by sales or promotional materials. The advice and strategies contained herein may not be suitable for every situation. This work is sold with the understanding that the publisher is not engaged in rendering legal, accounting, or other professional services. If professional assistance is required, the services of a competent professional person should be sought. Neither the publisher nor the author shall be liable for damages arising herefrom. The fact that an organization or Website is referred to in this work as a citation and/or a potential source of further information does not mean that the author or the publisher endorses the information the organization or Website may provide or recommendations it may make. Further, readers should be aware that Internet Websites listed in this work may have changed or disappeared between when this work was written and when it is read. For general information on our other products and services please contact our Customer Care Department within the United States at (800) 762-2974, outside the United States at (317) 572-3993 or fax (317) 572-4002. Trademarks: Wiley, the Wiley logo, Wrox, the Wrox logo, Wrox Programmer to Programmer, and related trade dress are trademarks or registered trademarks of John Wiley & Sons, Inc. and/or its affiliates, in the United States and other countries, and may not be used without written permission. Microsoft and SharePoint are registered trademarks of Microsoft Corporation in the United States and/or other countries. All other trademarks are the property of their respective owners. Wiley Publishing, Inc., is not associated with any product or vendor mentioned in this book. Wiley also publishes its books in a variety of electronic formats. Some content that appears in print may not be available in electronic books. Knight fabout.tex V1 - 10/01/2008 4:21am Page vii About the Authors Brian Knight, SQL Server MVP, MCSE, MCDBA, is the co-founder of SQLServerCentral.com and Jump- startTV.com. Brian is a principal consultant and owner of Pragmatic Works. He runs the local SQL Server users group (JSSUG) in Jacksonville, Florida, and was on the Board of Directors of the Profes- sional Association for SQL Server (PASS). Brian is a contributing columnist for SQL Server Standard, maintains a regular column for the database website SQLServerCentral.com, and does regular webcasts at Jumpstart TV. He is the author of nine SQL Server books. Brian is a speaker at numerous confer- ences, including PASS, SQL Connections, and TechEd, and many code camps. His blog can be found at www.pragmaticworks.com . Brian spends weekends practicing to be an amateur surgeon and proceeds from this book will help pay for the mobile CAT scan for his van. Ketan Patel, B.E., electronics engineering, MCSE, MCDBA, is a senior development manager for the Business Intelligence Center of Excellence group at Microsoft. He has worked with SQL Server and other Microsoft technologies for nearly nine years. Ketan has also spoken at TechEd. He spends his spare time with his family and friends, playing cricket and watching NFL. Wayne Snyder is recognized worldwide as a SQL Server expert and Microsoft Most Valued Professional (MVP), with over 25 years of experience in project management, database administration, software design, performance measurement, and capacity planning. He is a popular consultant, trainer, writer, and speaker, and produces a series of Web-based seminars on SQL Server 2005. Wayne has edited many SQL Server books, has SQL Training CDs with Learnkey, is president of PASS, the Professional Association for SQL Server ( www.sqlpass.org ), plays keyboard for a cover band named SoundBar- rier ( www.soundbarrierband.com ), and is a managing consultant for Mariner, a Business Intelligence Company ( www.mariner-usa.com ). Ross LoForte is a technical architect at the Microsoft Technology Center Chicago, focused on Microsoft SQL Server solutions. Ross has more than 16 years of experience in business development, project man- agement, and designing SQL architecture solutions. For the past eight years, Ross has been working with the Microsoft Technology Centers, and has led architecture design and proof-of-concept engagements for Microsoft’s largest and most strategic customers to design enterprise, mission-critical SQL Server solutions. Ross is a SQL Server instructor at DePaul University in Chicago, and regularly presents at TechEd, SQL PASS, Gartner, TDWI, and other conferences. A published author, he has been active with the Professional Association for SQL Server, the Chicago SQL Server Users Group, and the SQL Server community for many years. Steven Wort has been working with SQL Server for the past 14 years. He spent much of that time working as a freelance application developer and database architect building VB and Web applications on SQL Server for many of London’s largest financial institutions. He moved to the United States nine years ago, joining Microsoft over seven years ago. After three years working in PSS on the SIE team, he moved over to the SQL Server Product group, spending a year working on SQL Server scalability, followed by a year working with the SQL Playback team. Two years ago Steven moved to the Windows division, where he started work on the SQL Server side of the Watson system. When he is not involved with technology, Steven can be found doing something active somewhere outdoors in the Pacific Northwest. Geoff Hiten, a Microsoft MVP, is a senior SQL Server consultant based in Atlanta. Geoff began working with SQL Server in 1992 with version 4.2 and has used every version since. He specializes in high-availability and high-performance SQL systems. Recent projects include: system upgrades, SQL Server platform migrations, performance tuning, custom reporting solutions, and database strategy implementations. Geoff is currently on the leadership team of the Atlanta area Microsoft Database Forum Knight fabout.tex V1 - 10/01/2008 4:21am Page viii About the Authors Users group (AtlantaMDF) and can be found lurking in the halls at PASS (Professional Association for SQL Server) Community Summit events. In addition, Geoff has been a Subject Matter Expert for Microsoft Training Curriculum materials and has authored articles, white papers, and podcasts on SQL Server. K. Brian Kelley (MCSE, Security+ , CISA) is a systems and security architect for AgFirst Farm Credit Bank. At AgFirst he provides infrastructure and security guidance with respect to Windows-based tech- nologies including Active Directory, Internet Information Server, and Microsoft SQL Server. Brian, author of Start to Finish Guide to SQL Server Performance Monitoring and contributing author for How to Cheat at Securing SQL Server 2005, is a regular columnist and blogger at SQLServerCentral.com focusing primarily on SQL Server security. He is also a frequent contributor for SQL Server Standard Magazine. Brian is a member of the Professional Association of SQL Server (PASS) and the Information Systems Audit and Control Association (ISACA). He is also active in the Midlands PASS chapter, an official PASS chapter for South Carolina. viii [...]... to SQL Server 2008 In-Place Upgrading Side-by-Side Upgrade In-Place Upgrade versus Side-By-Side Upgrade Considerations Pre-Upgrade Checks SQL Server Upgrade Advisor Installing the SQL Server 2008 Upgrade Advisor Using the Upgrade Advisor Scripting the Upgrade Advisor Resolving Upgrade Issues SQL Server 2008 Upgrade Assistant Backward Compatibility Unsupported and Discontinued Features SQL Server 2008. .. Solutions SQL Server 2008 Data Mirroring Windows Failover Clustering SQL Server 2008 Replication Removing Log Shipping Removing Log Shipping with Management Studio Removing Log Shipping with T -SQL Commands Log-Shipping Performance Upgrading to SQL Server 2008 Log Shipping Minimum Downtime Approach With Downtime Approach Deploy Log Shipping Approach Summary Chapter 20: Clustering SQL Server 2008 Clustering... Windows Server 2008 Before Installing Windows 2008 Clustering Installing Windows Server 2008 Clustering Configuring Windows Server 2008 for Clustering 800 800 801 801 801 802 802 802 803 803 803 804 804 804 807 808 808 809 810 810 812 812 814 817 817 817 817 819 819 819 820 821 823 823 824 827 xxvii Page xxvii Knight ftoc.tex V1 - 10/01 /2008 Contents Clustering SQL Server 2008 Clustering SQL Server Installing... Tuning SQL Server Memory Windows 2008 Hot-Add CPU Configuring SQL Server 2008 for Dynamic Memory on an X86 Platform 64-bit Versions of SQL Server 2008 Resource Governor CPU Considerations Data Locality Cache Coherency Affinity Mask Max Degree of Parallelism (MAXDOP) Affinity I/O Mask Max Server Memory Index Creation Memory Option Minimum Memory per Query Summary Chapter 13: Monitoring Your SQL Server. .. Other SQL Server 2008 Changes Affecting Behavior xiv 45 45 46 47 47 50 51 52 52 53 53 54 56 57 57 58 58 59 59 60 60 60 61 63 63 64 65 65 66 67 67 69 69 69 70 72 73 75 77 77 78 78 4:36am Page xiv Knight ftoc.tex V1 - 10/01 /2008 4:36am Contents SQL Server Component Considerations Upgrading Full-Text Catalog to SQL Server 2008 Upgrading Reporting Services Upgrading Analysis Services Upgrading DTS to SQL Server. .. 10/01 /2008 4:22am Page xii Knight ftoc.tex V1 - 10/01 /2008 4:36am Contents Introduction Chapter 1: SQL Server 2008 Architecture The Expanding Role of a DBA Production DBA Development DBA Business Intelligence DBA Hybrid DBA New Things You Need to Learn SQL Server Architecture Transaction Log and Database Files SQL Native Client System Databases Schemas Synonyms Dynamic Management Views SQL Server 2008. .. Servers and Server Groups Startup Parameters Startup Stored Procedures Rebuilding the System Databases Management Studio Reports Configuring SQL Server Filtering Objects Error Logs Activity Monitor Monitoring Processes in T -SQL Trace Flags Getting Help from Support SQLDumper.exe SQLDiag.exe Summary Chapter 5: Automating SQL Server Maintenance Plans Maintenance Plan Wizard Maintenance Plan Designer SQL. .. the SQL Server Database Engine Common Installation Issues Installing Client Tools from a Network Share Admin Tools Not Installed by Default on Remote Cluster Nodes Minimum Configuration Warning Troubleshooting a Failed Install Summary Chapter 3: Upgrading SQL Server 2008 Best Practices Why Upgrade to SQL Server 2008? Risk Mitigation — The Microsoft Contribution Independent Software Vendors and SQL Community... step-by-step guide to clustering your SQL Server and Windows 2008 server This edition of the book covers all the same great information we covered in the last book, and we’ve added loads of new content for SQL Server 2008, which adds numerous new features to improve the DBA’s life In short, the new version of SQL Server focuses on improving your efficiency, the scale of your server, and the performance of... xxi Knight ftoc.tex V1 - 10/01 /2008 Contents What’s New in Monitoring for SQL Server 2008 Data Collection SQL Server Extended Events Choosing the Appropriate Monitoring Tools Performance Monitor CPU Resource Counters Isolating Processor Bottlenecks Disk Activity Memory Usage Performance Monitoring Tools Monitoring Events The Default Trace SQL Trace Event Notifications SQL Server Extended Event Notifications . ffirs.tex V1 - 10/01 /2008 4:16am Page i Professional Microsoft  SQL Server  2008 Administration Introduction xxix Chapter 1: SQL Server 2008 Architecture 1 Chapter 2: SQL Server 2008 Installation. iii Professional Microsoft  SQL Server  2008 Administration Knight ffirs.tex V1 - 10/01 /2008 4:16am Page iv Knight ffirs.tex V1 - 10/01 /2008 4:16am Page v Professional Microsoft  SQL Server  2008 Administration Brian. Programmer to Programmer TM Professional Microsoft ® SQL Server ® 2008 Administration Enhance Your Knowledge Advance Your Career Professional Microsoft SQL Server 2008 Integration Services 978-0-470-24795-2 This

Ngày đăng: 29/03/2014, 20:20

TỪ KHÓA LIÊN QUAN