Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 517 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
517
Dung lượng
5,78 MB
Nội dung
[...]... replay a sequence of events against a SQL Server, without actually changing any data, and reproduce the unpleasant performance problem And then you could try to reanalyze the problem, try to decipher it, and try to resolve or improve it 1.6 Monitoring resource consumption with SQL OS SQL OS is a new tool for SQL Server 2005, which lives between an SQL Server database and the underlying Windows operating... shown in Figure 1.2 Figure 1.2 SQL Server Configuration Manager 1.8.3 Database Engine Tuning Advisor The SQL Server 2005 Database Engine Tuning Advisor tool is just that, a tuning advisor used to assess options for tuning the performance of an SQL Chapter 1 10 1.8 Start using the GUI tools Server database This tool includes both a Graphical User Interface in Windows and a command line tool called dta.exe... operating system manages, runs, and accesses computer hardware on your database server, such as CPU, memory, disk I/O, and even tasks and scheduling SQL OS allows a direct picture into the hardware side of SQL Server and how the database is perhaps abusing that hardware and operating system The idea is to view the hardware and the operating system from within an SQL Server 2005 database 1.7 Establishing... lock compatibility 11 Architectural Performance Options and Choices 11.1 The Management Studio and the NET Framework 11.2 Striping and mirroring 11.2.1 RAID arrays 11.2.2 Partitioning and Parallel Processing 11.3 Workflow management 11.4 Analysis Services and data warehousing 11.4.1 Data modeling techniques in SQL Server 2005 11.5 Distribution and replication 11.6 Standby failover (hot spare) 11.6.1 Clustered... The SQL Server 2005 Database Engine Tuning Advisor includes other tools from SQL Server 2000, such as the Index Tuning Wizard However, SQL Server 2005 is very much enhanced to cater to more scenarios and more sensible recommendations In the past, recommendations have been basic at best, and even wildly incorrect Also, now included are more object types including differentiating between clustered and. .. perform better 1.9 Availability and scalability 1.9 15 Availability and scalability Availability means that an SQL Server database will have less down time and is less likely to irritate your source of income—your customers Scalability means you can now service more customers with SQL Server 2005 Availability and scalability are improved in SQL Server 2005 by the addition and enhancement of the following:... the SQL Server Management Studio tool in SQL Server 2005 Figure 1.1 SQL Server Management Studio SQL Server Management Studio is a fully integrated, multi-task oriented screen (console) that can be used to manage all aspects of an SQL Server installation, including direct access to metadata and business logic, integration, analysis, reports, notification, scheduling, and XML, among other facets of SQL. .. tools Analysis Services: SQL Server Profiler now allows for tracing of Analysis Services (SQL Server data warehousing) and Integration Services Various other things: Aggregate views of trace results andPerformance Monitor counters matched with SQL Server database events The Windows Performance Monitor tool is shown in Figure 1.7 Figure 1.7 The Windows Performance Monitor tool from SQL Server Profiler 1.8.5... 12.3.3 Database Engine Tuning Advisor 12.4 SQL OS and resource consumption 406 407 409 410 410 410 411 411 412 413 414 417 418 419 421 422 424 427 427 428 429 430 431 431 438 442 443 A Syntax Conventions 445 B Database Scripts 447 C Performance Strategies andTuning Checklist 477 Index 487 Introduction What is the goal of tuning an SQL Server database? The goal is to improve performance until acceptable... such as stored procedures, triggers, and functions These code blocks have direct access to other database objects—most significantly tables where query and data manipulation commands can be executed directly in the stored code blocks; and code blocks are executed on the database server New capabilities added to Transact SQL in SQL Server 2005 are as follows: Error handling Recursive queries Better query .
Microsoft
®
SQL Server
TM
2005 Performance
Optimization and Tuning
Handbook
This Page Intentionally Left Blank
Microsoft
®
SQL Server
TM
2005 Performance
Optimization. Glance
Introduction xv
1 Performance and SQL Server 2005 1
2. Logical Database Design for Performance 19
3. Physical Database Design 65
4. SQL Server Storage