You are on page 1of 23

INDONESIA

Choirul Amri
Senior Consultant, Microsoft Services

Whats New in SQL Server 2012

Agenda
High Availability Reporting and Analytic Performance

SQL Server 2012


High Availability

Alwayson Availability Groups


Enhanced capabilities of database mirroring Simplified application connectivity and automatic redirection Built in compression and encryption Synchronous or asynchronous data movement Support for FILESTREAM, FILETABLE, RBS and Service Broker Built on top of Windows Server Failover Cluster Active secondary Readable secondary replicas Backup from secondary
Transaction log backups, plus COPY_ONLY full backups

AlwaysOn Availability Groups


AlwaysOn Availability Groups is a new feature that enhances and combines database mirroring and log shipping capabilities

Availability Group Listener


Windows Server Failover Clustering provides a virtual name for the Availability Group Listener Availability Group Listener runs on the current primary node in the Availability Group
Seamless failover similar to traditional SQL Server failover clustering Read only intent connections are automatically redirected to a readable secondary

A Flexible Solution
AlwaysOn provides the flexibility of different HA configurations

A A A A
A A

Direct attached storage local, regional and geo target

Shared Storage, regional and geo secondaries

Synchronous Data Movement

Asynchcronous Data Movement

AlwaysOn Availability Groups

Contained database Authentication


Partially contained databases, making the database more independent from the instance of SQL Server There are two types of users for contained databases
Contained database user with a password that are authenticated by the database Windows Principals can connect directly to the database

SQL Server 2012


Database Performance

Columnstore Index
Column store in SQL Server
New type of index

New query processing mode


Processes data in batches

Accelerates targeted workloads


Data warehousing
Read mostly, large data volumes, star schema, often sliding window

Typical data warehouse queries


Star joins, aggregations, filtering

Defining the Columnstore Index


Index type
Columnstore indexes are always non-clustered and non-unique They cannot be created on views, indexed views, sparse columns They cannot act as primary or foreign key constraints

Column selection
Unlike other index types, there are no key columns
Instead you choose the columns that you anticipate will be used in your queries Up to 1,024 columns and the ordering in your CREATE INDEX doesnt matter No concept of INCLUDE No 900 byte index key size limit

Column ordering
Use of ASC or DESC sorting not allowed as ordering is defined via columnstore compression algorithms

12

Database Performance

Table Partitioning Enhancement


You need to partition data by day for 3 years of data or more? In SQL Server 2008 & SQL Server 2008 R2
Limited to 1,000 Unless you installed 2008 SP2 or 2008 R2 SP1 This prevented moving from 2008 SP2 to 2008 R2 RTM Created other restrictions for Log Shipping, Database Mirroring, Replication, SSMS manageability

In SQL Server 2012


15,000 partitions are supported in RTM (no SP required)

14

Database Performance

Other new features for performance


Faster Spatial Performance Paging for Result Sets Partitioning Faster Full Text Search Column Store Index Distributed Replay

SQL Server 2012


Reporting and Analytics

Denali Reporting and Alerting


users Increase efficiency

PowerView Reporting
Highly visual design
experience

End User Alerting


Defined from within
operational or ad-hoc reports

Enabled as SharePoint
Shared Service

Built-in scale-out for RS


Service Apps

Rich metadata-driven
interactivity

Intuitive Alert rules


Alerts self-managed
through SharePoint

SharePoint Cross-farm
reporting

Presentation-ready
at all times

Integrated backup &


recovery, ULS logging, PowerShell etc.

Managed Self Service BI Corporate BI

Reporting Services Self Service Alerting User-defined


Create data alerts from within reports
Report authors control which data is available for alerting Users create alerts directly on the data they see in reports Supports reports created in Report Builder or BI Development Studio (BIDS)

Detect important data changes


Intuitive Alert Rules (greater than, before/after) Easy to use scheduling (weekly, daily, monthly) Relevant data included in Alert Message
Source: Data.gov - Data.gov and the Federal Government cannot vouch for the data or analyses derived from these data after the data have been retrieved from Data.gov.

Self Service Alerting - Management

Managed through SharePoint


Per site administration reduces IT burden Fine grained authorization Self-managed through SharePoint IT Visibility & Control of user-defined alerts

Analytic Reporting

Resources
SQL Server 2012 Virtual Labs http://www.microsoft.com/sqlserver/en/us/learningcenter/virtual-labs.aspx

SQL Server 2012 New Features: http://msdn.microsoft.com/en-us/library/bb500435(v=SQL.110).aspx

Thank You

You might also like