Upload
microsoft-techdays-apac
View
434
Download
2
Embed Size (px)
Citation preview
Choirul AmriSenior Consultant, Microsoft Services
INDONESIA
What’s New in SQL Server 2012
Agenda
High AvailabilityReporting and AnalyticPerformance
SQL Server 2012
High Availability
Alwayson Availability GroupsEnhanced 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 GroupsAlwaysOn Availability Groups is a new feature that enhances and combines database mirroring and log shipping capabilities
Multi-database failoverMultiple secondaries
Total of 4 secondaries2 synchronous secondaries1 automatic failover pair
Synchronous and asynchronous data movementBuilt in compression and encryptionAutomatic and manual failoverFlexible failover policyAutomatic Page Repair
Application failover using virtual nameConfiguration WizardDashboardSystem Center IntegrationRich diagnostic infrastructure
File-stream replicationReplication publisher failover
Flexible Integrated Efficient
Active SecondaryReadable SecondaryBackup from SecondaryAutomation using power-shell
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
Synchronous Data Movement
Asynchcronous Data Movement
Shared Storage, regional and geo secondaries
A
AA
A
A
Direct attached storage local, regional and geo target
AA
demo
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 doesn’t 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
demo
Database Performance
Columnstore Index
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
demo
Database Performance
Table Partitioning
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
• Enabled as SharePoint Shared Service
• Built-in scale-out for RS Service Apps
• SharePoint Cross-farm reporting
• Integrated backup & recovery, ULS logging, PowerShell etc.
• End User Alerting
• Defined from within operational or ad-hoc reports
• Intuitive Alert rules
• Alerts self-managed through SharePoint
• PowerView Reporting
• Highly visual design experience
• Rich metadata-driven interactivity
• Presentation-ready at all times
Increase efficiencyProactive Intelligence
Managed Self Service BI – Corporate BI
Empower users
Reporting ServicesSelf Service Alerting – User-defined
• 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)
Create data alerts from within reports
• Intuitive Alert Rules (greater than, before/after)
• Easy to use scheduling (weekly, daily, monthly)
• Relevant data included in Alert Message
Detect important data changes
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
• Per site administration reduces IT burden• Fine grained authorization• Self-managed through SharePoint• IT Visibility & Control of user-defined alerts
Managed through SharePoint
demo
Analytic Reporting
PowerView aka “Crescent”
Resources• SQL Server 2012 Virtual Labshttp://www.microsoft.com/sqlserver/en/us/learning-center/virtual-labs.aspx
SQL Server 2012 New Features:http://msdn.microsoft.com/en-us/library/bb500435(v=SQL.110).aspx
Thank You