370 likes | 596 Views
A Technical Overview of Microsoft SQL Server 2005. Melville Thomson IT Pro Evangelist (UK). http://blogs.technet.com/melville. What Will We Cover?. Security enhancements Manageability enhancements Availability enhancements. Helpful Experience.
E N D
A Technical Overview of Microsoft SQL Server 2005 Melville Thomson IT Pro Evangelist (UK) http://blogs.technet.com/melville
What Will We Cover? • Security enhancements • Manageability enhancements • Availability enhancements
Helpful Experience • Experience managing and maintaining Microsoft® SQL Server™ • Experience administering databases Level 200
Agenda • SQL Server 2005 Architecture • Advanced Security • Improved Management Features • High Availability
SQL Server Management Studio • Simplify common management tasks • Integrated management interface • Server transparency • SQL Server Management Object extensibility
Integrated Management Environment Template Explorer and Solution Explorer Object Explorer Registered Servers SummaryPane
demonstration Demo • Using SQL Server Management Studio • Using Object Explorer
SQL Command-line Tool Type SQLCMD to enter Interactive Mode Type Exit to exit Interactive Mode Run “SQLCMD –o” to direct output to a file “SQLCMD –S” to connect to Named Instance Run “SQLCMD –i” to run against a pre-built script file
SQLCMD Scripting Functionality LON-DC-01 CustomerDB LON-SQL-01 ContactsDB N:\BACKUPS SQLCMD –Q –i C:\SCRIPTS\BACKUP.SQL –v PATH=“N:\BACKUPS” CONNECT LON-DC-01\MSSQLSERVER setvar db CustomerDB BACKUP DATABASE $(db) TO DISK = “$(PATH)\$(db).bak” CONNECT LON-SQL-01\MSSQLSERVER setvar db ContactsDB BACKUP DATABASE $(db) TO DISK = “$(PATH)\$(db).bak”
demonstration Demo • SQL Scripting Features • Using Queries and Scripts • Using Solution Explorer
Agenda • Overview of SQL Server 2005 • Advanced Security • Improved Management Features • High Availability
Security Mechanisms Authorization Encryption Authentication
SQL Server 2005 Schema Object Permissions Schema
Surface Area Configuration Services disabled and features not installed by default New Installation SQL Server 2005 Surface Area Configuration for Services and Connections Surface Area Configuration for Features State of services and features carried over from upgraded installation SQL Server 2000 SQL Server 2005
demonstration Demo • Surface Area Configuration • Securing SQL Server with SAC • Exporting and Importing Configurations
SQL Object Namespace Server Database Schema Object LON-SQL-01 .AdventureWorks .Sales .Customer
User Schema Separation LON-SQL-01 .AdventureWorks .Customer Prior to SQL Server 2005, object namespace included object owner Schema as part of namespace removes this issue Change of ownership required application rewrites .User .Sales .User1
demonstration Demo • User-Schema Separation • Understanding User-Schema Separation
SQL Agent Proxies Agent Proxy SQL Server Active Directory
demonstration Demo • SQL Agent Proxies • Using SQL Agent Proxies
Agenda • Overview of SQL Server 2005 • Advanced Security • Improved Management Features • High Availability
Database Mail MailHost Database SQL Service Broker
demonstration Demo • Database Mail • Configuring Database Mail • Sending and Checking E-mail
Mirrored Backups Mirror 1 Mirror 2
demonstration Demo • Mirrored Backups • Using Mirrored Backups
Agenda • Overview of SQL Server 2005 • Advanced Security • Improved Management Features • High Availability
Database Snapshots SQL Server 2005Enterprise Edition Maintain historicaldata for report generation Safeguard data against administrativeerror Safeguard data against user error
Workload and Results .trc file .sql script Table Database Tuning Advisor Databases
SQL Profiler • Debug statements • Analyze performance • Stress testing • Audit database activity
demonstration Demo • SQL Profiler • Using SQL Profiler • Generating a Deadlock • Analyzing Deadlock with SQL Profiler
Replication Enhancements • Redesigned replication wizards • Initializing replication subscribers • Pre-computed partitions • Transactional parallelism
Internet Replication Binary over TCP/IP XML over HTTP/HTTPS Subscriber Firewall Publisher IIS https://myserver.mydomain.com
Session Summary • Secure by default, by design • New integrated management tools • Expanded and enhanced availability