Today’s Agenda Chapter 12 Admin Tasks Chapter 13 Automating Admin Tasks.

Slides:



Advertisements
Similar presentations
Little Used, but Powerful Features with GP Cathy Fregelette, CPA, PMP Practice Manager BroadPoint Technologies September 20, 2012.
Advertisements

Burt King We will cover: Essentials --No command line needed here (mott) What is SQL Server How does it come to life What are the.
ESafe Reporter V3.0 eSafe Learning and Certification Program February 2007.
Week 6: Chapter 6 Agenda Automation of SQL Server tasks using: SQL Server Agent Scheduling Scripting Technologies.
Module 5: Performing Administrative Tasks. Overview Configuration Tasks Routine SQL Server Administrative Tasks Automating Routine Maintenance Tasks Creating.
ActiveXperts Network Monitor Monitors servers, workstations and devices for availability Alerts and corrects.
Maintaining and Automating SQL Server
DB2 Tools Pertemuan 3 Matakuliah: T0413 Tahun: 2009.
SQL Server 2005 Implementation and Maintenance Chapter 10: Maintaining and Automating SQL Server.
Database Optimization & Maintenance Tim Richard ECM Training Conference#dbwestECM Agenda SQL Configuration OnBase DB Planning Backups Integrity.
DIMES Planner The DIMES Project Tel Aviv University October-2010.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 11: Monitoring Server Performance.
Chapter 11 - Monitoring Server Performance1 Ch. 11 – Monitoring Server Performance MIS 431 – created Spring 2006.
1 1. SQL SERVER OVERVIEW zWhat Is SQL Server? zInterfaces To Use SQL Server zSQL Server Services zTypes Of Databases zSQL Server Security.
Week 9 – Chapter 8 SQL 710 Methods to Backup Databases
AGENDA Tools used in SQL Server 2000 Graphical BOL Enterprise Manager Service Manager CLI Query Analyzer OSQL BCP.
Week 2 - Installation SQL SERVER2000 ENTERPRISE EDITION INSTALLATION.
Managing and Monitoring SQL Server 2005 Shankar Pal Program Manager SQL Server, Redmond.
1 Chapter Overview Transferring and Transforming Data Introducing Microsoft Data Transformation Services (DTS) Transferring and Transforming Data with.
Week 5 – Chap. 5 Data Transfer DBAs often must transfer data to and from text files, Excel spreadsheets, Access, Oracle or other SQL Server databases This.
SQL Server Performance Audit and Tuning Jason Pack.
Slide 1 of 9 Presenting 24x7 Scheduler The art of computer automation Press PageDown key or click to advance.
Migrating to EPiServer CMS 5 Johan Björnfot -
Module 13 Automating SQL Server 2008 R2 Management.
Module 1: Introduction to Microsoft SQL Server 7.0.
Chapter 4 SQL. SQL server Microsoft SQL Server is a client/server database management system. Microsoft SQL Server is a client/server database management.
3 Chapter Three Administering and Configuring SQL Server 2000.
Back to content Final Presentation Mr. Phay Sok Thea, class “2B”, group 3, Networking Topic: Mail Client “Outlook Express” *At the end of the presentation.
Workflow Manager and General Tuning Tips. Topics to discuss… Working with Workflows Working with Tasks General Tuning Tips.
Copyright ®xSpring Pte Ltd, All rights reserved Versions DateVersionDescriptionAuthor May First version. Modified from Enterprise edition.NBL.
Today’s Objectives Chapters 10 and 11 Security in SQL Server –Manage server logins and database users. –Manage server-level, database-level, and application.
It is one of the techniques to create a stand by server. Introduced in SQL 2000,enhanced in It is a High Availability as well as Disaster recovery.
Maintaining a Mirrored Database Tips and Tricks by Paul G. Hiles.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 11: Monitoring Server Performance.
Eurotrace Hands-On The Eurotrace File System. 2 The Eurotrace file system Under MS ACCESS EUROTRACE generates several different files when you create.
Agenda for Today Chapter 5 –Skip Lesson 2 Review questions Midterm Chapter 6 Review questions.
1 SQL Server 2000 Administration Kashef Mughal MSB.
Chokchai Junchey Microsoft Product Specialist Certified Technical Training Center.
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.
1 Chapter Overview Performing Configuration Tasks Setting Up Additional Features Performing Maintenance Tasks.
Module 15 Monitoring SQL Server 2008 R2 with Alerts and Notifications.
A Brief Documentation.  Provides basic information about connection, server, and client.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 11: Monitoring Server Performance.
Today’s Agenda Chapter 7 Review for Midterm. Data Transfer Tools DTS (Data Transformation Services) BCP (Bulk Copy Program) BULK INSERT command Other.
By Shanna Epstein IS 257 September 16, Cnet.com Provides information, tools, and advice to help customers decide what to buy and how to get the.
Week 7 : Chapter 7 Agenda SQL 710 Maintenance Plan:
SQL Server 2000 Sys Admin Jeremiah Curtis Engineering Services
1 Chapter Overview Defining Operators Creating Jobs Configuring Alerts Creating a Database Maintenance Plan Creating Multiserver Jobs.
MISSION CRITICAL COMPUTING Siebel Database Considerations.
1 Database Programming with ADO.NET Kashef Mughal.
Maintenance Practices. Goal  Automate the necessary DBA chores to put organizations on the path of having healthier, consistent and more trustworthy.
Creating Simple and Parallel Data Loads With DTS.
1 Chapter Overview Using Standby Servers Using Failover Clustering.
Log Shipping, Mirroring, Replication and Clustering Which should I use? That depends on a few questions we must ask the user. We will go over these questions.
Introduction to SQL Server  Working with MS SQL Server and SQL Server Management Studio.
Putting Your Head in the Cloud Working with SQL Azure David Postlethwaite 19/09/2015David Postlethwaite.
Linkedin: dennisegraham Dennis E Graham Reporting For SQL Health.
Jeremy Kingry, eBECS | ADVANCED SQL SERVER FOR ADMINS AND ANALYSTS.
9 Copyright © 2004, Oracle. All rights reserved. Getting Started with Oracle Migration Workbench.
SQL Database Management
Module 1: SQL Server Overview
Data Virtualization Demoette… ODBC Clients
What Is The SSIS Catalog and Why Do I Care?
Project Management: Messages
Automating SQL Server Management
Disaster Recovery Done Dirt Cheap Founder Curnutt Data Solutions
Sql Saturday Philadelphia
Ch 10. Maintaining and Automating SQL Server
Presentation transcript:

Today’s Agenda Chapter 12 Admin Tasks Chapter 13 Automating Admin Tasks

Configure SQL Server Service SQL Server Service is the service that runs the database engine Options that can be changed are –Connections –Database –Memory –Processor –Server Use Enterprise Manager or sp_configure to change the options

General properties - EM

Connections properties - Table 12-1

Database Settings - Table 12-2

Memory properties - Table 12-3

Processor properties - Table 12-4

Server Settings properties Table 12-5

Sp_configure Displays or changes settings for the current server. Syntax is sp_configure =] 'name'] =] 'value'] e.g. USE master EXEC sp_configure 'recovery interval', '3'

SQL Server Agent This is the agent that runs scheduled jobs and tasks in SQL Server Can use either local system account or domain user account (preferred) Additional permissions are required as listed in Table 12-6 In Enterprise Manager, located under Management container Typically the same account running SQL Server should also run the agent

SQL Server Agent

Event log - Right click on Agent

Mail options in SQL Server SQL Server can send s!! You need to create a mail profile You need to use a domain user account for SQL Server login Two types of mail services in SQL SQL Mail is the mail service of SQL Server service SQLAgent Mail is the mail service of SQL Server Agent xp_sendmail is used to send

SQL Mail configuration

SQL Mail stored procedures xp_startmail xp_stopmail sp_processmail xp_findnextmessage xp_readmail xp_delet xp_sendmail

Linked Servers Linked Server let you run distributed queries from different databases on different servers This is different than registering servers in EM which can only be another SQL Server Any OLE DB datasource can be linked e.g. Oracle, Access, Sybase etc Use the stored procedure sp_addlinkedserver to add a server

Supported OLE DB providers MS OLE DB Provider for SQL Server –Connection to SQL Server MS OLE DB Provider for Oracle –Connection to Oracle servers MS OLE DB Provider for Jet –Connection to Microsoft Access, Excel spreadsheet, and Jet-format databases MS OLE DB Provider for ODBC –Connection to ODBC data sources MS OLE DB Provider for Indexing Service –Connection to operating system file source

Linked Server properties General properties –Server name –Server type –Product name –Provider string –Location –Catalog

Syntax for Linked Server SQL Server –LinkedServerName.Database.Owner.Ta ble Oracle –LinkedServerName…Owner.Table Access –LinkedServerName...Table

Misc. Topics ODBC DSN let you access data from other sources We can use Access as an example SQL Server does support XML which lets you export data in a different format SQL Server works with IIS Server to achieve this

In Class Exercises Configure SQL Mail and SQL Agent Mail on your SQL Servers Pages Pages Create an ODBC datasource that points to Northwind database on your SQL Server. Page 226 has info Create a blank db in Access and link data from the ODBC source Review the work with me to get credit

Events, Alerts and Jobs Events are when something typically an error occurs on the SQL Server e.g. Pubs database log fills up Alerts would be a message sent to an Operator that an event has occurred e.g. Pubs db log is full Jobs would be the steps taken by the SQL Server to remedy the problem e.g. Truncating the pubs db log Here is the process

Operators The Operator is the person or group notified about the status of a job The methods of notification include – –Pager –Net Send Fail-Safe Operator is notified as a last resort Operator can be created using EM or T-SQL stored procedures

Operator properties - EM

Notifications properties

What is a Job? Jobs are the steps that automate admin tasks like backing up database Jobs can be created using –Enterprise Manager –Create Job Wizard –T-SQL statements Jobs are owned by the creator Jobs either succeed or fail Jobs can be run manually but are often scheduled to run on their own

Job General properties - EM

Job steps

Job schedule

Notifications properties

In Class Exercises Page Instead of SelfPaced CPU use your machine name Page 458 Page 463 Page 469 Review the results with me Take a break

Alerts Alerts are defined to provide event notification Alerts can be existing or user defined User defined messages are numbered 50,000 or higher Performance counters can be used to define an alert With an alert, you execute a job and notify an operator Can be created using EM or T-SQL

Event Alert - By Error

Event Alert - By Severity

Performance condition Alert

Alert Response

Database Maintenance Plan Wizard Select databases Data optimization Database integrity check Backup plan Backup disk directory Transaction log backups Reporting Maintenance plan history Maintenance plan name

MSXOperator - Master Server

TSX servers - Target Server

More Exercises Pages Pages Pages (optional) –For this work with someone else and use their machine as Target Review the results before you leave Next week Chapter 14 Final Project also due next week