SQL Server Management Tools Lesson 28. Skills Matrix.

Slides:



Advertisements
Similar presentations
Module 13: Performance Tuning. Overview Performance tuning methodologies Instance level Database level Application level Overview of tools and techniques.
Advertisements

SQL Server Resource Governor. Introduction To The Resource Governor Resource Governor was added in SQL Server 2008 Purpose is to manage resources by specifying.
Microsoft SQL Server 2008 From the Program menu choose: Microsoft SQL Server 2008 R2  SQL Server Management Studio. You may see a window indicating the.
Maintaining and Automating SQL Server
SQL Server 2005 Implementation and Maintenance Chapter 10: Maintaining and Automating SQL Server.
Tables Lesson 6. Skills Matrix Tables Tables store data. Tables are relational –They store data organized as row and columns. –Data can be retrieved.
12 Copyright © 2005, Oracle. All rights reserved. Proactive Maintenance.
Troubleshooting Techniques Lesson 29. Skills Matrix.
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 11 Managing and Monitoring a Windows Server 2008 Network.
CS27510 Commercial Database Applications. Maintenance Maintenance Disaster Recovery Disaster Recovery.
1 Chapter Overview Transferring and Transforming Data Introducing Microsoft Data Transformation Services (DTS) Transferring and Transforming Data with.
Connect with life Praveen Srvatsa Director | AsthraSoft Consulting Microsoft Regional Director, Bangalore Microsoft MVP, ASP.NET.
Session 7 Creating and Managing Databases. RDBMS and Data Management/ Session 7/2 of 27 Session Objectives Describe the system and user-defined databases.
Chris Testa-O’Neill EMC Consulting. Agenda Resource Governor Integrating Performance Monitor and Profiler Policy Based Management Performance Data Collector.
Copyright © 2007 Quest Software The Changing Role of SQL Server DBA’s Bryan Oliver SQL Server Domain Expert Quest Software.
Module 15: Monitoring. Overview Formulate requirements and identify resources to monitor in a database environment Types of monitoring that can be carried.
Module 8: Server Management. Overview Server-level and instance-level resources such as memory and processes Database-level resources such as logical.
Module 18 Monitoring SQL Server 2008 R2. Module Overview Monitoring Activity Capturing and Managing Performance Data Analyzing Collected Performance Data.
Module 1: Introduction to Microsoft SQL Server 7.0.
SSIS Over DTS Sagayaraj Putti (139460). 5 September What is DTS?  Data Transformation Services (DTS)  DTS is a set of objects and utilities that.
12 Copyright © 2007, Oracle. All rights reserved. Database Maintenance.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 10 Database Performance Tuning and Query Optimization.
Chapter Oracle Server An Oracle Server consists of an Oracle database (stored data, control and log files.) The Server will support SQL to define.
Module 19 Managing Multiple Servers. Module Overview Working with Multiple Servers Virtualizing SQL Server Deploying and Upgrading Data-Tier Applications.
Informix IDS Administration with the New Server Studio 4.0 By Lester Knutsen My experience with the beta of Server Studio and the new Informix database.
Oracle9i Performance Tuning Chapter 1 Performance Tuning Overview.
Learningcomputer.com SQL Server 2008 – Administration, Maintenance and Job Automation.
IT 456 Seminar 5 Dr Jeffrey A Robinson. Overview of Course Week 1 – Introduction Week 2 – Installation of SQL and management Tools Week 3 - Creating and.
A PRIMER FOR KEEPING YOUR ENVIRONMENT IN SHAPE. SQL Server 2008 Policy Based Management By Scott Abrants.
ISV Innovation Presented by ISV Innovation Presented by Business Intelligence Fundamentals: Data Cleansing Ola Ekdahl IT Mentors 9/12/08.
Module 16: Performing Ongoing Database Maintenance
Oracle9i Performance Tuning Chapter 12 Tuning Tools.
Database Design and Management CPTG /23/2015Chapter 12 of 38 Functions of a Database Store data Store data School: student records, class schedules,
1 Chapter Overview Performing Configuration Tasks Setting Up Additional Features Performing Maintenance Tasks.
Indexes / Session 2/ 1 of 36 Session 2 Module 3: Types of Indexes Module 4: Maintaining Indexes.
Week 7 : Chapter 7 Agenda SQL 710 Maintenance Plan:
SharePoint enhancements through SQL Server RSS integration with SharePoint What’s New Elimination of IIS
Clifford Dibble Program Manager Microsoft Corporation SESSION CODE: DAT208.
1 Chapter Overview Defining Operators Creating Jobs Configuring Alerts Creating a Database Maintenance Plan Creating Multiserver Jobs.
Permissions Lesson 13. Skills Matrix Security Modes Maintaining data integrity involves creating users, controlling their access and limiting their ability.
SQL/Lesson 7/Slide 1 of 32 Implementing Indexes Objectives In this lesson, you will learn to: * Create a clustered index * Create a nonclustered index.
SQL Server 2008 R2 Manageability. Challenges facing database administrators today: Scaling management to multiple data centers Proactively monitoring.
Session 1 Module 1: Introduction to Data Integrity
20 Copyright © 2008, Oracle. All rights reserved. Cache Management.
Maintenance Practices. Goal  Automate the necessary DBA chores to put organizations on the path of having healthier, consistent and more trustworthy.
Module 6: Administering Reporting Services. Overview Server Administration Performance and Reliability Monitoring Database Administration Security Administration.
Oracle Business Intelligence Foundation – Testing and Deploying OBI Repository.
SSMS SQL Server Management System. SQL Server Microsoft SQL Server is a Relational Database Management System (RDBMS) Relational Database Management System.
21 Copyright © 2008, Oracle. All rights reserved. Enabling Usage Tracking.
SQL Basics Review Reviewing what we’ve learned so far…….
Module 6: Creating and Maintaining Indexes. Overview Creating Indexes Understanding Index Creation Options Maintaining Indexes Introducing Statistics.
6 Copyright © 2005, Oracle. All rights reserved. Managing Database Storage Structures.
You Inherited a Database Now What? What you should immediately check and start monitoring for. Tim Radney, Senior DBA for a top 40 US Bank President of.
In this session, you will learn to: Manage databases Manage tables Objectives.
Agenda for Today  DATABASE Definition What is DBMS? Types Of Database Most Popular Primary Database  SQL Definition What is SQL Server? Versions Of SQL.
©NIIT BCP and DTS Implementing Stored Procedures Lesson 2A / Slide 1 of 23 Objectives In this lesson, you will learn to: Perform bulk copy using the BCP.
Pass Implementing a Data Warehouse with Microsoft SQL Server 2012 exam in just 24 HOURS! 100% REAL EXAM QUESTIONS ANSWERS Implementing a.
2 Copyright © 2008, Oracle. All rights reserved. Building the Physical Layer of a Repository.
Data Integrity & Indexes / Session 1/ 1 of 37 Session 1 Module 1: Introduction to Data Integrity Module 2: Introduction to Indexes.
SQL Database Management
You Inherited a Database Now What?
Data, Space and Transaction Processing
Table spaces.
SQL Server Monitoring Overview
Designing Database Solutions for SQL Server
Deploying and Configuring SSIS Packages
Dynamics AX Performance
You Inherited a Database Now What?
Sql Saturday Philadelphia
Presentation transcript:

SQL Server Management Tools Lesson 28

Skills Matrix

Using Data-tier Applications Your developers use Visual Studio to develop your new application. They create a data-tier application (DAC) as a single unit for authoring, deploying and managing the multiple involved objects. You use the Deploy Data-tier Application Wizard to deploy a data-tier application (DAC) from a DAC package to an existing instance of SQL Server 2008 R2.

Using Data-tier Applications Information in the Deployed Data-tier Applications view of Utility Explorer provides utilization data for individual data-tier applications, CPU utilization history, storage utilization details at the file level, and the ability to view and update policy thresholds. Policy thresholds can be controlled at the data-tier application level for CPU utilization and for database data files and log files. You can also view property details for individual data-tier applications.

Centralized Server Management A Central Management Server (CMS) must be a SQL Server 2008 edition, or later. You register a server by clicking View in SQL Server Management Studio, selecting Registered Servers, expanding your Database Engine, right-clicking Central Management Server and right-clicking to select Register Central Management Server. When done you can run queries against a server group created in the CMS.

Performance Studio Performance Studio builds on the concept of the Database Reports in SQL Server 2005 and the Performance Dashboard introduced in SQL Server 2005 SP2. Data are historical and are persisted across service restarts.

Data Collection A data collection container holds a set of statistical data you would like to collect, when to collect them and how long to keep them. Data collections differ from dynamic management views in that dynamic management views present current data while data collections hold multiple instances of instantaneous (history) data permitting trend analysis. The data collector uses prebuilt or custom SSIS modules and SQL Agent jobs to populate an automatically created Management Data Warehouse (MDW). Four different data collector types exist: Transact-SQL query, SQL Trace, performance Counters and query activity.

Custom Data Collection To create a custom Data Collection you need to use a Transact-SQL script. You can create a Transact-SQL script from scratch to define your custom Data Collection or you can generate a script from one of the three different system Data Collections, and then modify it to meet your needs. You might it easier to generate a script of a system Data Collation by using the script task from Object Explorer and modifying it, then keying in a complete script by hand.

Resource Governor The resource governor (available only on the Enterprise edition) makes sure processes consume only the CPU cycles and memory allotted. The resource governor also limits resource intensive processes so other database activities continue to be responsive. Resource Governor is a new technology in SQL Server 2008 that enables you to manage SQL Server workload and resources by specifying limits on resource consumption by incoming requests.

Resource Governor Resource Governor is designed to address the following types of resource issues which are commonly found in a database environment: –Run-away queries on the server –Unpredictable workload execution –Setting workload priority

Dynamic Views Resource Governor introduces new dynamic management views that you can use to return current statistics and configuration data for workload groups and resource pools.

Classifier Function The purpose of a classifier function is to identify processes that should belong to specific workload groups. These workload groups will be restricted by the Resource Governor process to the limits allowed by any resource pool to which the workload group is assigned. If no classifier function is in use, processes will be assigned to the default workload group.

DBCC Consistent Checks The database console commands (DBCCs) are an important set of commands a DBA should understand. The DBCC consistency check commands form the basis of a proactive database maintenance solution, coupled with an appropriate re ‑ indexing and backup strategy. Back in the SQL Server 6.x days DBAs had to run the DBCCs on a fairly regular basis to keep those minor inconsistencies under control, before they became major problems. However, SQL Server's storage engine was reengineered for version 7.0.

DBCC CHECKALLOC The DBCC CHECKALLOC command checks the consistency of the various internal structures (allocation units, GAM pages, IAM pages, IAM chains, SGAM pages, PFS pages) that describe the allocations of pages and extents within the database.

DBCC CHECKCATALOG The DBCC CHECKCATALOG command checks the system catalog (system tables) of a database. The DBCC CHECKCATALOG command also is run during the execution of the DBCC CHECKDB command.

DBCC CHECKCONSTRAINTS The DBCC CHECKCONSTRAINTS command checks the table-level constraints in a database. The DBCC CHECKCONSTRAINTS command constructs and executes a query for all FOREIGN KEY constraints and CHECK constraints on a table.

DBCC CHECKDB The DBCC CHECKDB command checks the logical and physical integrity of the database.

DBCC CHECKFILEGROUP The DBCC CHECKFILEGROUP command checks the allocation and structural integrity of all tables (including nonclustered indexes by default) and indexed views for a given file group in the current database. The DBCC CHECKFILEGROUP command effectively performs DBCC CHECKALLOC on the specified file group and DBCC CHECKTABLE on every table and indexed view in the file group.

DBCC CHECKIDENT The DBCC CHECKIDENT command checks the current identity value for a given table. The command will reset the maximum value of the identity column if the current identity value is less than the table's current identity maximum. You can also use the DBCC CHECKIDENT command to set a new seed value for the identity column.

DBCC CHECKTABLE The DBCC CHECKTABLE command checks the integrity of all the pages and structures of a table or indexed view.

DBCC CLEANTABLE The DBCC CLEANTABLE command is used to reclaim space after a variable-length column is dropped from a table.

DBCC DBREINDEX The DBCC DBREINDEX command is used to rebuild the indexes of a table in a database. The DBCC DBREINDEX command will not run against system tables.

DBCC DROPCLEANBUFFERS The DBCC DROPCLEANBUFFERS command removes all buffers from the buffer pool (SQL Server's data cache). It is predominantly used by database developers to flush SQL Server's data cache when testing TransacTransact-SQL query performance.

DBCC FREEPROCCACHE The DBCC FREEPROCCACHE command frees SQL Server's procedure cache (memory used to store programming constructs such as stored procedures, query plans, and so on). Although developers sometimes use the DBCC FREEPROCCACHE command for testing purposes, it is also a useful command for DBAs because it causes all ad hoc Transact-SQL statements (and everything else of course) to be recompiled.

DBCC INDEXDEFRAG The DBCC INDEXDEFRAG command defragments the leaf level of an index on a table or a view in a database so that the physical order of the pages matches the left-to-right logical order of the leaf pages. The DBCC INDEXDEFRAG command additionally compacts the data pages and removes any freed-up pages. This operation should improve the performance of table scans and range queries (which typically perform partial scans). When DBCC INDEXDEFRAG is run, index defragmentation occurs serially.

DBCC SHOWCONTIG The DBCC SHOWCONTIG command shows the degree of both internal and external fragmentation for a table, index, or view. In a nutshell, internal fragmentation refers to how much of each data page is being used in the table, whereas external fragmentation refers to whether the pages that make up the table are sequentially located. External fragmentation is always bad. Internal fragmentation is not necessarily bad.

DBCC SHRINKDATABASE The DBCC SHRINKDATABASE command shrinks the size of the data and log files of a database to a target percentage of free space.

DBCC SHRINKFILE The DBCC SHRINKFILE command shrinks the size of specific data or log files of a database to a target size. Importantly, you can use the DBCC SHRINKFILE command to shrink a file to a size that is less than its initial size when it was created. This resets the minimum file size to the new value.

DBCC UPDATEUSAGE The DBCC UPDATEUSAGE command corrects the database catalog (system tables of a database). The DBCC UPDATEUSAGE command specifically updates inaccuracies in the data pages, leaf pages, rows, reserved pages, and used pages of the relevant catalog views (including sys.allocation_units, sys.dm_db_partition_stats, sys.indexes, and sys.partitions). These inaccuracies are typically seen in the output of the sp_spaceused system stored procedure.

Summary This lesson alerts you to four new features of SQL Server –You were introduced to Data-tier Applications, Policy Management, Data Collections. –The Resource Governor limits CPU and other system assets according to your plan. –Should a process slow the production server unacceptably, you might find a solution to keeping user response acceptable by slowing the responsible process. –DBCC commands form the foundation of maintenance activities. Plan to perform them on regularly occurring schedules.

Summary for Certification Examination Some of these topics are so new they don’t appear in the certification check list. Watch for changes. They will surely show up in the next iteration of the Technical Specialist requirements. Focus on the most common “check” DBCCs. Have an understanding of when to use each.