Microsoft SQL Server Administration for SAP SQL Server Architecture.

Slides:



Advertisements
Similar presentations
DAT 342 Advanced SQL Server Performance and Tuning Bren Newman Program Manager SQL Server Development Microsoft Corporation.
Advertisements

Module 13: Performance Tuning. Overview Performance tuning methodologies Instance level Database level Application level Overview of tools and techniques.
new database engine component fully integrated into SQL Server 2014 optimized for OLTP workloads accessing memory resident data achive improvements.
Oracle Architecture. Instances and Databases (1/2)
Module 4 Working with Databases. Module Overview Overview of SQL Server Databases Working with Files and Filegroups Moving Database Files.
Page Footer Keed Education Oracle Database Administration Basic Copyright 2009 Keed Education BV Version Concept.
Module 3: Creating and Managing Databases. Overview Creating Databases Creating Filegroups Managing Databases Introduction to Data Structures.
Harvard University Oracle Database Administration Session 2 System Level.
1 1. SQL SERVER OVERVIEW zWhat Is SQL Server? zInterfaces To Use SQL Server zSQL Server Services zTypes Of Databases zSQL Server Security.
1 I/O Management in Representative Operating Systems.
A Guide to Oracle9i1 Introduction to Oracle9i Database Administration Chapter 11.
Microsoft SQL Server Administration for SAP Performance Monitoring and Tuning.
Introduction to SQL Server 2000 Presented by Tarek Ghazali IT Technical Specialist Microsoft SQL Server MVP Web Development MCP LebDev Vice President ©
Module 1: Database and Instance. Overview Defining a Database and an Instance Introduce Microsoft’s and Oracle’s Implementations of a Database and an.
Working with SQL and PL/SQL/ Session 1 / 1 of 27 SQL Server Architecture.
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.
Module 2: Planning to Install SQL Server. Overview Hardware Installation Considerations SQL Server 2000 Editions Software Installation Considerations.
Chapter 9 Overview  Reasons to monitor SQL Server  Performance Monitoring and Tuning  Tools for Monitoring SQL Server  Common Monitoring and Tuning.
Module 8: Monitoring SQL Server for Performance. Overview Why to Monitor SQL Server Performance Monitoring and Tuning Tools for Monitoring SQL Server.
1 Chapter Overview Transferring and Transforming Data Introducing Microsoft Data Transformation Services (DTS) Transferring and Transforming Data with.
1 Copyright © 2009, Oracle. All rights reserved. Exploring the Oracle Database Architecture.
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 1: Introduction to Microsoft SQL Server 7.0.
1 Chapter Overview Creating a User Database Setting Database Options Managing User Database Size Placing Database Files on Multiple Disks.
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.
1 © 2006 SolidWorks Corp. Confidential. Clustering  SQL can be used in “Cluster Pack” –A pack is a group of servers that operate together and share partitioned.
Key Perf considerations & bottlenecks Windows Azure VM characteristics Monitoring TroubleshootingBest practices.
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 3: Managing Database Files. Overview Introduction to Data Structures Creating Databases Managing Databases Placing Database Files and Logs Optimizing.
Oracle on Windows Server Introduction to Oracle10g on Microsoft Windows Server.
Agenda for Today Chapter 5 –Skip Lesson 2 Review questions Midterm Chapter 6 Review questions.
Databases Lesson 5.
Architecture Rajesh. Components of Database Engine.
1 SQL Server 2000 Administration Kashef Mughal MSB.
Chokchai Junchey Microsoft Product Specialist Certified Technical Training Center.
1 Oracle Architectural Components. 1-2 Objectives Listing the structures involved in connecting a user to an Oracle server Listing the stages in processing.
Agenda for Today Do Chapter 14 Final Project Review for Final.
BW Know-How Call : Performance Tuning dial-in phone numbers! U.S. Toll-free: (877) International: (612) Passcode: “BW”
Module 5: Upgrading to SQL Server 7.0. Overview Planning an Upgrade Preparing to Upgrade Verifying the Upgrade Setting a Compatibility Level.
1 Chapter Overview Preparing to Upgrade Performing a Version Upgrade from Microsoft SQL Server 7.0 Performing an Online Database Upgrade from SQL Server.
1 Chapter Overview Performing Configuration Tasks Setting Up Additional Features Performing Maintenance Tasks.
Navigating SQL Server Lesson 3. Skills Matrix Graphical User Interface (GUI) Management Tools SQL Server Management Studio SQL Server Configuration Manager.
Large Data Operations Joe Chang
SQL Server 2000 Sys Admin Jeremiah Curtis Engineering Services
2. SQL Security Objectives –Learn SQL Server 2000 components Contents –Understanding the Authentication Process –Understanding the Authorization Process.
1 Chapter Overview Planning to Install SQL Server 2000 Deciding SQL Server 2000 Setup Configuration Options Running the SQL Server 2000 Setup Program Using.
1 Chapter Overview What is Microsoft SQL Server 2000? What are the SQL Server 2000 Components? What is the Relational Database Architecture? What is the.
Session 1 Module 1: Introduction to Data Integrity
MISSION CRITICAL COMPUTING Siebel Database Considerations.
1 Copyright © 2005, Oracle. All rights reserved. Following a Tuning Methodology.
Presented by Vishy Grandhi.  Lesson 1: AX Overview  Lesson 2: Role based security  Lesson 3: Monitoring  Troubleshooting.
Connect with life Praveen Srivatsa Founder and CEO – AstraSoft.NET Vinod Kumar Technology Evangelist – Databases and BI.
Introduction to Core Database Concepts Getting started with Databases and Structure Query Language (SQL)
Advanced Database & Client Server Introduction to MS SQL Server 2000 and Transact SQL -
Introduction to SQL Server  Working with MS SQL Server and SQL Server Management Studio.
Copyright Sammamish Software Services All rights reserved. 1 Prog 140  SQL Server Performance Monitoring and Tuning.
3 Copyright © 2004, Oracle. All rights reserved. Database Architecture Comparison.
Oracle Database Architectural Components
SQL Database Management
Module 1: SQL Server Overview
SQL Server Internals Overview
Chapter Overview Understanding the Database Architecture
SQL 2014 In-Memory OLTP What, Why, and How
What Is a Latch? …and Why Do I Care? Eddie Wuerch, mcm
Microsoft SQL Server 2014 for Oracle DBAs Module 3
Troubleshooting Techniques(*)
Transaction Log Performance Tuning
Presentation transcript:

Microsoft SQL Server Administration for SAP SQL Server Architecture

2 Overview

3 Database Server Relational Database Management System SQL Server Transact-SQLTransact-SQL Application Client ResultsResults

4 SQL Server Service

5 Client / Server Application Database Interface Network Library SQL Server Open Data Services Network Library Tabular Data Stream (TDS) ClientServer

6 SQL Server Client Network Utility

7 SQL Server Network Utility

8 SQL Server Client Tools  SQL Enterprise Manager  SQL Query Analyzer  Service Manager  Server & Client Network Utility  Performance Monitor  SQL Profiler  Index Tuning Wizard  Data Transformation Services

9 Configuring SQL Enterprise Manager

10 Threads and Fibers  SQL Server process maintains pool of threads to process client requests  SQL Server can also be configured to use lightweight pooling(fibers)  max worker threads

11 Databases System Databases User Databases master model tempdb msdb pubs northwind VIE distribution

12 Database Files Extent (8 contiguous 8-KB pages) Page (8 KB) Tables, Indexes Data Database Data (file).mdf or.ndf Log (file).ldf Max row size = 8092 bytes

13 Data Files  Filegroups  Data & log files autogrow  Proportional fill  Pages and Extents  GAM  SGAM  PFS  IAM  In row text

14 Storage Engine  Data Cache & Proc cache  Cache hit ratio / free buffers  Transaction log  Lazy Writer  Lock Manager  Log Writer  Checkpoint / log truncation  Background task

15 Hardware Configuration  Balance and push the bottleneck to expensive component  CPU and L2 cache  Memory  Hard and Soft Paging  System Area Networks  Support of SAN Network Interfaces  cLan from GigaNet  Servernet II from Compaq  20% perf gain

16 I/O components - Disks  How fast is a disk?  Depends on the type of I/O workload  SQL Server reads 8K random (page reads)  Singleton (or few) select/update/insert  Lazy writer  Checkpoint processing  SQL Server reads 64K sequential (extent reads)  Table and index scans  Backup, index creation, DBCC, etc…

17 I/O components - Disks  Max throughput ~10 MB/sec  Max sequential transfers/sec ~150  Max random transfers/sec ~100  OLTP constrained by transfers/sec  DSS constrained by MB/sec  Realistic transfer rates: I/O sec 8K64K Sequential I/O MB/sec 9.4 MB/sec Random I/O MB /sec 6.3 MB/sec

18 Hardware Configuration  Disk  Raid 0, 10, 5  Pagefile, tempdb, log and data files location  h/w bandwidth limitations  Disk queue length  Write caching controllers  Latch wait time

19 Fixed RID Row Identifiers Base table organizations  Fixed Row Identifier (RID)  Rows identified by RID (8 bytes consisting of File#, Page#, Slot#)  RIDs do not change unless a row is deleted and reinserted elsewhere  RIDs can be reused once the transaction that deletes a row commits  RIDs used as lock resource

20 Clustered index  Clustered index  Rows identified by unique clustering key  Clustering key used as lock resource Row Identifiers Base table organizations

21 Secondary index Key“Locator” Points to either Secondary Indexes  Secondary indices  Index terms consist of key, “locator” pairs  Locators are stable with respect to base table organization (unlike 6.X)  Locator may be either RID (Fixed RID) or clustering key (clustered index)  Unique key/locator pair used as lock resource

22 Adams 6 6Lewis1Smith11 Key Locator (clustering Key) Clustering index data 1LewisDanAdamsKim11SmithKen Adams Index Changes Secondary index lookup on key “Adams”

23 Index on Views  Create View with SCHEMABINDING  Create Unique Clustered Index on View  All Nonclustered Indexes are dropped if Clustered Index is dropped  Indexed Views are maintained automatically  SET Options  EXPAND VIEWS and NOEXPAND

24 Referring to SQL Server Objects  Fully Qualified Names  Partially Specified Names  Server defaults to local server  Database defaults to current database  Owner defaults to the user name in the database pubs.dbo.authors

25 System Tables  Store Information (Metadata) About the System and Database Objects  Database Catalog Stores Metadata About a Specific Database  System Catalog Stores Metadata About the Entire System and All Other Databases

26 Metadata Retrieval  System Stored Procedures  sp_help authors  System Functions  select getdate()  Information Schema Views  select * FROM INFORMATION_SCHEMA.TABLES

27 Common System Procedures and System Tables  System stored procedures  sp_help, sp_helpindex  sp_helpdb, sp_helpfile/filegroup  sp_who, sp_lock  sp_depends, sp_recompile  sp_readerrorlog  System tables  sysobjects, sysindexes, sysprocesses  System functions  Object_name/id, index_col

28 Login Authentication, Database User Accounts Windows NT Verifies Password SQL Server Verifies Password SQL Server SQL Windows NT SQL Server Assigns Logins to User Accounts and Roles SQL Server Assigns Logins to User Accounts and Roles Database User Account Database User Account Database Role Windows NT Group User Windows NT Group User SQL Server Login Account SQL Server Login Account

29

30 Server Properties

31 Server Properties

32 Database Properties

33 Installing SQL Server  Installation Path  Character Set and Sort Order  Collations  Network Support  SQL Server Service Account  Licensing Mode  Instance Name  SQL Server 2000 only  Only Clients needs to be installed on Application Server

34 Lab work  Install SQL Server  Start and Stop SQL Server Service  Register your server with SQL Enterprise Manager  Search a Topic in Books Online  Online help for Create Table  Create a Table with Clustered Index  Check at the Server and Database Properties

35 Summary  Write a summary for this module