annop siritikul technology specialist microsoft (thailand) a technical overview of microsoft ® sql...

31
Annop Siritikul Technology Specialist Microsoft (Thailand) A Technical Overview of Microsoft ® SQL Server 2005 Beta 2

Upload: silvia-edwards

Post on 04-Jan-2016

214 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Annop Siritikul Technology Specialist Microsoft (Thailand) A Technical Overview of Microsoft ® SQL Server ™ 2005 Beta 2

Annop SiritikulTechnology SpecialistMicrosoft (Thailand)

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

Page 2: Annop Siritikul Technology Specialist Microsoft (Thailand) A Technical Overview of Microsoft ® SQL Server ™ 2005 Beta 2

Agenda

• 64-Bit Database Platform• Microsoft SQL 2005

– Introduction– Manageability

Page 3: Annop Siritikul Technology Specialist Microsoft (Thailand) A Technical Overview of Microsoft ® SQL Server ™ 2005 Beta 2

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

Page 4: Annop Siritikul Technology Specialist Microsoft (Thailand) A Technical Overview of Microsoft ® SQL Server ™ 2005 Beta 2

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

Page 5: Annop Siritikul Technology Specialist Microsoft (Thailand) A Technical Overview of Microsoft ® SQL Server ™ 2005 Beta 2

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

Page 6: Annop Siritikul Technology Specialist Microsoft (Thailand) A Technical Overview of Microsoft ® SQL Server ™ 2005 Beta 2

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.

Page 7: Annop Siritikul Technology Specialist Microsoft (Thailand) A Technical Overview of Microsoft ® SQL Server ™ 2005 Beta 2

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

Page 8: Annop Siritikul Technology Specialist Microsoft (Thailand) A Technical Overview of Microsoft ® SQL Server ™ 2005 Beta 2

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

Page 9: Annop Siritikul Technology Specialist Microsoft (Thailand) A Technical Overview of Microsoft ® SQL Server ™ 2005 Beta 2

Agenda

• 64-Bit Database Platform• Microsoft SQL 2005

– Introduction– Manageability

Page 10: Annop Siritikul Technology Specialist Microsoft (Thailand) A Technical Overview of Microsoft ® SQL Server ™ 2005 Beta 2

IntroductionSQL Server 2005 Data Platform

Page 11: Annop Siritikul Technology Specialist Microsoft (Thailand) A Technical Overview of Microsoft ® SQL Server ™ 2005 Beta 2

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

Page 12: Annop Siritikul Technology Specialist Microsoft (Thailand) A Technical Overview of Microsoft ® SQL Server ™ 2005 Beta 2

Agenda

• 64-Bit Database Platform• Microsoft SQL 2005

– Introduction– Manageability

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

Page 13: Annop Siritikul Technology Specialist Microsoft (Thailand) A Technical Overview of Microsoft ® SQL Server ™ 2005 Beta 2

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

Page 14: Annop Siritikul Technology Specialist Microsoft (Thailand) A Technical Overview of Microsoft ® SQL Server ™ 2005 Beta 2

SQL Management StudioUser Interface

Object Summary Object Summary pagepage

Registered Registered ServersServers

Object Object ExplorerExplorer

ToolbarsToolbars

Page 15: Annop Siritikul Technology Specialist Microsoft (Thailand) A Technical Overview of Microsoft ® SQL Server ™ 2005 Beta 2

Agenda

• 64-Bit Database Platform• Microsoft SQL 2005

– Introduction– Manageability

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

Page 16: Annop Siritikul Technology Specialist Microsoft (Thailand) A Technical Overview of Microsoft ® SQL Server ™ 2005 Beta 2

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

Page 17: Annop Siritikul Technology Specialist Microsoft (Thailand) A Technical Overview of Microsoft ® SQL Server ™ 2005 Beta 2

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

Page 18: Annop Siritikul Technology Specialist Microsoft (Thailand) A Technical Overview of Microsoft ® SQL Server ™ 2005 Beta 2

Agenda

• 64-Bit Database Platform• Microsoft SQL 2005

– Introduction– Manageability

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

Page 19: Annop Siritikul Technology Specialist Microsoft (Thailand) A Technical Overview of Microsoft ® SQL Server ™ 2005 Beta 2

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

Page 20: Annop Siritikul Technology Specialist Microsoft (Thailand) A Technical Overview of Microsoft ® SQL Server ™ 2005 Beta 2

SQLiMailProcess Flow

SQLiMail Configurationsendmail_sp Stored Procedure

msdb

SQL scriptEXECUTE sendmail_sp Service Broker

queue

Service Broker

sqlimail90.exe

mailhost

Email messagesLogs

SMTP Server

Page 21: Annop Siritikul Technology Specialist Microsoft (Thailand) A Technical Overview of Microsoft ® SQL Server ™ 2005 Beta 2

Agenda

• 64-Bit Database Platform• Microsoft SQL 2005

– Introduction– Manageability

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

Page 22: Annop Siritikul Technology Specialist Microsoft (Thailand) A Technical Overview of Microsoft ® SQL Server ™ 2005 Beta 2

SQL ProfilerNew Features

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

Page 23: Annop Siritikul Technology Specialist Microsoft (Thailand) A Technical Overview of Microsoft ® SQL Server ™ 2005 Beta 2

SQL ProfilerTrace Access

LON-SQL-01SQL Server 2005

DBAdminSA Privileges

DBDeveloperNo SA Privileges

Start Trace with Profiler

Grant Alter Trace to DBDeveloper

Page 24: Annop Siritikul Technology Specialist Microsoft (Thailand) A Technical Overview of Microsoft ® SQL Server ™ 2005 Beta 2

Agenda

• 64-Bit Database Platform• Microsoft SQL 2005

– Introduction– Manageability

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

Page 25: Annop Siritikul Technology Specialist Microsoft (Thailand) A Technical Overview of Microsoft ® SQL Server ™ 2005 Beta 2

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

Page 26: Annop Siritikul Technology Specialist Microsoft (Thailand) A Technical Overview of Microsoft ® SQL Server ™ 2005 Beta 2

Monitoring ToolsActivity Monitor

Activity Activity PagesPages

SettingsSettings

Activity Activity TableTable

ToolbarToolbar

Page 27: Annop Siritikul Technology Specialist Microsoft (Thailand) A Technical Overview of Microsoft ® SQL Server ™ 2005 Beta 2

Agenda

• 64-Bit Database Platform• Microsoft SQL 2005

– Introduction– Manageability

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

Page 28: Annop Siritikul Technology Specialist Microsoft (Thailand) A Technical Overview of Microsoft ® SQL Server ™ 2005 Beta 2

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

Page 29: Annop Siritikul Technology Specialist Microsoft (Thailand) A Technical Overview of Microsoft ® SQL Server ™ 2005 Beta 2

Database Maintenance WorkflowDesigner Interface

ToolboxToolbox

Designer Designer TabsTabs

WorkspaceWorkspace

Task BoxTask Box

Smart Smart ConnectorsConnectors

Page 30: Annop Siritikul Technology Specialist Microsoft (Thailand) A Technical Overview of Microsoft ® SQL Server ™ 2005 Beta 2

Before take a break

• High scalability and performance with 64-Bit

• New Tools for Management and Administration

• Increased Flexibility and Productivity

Page 31: Annop Siritikul Technology Specialist Microsoft (Thailand) A Technical Overview of Microsoft ® SQL Server ™ 2005 Beta 2