Annop Siritikul Technology Specialist Microsoft (Thailand) A Technical Overview of Microsoft ® SQL...

Post on 04-Jan-2016

214 views 1 download

Tags:

Transcript of Annop Siritikul Technology Specialist Microsoft (Thailand) A Technical Overview of Microsoft ® SQL...

Annop SiritikulTechnology SpecialistMicrosoft (Thailand)

A Technical Overview of Microsoft® SQL Server™ 2005 Beta 2

Agenda

• 64-Bit Database Platform• Microsoft SQL 2005

– Introduction– Manageability

What is 64-bit?

• The term, 64-bit, refers to the size of the addresses the processor uses to organize the systems main memory

• Addressable Memory is the key benefit to SQL Server

Itanium Processor Family• Itanium (IPF) Architecture

– More than just large memory addressability– EPIC – Explicitly Parallel Instruction Computing

• Compiler enhancements – Predication – execute both sides of a branch in parallel,

only the “real” side actually completes execution– Speculation – run code before branch direction is

computed, check results later, and clean up as needed• More instructions per cycle

– On-chip Cache • 6MB L3

– Improved Bus architecture• Faster and wider• 128-bit at 6.4Gb/sec

What does it mean?MEMORY

Ability to address more physical memory (RAM) and improved on-chip memory management.

PARALLELISMEnhanced SMP parallelism, as well as single processor parallelism

THROUGHPUTIncreased bus architecture and better I/O bandwidth offering faster and wider throughput

Cost Savings

Scalability

The highly scalable database platform for memory intensive, performance-critical business applications

Manageability

Optimized for Windows Server 2003 Support for AMD Opteron & Intel Itanium with

Beta 2 Intel EM64T coming with Beta 3

Great performance Large memory addressability (up to 32 TB) Nearly unlimited virtual memory (up to 8 TB) I/O savings due to larger memory buffer pools

T-SQL code-compatibility with SQL Server 2000

8 node clustering support Same on-disk format as 32-bit for easy

migration 64bit support for relational engine and BI

Compelling alternative to expensive Unix

solutions

Benefits for SQL Server 64-bitHigh-performance computingBenefits for SQL Server 64-bitHigh-performance computing

Is this the server platform for me?• Most SQL workloads happy with 2-3 GB of memory• But, if your application ….

– …is very I/O intensive and has a working set greater than 4GB that can be loaded in memory for faster processing …

– …consumes a lot of CPU time issuing I/O…– Then SQL Server 2000 64-bit can potentially improve the

performance of your database application.

What is the good candidate for SQL 64-Bit? • Data warehousing and analysis (DSS)• Global-scale Web services• E-commerce applications with an unbounded number

of users• Statistical modeling and analysis• Geo-spatial applications

Compatibility• Maintains T-SQL code-compatibility with SQL

Server 2000 32-bit releases– Same SQL Server 2000 code base plus service pack

fixes and performance enhancements No changes in database file format No changes in data type support

• No changes in client apps when connecting to a 64-bit backend and a 32-bit backend

Agenda

• 64-Bit Database Platform• Microsoft SQL 2005

– Introduction– Manageability

IntroductionSQL Server 2005 Data Platform

Secure, reliable, and productive database platform for line-of-business and analytical applications

• High availability for enterprise applications• Security enhancements• Focus on manageability; self optimization

Enterprise Data Management

Developer Productivity

Business Intelligence

• Integration with Visual Studio® and .NET• Native XML technology • Interoperability: open standards, Web services

• Comprehensive ETL solution• Real-time decision making: reporting, data mining• Scalability and availability enhancements

IntroductionEmpowering Productivity

Agenda

• 64-Bit Database Platform• Microsoft SQL 2005

– Introduction– Manageability

• SQL Management Studio• SQLCMD• SQLiMail• SQL Profiler• Monitoring Tools• Database Maintenance Workflow

Manageability Management Studio

• New: SQL Server Management Studio– New rich GUI, Replaces Enterprise Manager, Query Analyzer– Integrated authoring, management– Supports all SQL Server components– Can manage multiple servers

• Object Explorer– Create databases and data sources– Control privileges and permissions– Configure replication– Manage SQL Server Agent

SQL Management StudioUser Interface

Object Summary Object Summary pagepage

Registered Registered ServersServers

Object Object ExplorerExplorer

ToolbarsToolbars

Agenda

• 64-Bit Database Platform• Microsoft SQL 2005

– Introduction– Manageability

• SQL Management Studio• SQLCMD• SQLiMail• SQL Profiler• Monitoring Tools• Database Maintenance Workflow

SQLCMDBasic Features

• Replaces ISQL and OSQL• Batch Functionality

– Command-line variables– Nested scripts

• Script Chaining• SQLCMD Mode in Management Studio• Has a dedicated administrator connection

SQLCMDBatch functionality

CONNECT LON-DC-01\MSSQLSERVERsetvar db CustomerDB BACKUP DATABASE $(db) TO DISK = “$(PATH)\$(db).bak”CONNECT LON-SQL-01\MSSQLSERVERsetvar db ContactsDBBACKUP DATABASE $(db) TO DISK = “$(PATH)\$(db).bak”

LON-DC-01CustomerDB

LON-SQL-01ContactsDB

BACKUP.SQL

N:\BACKUPSC:\> SQLCMD –Q –iC:\SCRIPTS\BACKUP.SQL –vPATH=“N:\BACKUPS”

LON-WK-001

Agenda

• 64-Bit Database Platform• Microsoft SQL 2005

– Introduction– Manageability

• SQL Management Studio• SQLCMD• SQLiMail• SQL Profiler• Monitoring Tools• Database Maintenance Workflow

SQLiMailBasic Features• Uses SMTP, not Extended MAPI

• Profiles– Secure – Profiles enable specification of users with access

to SQLiMail profile– Integrated management within SQL Server– Failover – can point to multiple SMTP servers from one

profile for ensured mail delivery

• Service Broker used to deliver messages to avoid blocking a stored procedure

• Execute sendimail_sp

SQLiMailProcess Flow

SQLiMail Configurationsendmail_sp Stored Procedure

msdb

SQL scriptEXECUTE sendmail_sp Service Broker

queue

Service Broker

sqlimail90.exe

mailhost

Email messagesLogs

SMTP Server

Agenda

• 64-Bit Database Platform• Microsoft SQL 2005

– Introduction– Manageability

• SQL Management Studio• SQLCMD• SQLiMail• SQL Profiler• Monitoring Tools• Database Maintenance Workflow

SQL ProfilerNew Features

• Grant Trace Access without Granting SA• New Selection User Interface• New Security Events• Trace Service Broker Activity• Trace to XML File

SQL ProfilerTrace Access

LON-SQL-01SQL Server 2005

DBAdminSA Privileges

DBDeveloperNo SA Privileges

Start Trace with Profiler

Grant Alter Trace to DBDeveloper

Agenda

• 64-Bit Database Platform• Microsoft SQL 2005

– Introduction– Manageability

• SQL Management Studio• SQLCMD• SQLiMail• Database Maintenance Workflow• SQL Profiler• Monitoring Tools

Monitoring ToolsNew Features

• Log File Viewer• Activity Monitor

– View Locks in Real-Time

• Agent User Role– Enhanced Security

• SQL Server Agent Multiple Proxies– One Proxy Per Subsystem

• WMI Event Alerts

Monitoring ToolsActivity Monitor

Activity Activity PagesPages

SettingsSettings

Activity Activity TableTable

ToolbarToolbar

Agenda

• 64-Bit Database Platform• Microsoft SQL 2005

– Introduction– Manageability

• SQL Management Studio• SQLCMD• SQLiMail• SQL Profiler• Monitoring Tools• Database Maintenance Workflow

Database Maintenance WorkflowNew Features

• Maintenance Plan Wizard– Create Basic and Advanced Plans

• Maintenance Plan Designer– Complex Workflow– Visual Design Workspace

• View Generated T-SQL Statements

Database Maintenance WorkflowDesigner Interface

ToolboxToolbox

Designer Designer TabsTabs

WorkspaceWorkspace

Task BoxTask Box

Smart Smart ConnectorsConnectors

Before take a break

• High scalability and performance with 64-Bit

• New Tools for Management and Administration

• Increased Flexibility and Productivity