Beruflich Dokumente
Kultur Dokumente
High availability for enterprise applications Key security and performance features Focus on self manageability and optimization
Integration with Visual Studio and .NET Native XML technology Interoperability via Web Services
Real time decision making: reporting, data mining Rich client and SharePoint solutions Comprehensive ETL solution: up to 600% faster
Database mirroring, online operations for increased availability Data security and privacy: encryption, enhanced auditing
This sessio n
Reporting Services
Developer Track
Note: All higher editions include same functionality as the edition below it.
Express
Fastest way for developers to learn, build & deploy simple data driven applications
Workgroup
Easiest to use & most affordable database solution for smaller departments & growing businesses
Standard
Complete data management & analysis platform for medium businesses and large departments
Enterprise
Fully integrated data management and analysis platform for business critical enterprise applications
1 CPU 1 GB RAM 4GB DB Size Simple Management Tool Report Wizard & Report Controls Replication & SSB Client
2 CPU
4 CPU
3 GB RAM
Management Studio Import/Export Limited Replication Publishing Back-up Logshipping
Unlimited Scale + Partitioning Adv. DB mirroring, Complete online & parallel operations, DB snapshot Advanced Analysis Tools including full OLAP & Data Mining Report Builder + Customized & High Scale Reporting Adv SSIS
Integration Services
Whats New for the DBA SQL Server 2005 Management Tools
Computer Manager Management Studio Profiler and Replay Database Tuning Advisor SQL Agent SQLCMD Express Manager
SQLiMail Replacement
Enterprise Manager
Report Services
Integration Services
Dynamic Help SQLCMD Mode Improved display for XML results Integrated execution plan graphing tool for Enhanced Project Management Script Projects Enhanced Templates
Problem Resolution
Dedicated Admin Connection (DAC) Enhanced Mini Dumps Plan Guides & Plan Forcing
Enhanced Mini-Dumps
All interesting internal structures now in mini-dump No more full dumps!
Plan Stability
Plan Guides
controlling optimization with query hints
even when you cant change the application
Plan Forcing
Provide a full XML Showplan as a query hint
Manageability - Diagnostics
Dynamic Management Views
Server Transparency sys.memory_clerks how much memory is each component consuming ? sys.schedulers Is a scheduler hung ?
SQL Trace
Query data from live traces
SQL Profiler
Deadlock and ShowPlan Visualization
Component Level
dm_repl_*
Replication
dm_os_*
Memory, locking & scheduling
dm_broker_*
SQL Service Broker
dm_fts_*
Full Text Search
dm_tran_*
Transactions & isolation
dm_qn_*
Query Notifications
dm_io_*
Input/Output on network and disks
dm_clr_*
Common Language Runtime
dm_db_*
Databases and database objects
The certificates created by SQL Server comply with the X.509v3 certificate standard.
Asymmetric Keys
consists of a private key and the corresponding public key Each key can decrypt data encrypted by the other Asymmetric encryption and decryption are relatively resource-intensive, but they provide a higher level of security than symmetric encryption An asymmetric key can be used to encrypt a symmetric key for storage in a database
Symmetric Keys
A single key that is used for both encryption and decryption Encryption and decryption with a symmetric key is fast suitable for routine use with sensitive data in the database
Event Notifications
Send information about Transact-SQL data definition language (DDL) statements and SQL Trace events to a service broker service Can be used to log and review changes or activity occurring on the database
Transact-SQL Enhancements
Bulk Operations on OPENROWSET
OPENROWSET now supports a BULK operation Controlled using new table hints & BULK_BATCHSIZE and FORMATFILE
TOP Enhancements
The TOP operator has been enhanced to take any numeric expression
Distributed Query
The EXECUTE statement now supports an AT LinkedServer clause that specifies executing a stored procedure on a linked server Distributed queries also support the new large object data types nvarchar(max), varchar(max), and varbinary(max)
TABLESAMPLE
New TABLESAMPLE clause limits the number of rows processed by a query Unlike TOP, which returns only the first rows from a result set
Recursive Queries
Stores a Common Table Expressions (CTE) is a results set that is stored temporarily during the execution of a SELECT, INSERT, UPDATE, or DELETE statement
Query Notifications
Allow an application to cache a result set and request the Database Engine to notify it if any of the underlying data is modified by another application
Index Enhancements
Disabling Indexes
Indexes can be disabled to aid in administration and diagnostics When rebuilding a non-clustered index
disabling the index before rebuilding the index significantly reduces the amount of disk space required
Fully parallel
Indexes can be rebuilt online, pages containing LOB data can be compacted, and partitioned indexes can be reorganized or rebuilt on a single partition basis
New Utilities
New sqlcmd Utility
The sqlcmd utility replaces the osql and isql utilities sqlcmd uses the OLE DB API to communicate with an instance of the SQL Server Database Engine
while the earlier utilities used the ODBC or DB-Library APIs.
sqlcmd also introduces a richer set of commands that allow it to operate better in application scripts,
such as Visual Basic for Applications (VBA) scripts
Notification Services
Rule Types The operation of the generator is controlled by the Transact-SQL rules defined for the application
Event chronicle rules store or update the history of events in chronicle tables defined by the application developer Subscription event rules generate notifications for event-triggered subscriptions Subscription scheduled rules generate notifications for scheduled subscriptions.
Snapshot Isolation
Increased data availability for read applications
Allows non-blocking consistent reads in an OLTP environment Copy on write mechanism Writers dont block readers Readers dont block writers Read-mostly database with relatively few writes Reporting Migration from Oracle to SQL Server
Scenarios
Database Snapshots
Snapshot of a database at a point in time
Created instantly Read only
Partitioning
Range Partitioning breaks a single object into multiple manageable pieces Partitioning is transparent to the application Partitioning applies to
Tables Indexes Indexed views
Partition Manageability
Common operations
Split, merge, add, and drop partitions Bulk data loading, Index maintenance
SqlClient Namespace and SQL Native Client- Multiple Active Result Sets (MARS)
introduces the ability for multiple statements to return result sets at the same time on the same connection
HTTPS Synchronization
Merge Replication
Firewall
Subscriber
IIS
Publisher/Distributor
-InternetUrl https://myserver.mydomain.com
Replisapi.dll
No VPN or port required for SQL Server Eases deployment of mobile applications Off by default Secure by default Only authenticated users can send request to web server Requires HTTPS Wizard turns off anonymous access
User-defined Aggregates
User-defined aggregate functions written in a .NET language extend the basic aggregate functions, such as SUM, MIN, and MAX An aggregate function is one that processes several data values and returns a single value
CLR
Hosting Layer
SQL OS Windows
On memory pressure
SQL informs CLR in order to initiate a GC
Perf counters: # GCs, amount of memory allocated Memory clerks of interest: SQLCLR, SQLCLRASSEMBLY
SQL Scheduler detects non-yielding tasks (managed or TSQL) and punishes them
Force the task to stop, put back in the queue and miss some turns
Granularity
One per assembly owner in each database All assemblies owned by same user are in same app domain
Cross-app domain mgd mgd calls not allowed DMVs of interest: Sys.dm_clr_appdomains