2012 © Trivadis BASEL BERN LAUSANNE ZÜRICH DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. HAMBURG MÜNCHEN STUTTGART WIEN Welcome November 2012 Columnstore Indexes.

Slides:



Advertisements
Similar presentations
Yukon – What is New Rajesh Gala. Yukon – What is new.NET Framework Programming Data Types Exception Handling Batches Databases Database Engine Administration.
Advertisements

2012 © Trivadis BASEL BERN LAUSANNE ZÜRICH DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. HAMBURG MÜNCHEN STUTTGART WIEN Welcome November 2012 Highlights BI.
2012 © Trivadis BASEL BERN LAUSANNE ZÜRICH DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. HAMBURG MÜNCHEN STUTTGART WIEN Welcome November 2012 Effiziente Data.
Data Management and Index Options for SQL Server Data Warehouses Atlanta MDF.
Basel · Baden · Bern · Lausanne · Zürich · Düsseldorf · Frankfurt/M. · Freiburg i. Br. · Hamburg · München · Stuttgart Visual Studio for Database Professionals.
2012 © Trivadis BASEL BERN LAUSANNE ZÜRICH DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. HAMBURG MÜNCHEN STUTTGART WIEN TechTalk Beste Skalierbarkeit dank massiv.
SQL SERVER 2012 XVELOCITY COLUMNSTORE INDEX Conor Cunningham Principal Architect SQL Server Engine.
Big Data Working with Terabytes in SQL Server Andrew Novick
MAKING BUSINESS INTELLIGENT DBA Delta Force SQL Server 2012 features for the DBA.
Technical BI Project Lifecycle
Dos and don’ts of Columnstore indexes The basis of xVelocity in-memory technology What’s it all about The compression methods (RLE / Dictionary encoding)
Project Management Database and SQL Server Katmai New Features Qingsong Yao
Module 6 Implementing Table Structures in SQL Server ®2008 R2.
Advanced Querying OLAP Part 2. Context OLAP systems for supporting decision making. Components: –Dimensions with hierarchies, –Measures, –Aggregation.
Data Warehousing - 3 ISYS 650. Snowflake Schema one or more dimension tables do not join directly to the fact table but must join through other dimension.
Agenda 10 Key SQL 2012 BI Innovations BI Semantic Model Project ‘Apollo’ Vertipaq xVelocity in SQL 2012.
Making Data Warehouse Easy Conor Cunningham – Principal Architect Thomas Kejser – Principal PM.
1DBTest2008. Motivation Background Relational Data Warehousing (DW) SQL Server 2008 Starjoin improvement Testing Challenge Extending Enterprise-class.
Introduction to SQL  SQL or sequel  It is a standardised language with thousands of pages in the standard  It can be in database system through GUI,
Module 9: Managing Schema Objects. Overview Naming guidelines for identifiers in schema object definitions Storage and structure of schema objects Implementing.
Overview SQL Server 2008 Overview Presented by Tarek Ghazali IT Technical Specialist Microsoft SQL Server MVP, MCTS Microsoft Web Development MCP ITIL.
Module 8 Improving Performance through Nonclustered Indexes.
MSBI online training. MSBI Online Training Course Content : What Is Microsoft BI? Core concept – BI is the cube or UDM Example cube as seen using Excel.
CS 345: Topics in Data Warehousing Tuesday, October 19, 2004.
Basel · Baden · Bern · Lausanne · Zurich · Düsseldorf · Frankfurt/M. · Freiburg i. Br. · Hamburg · Munich · Stuttgart · Vienna Partitioning Your Oracle.
Vidas Matelis, Toronto SQL Server User Group November 13, 2008.
Chapter 7 SQL HUANG XUEHUA. SQL SQL server2005 introduction Install components  management studio.
SQL Server Indexes Indexes. Overview Indexes are used to help speed search results in a database. A careful use of indexes can greatly improve search.
SQL Data Definition Language (DDL) Using Microsoft SQL Server 1SDL Data Definition Language (DDL)
Data Warehouse Design Xintao Wu University of North Carolina at Charlotte Nov 10, 2008.
2012 © Trivadis BASEL BERN LAUSANNE ZÜRICH DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. HAMBURG MÜNCHEN STUTTGART WIEN SQL Server 2012 Parallel Data Warehouse.
BI Terminologies.
2012 © Trivadis BASEL BERN LAUSANNE ZÜRICH DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. HAMBURG MÜNCHEN STUTTGART WIEN Welcome July 2012 Highlights SQL Server.
Data Types Lesson 4. Skills Matrix Table A table stores your data. Tables are relational in that they are organized as rows and columns (a matrix). Each.
SQL Server 2005 Implementation and Maintenance Chapter 3: Tables and Views.
2012 © Trivadis BASEL BERN LAUSANNE ZÜRICH DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. HAMBURG MÜNCHEN STUTTGART WIEN Welcome November 2012 Vorstellung Parallel.
Sales Dim Date Dim Customers Dim Products Dim Categories Dim Geography The data warehouse is a simple and standard one, after all we.
Chapter 4 Logical & Physical Database Design
Session 1 Module 1: Introduction to Data Integrity
INTRODUCING SQL SERVER 2012 COLUMNSTORE INDEXES Exploring and Managing SQL Server 2012 Database Engine Improvements.
2012 © Trivadis BASEL BERN LAUSANNE ZÜRICH DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. HAMBURG MÜNCHEN STUTTGART WIEN Welcome November 2012 Einführung in.
BISM Introduction Marco Russo
--A Gem of SQL Server 2012, particularly for Data Warehousing-- Present By Steven Wang.
1 Database Systems, 8 th Edition Star Schema Data modeling technique –Maps multidimensional decision support data into relational database Creates.
8 Copyright © 2005, Oracle. All rights reserved. Managing Schema Objects.
Pindaro Demertzoglou Data Resource Management – MGMT 4170 Lally School of Management Rensselaer Polytechnic Institute.
Or How I Learned to Love the Cube…. Alexander P. Nykolaiszyn BLOG:
Turbocharge your DW Queries with ColumnStore Indexes Susan Price Senior Program Manager DW and Big Data.
Doing fast! Optimizing Query performance with ColumnStore Indexes in SQL Server 2012 Margarita Naumova | SQL Master Academy.
Data Integrity & Indexes / Session 1/ 1 of 37 Session 1 Module 1: Introduction to Data Integrity Module 2: Introduction to Indexes.
IIS Server ETL Key Issues  Complex Implementation  Requires two Servers (CapEx and OpEx)  Data Latency in Analytics  More businesses demand/require.
Creating Database Objects
Module 2: Creating Data Types and Tables
Dynamic SQL: Writing Efficient Queries on the Fly
Blazing-Fast Performance:
Migrating a Disk-based Table to a Memory-optimized one in SQL Server
Implementing Data Models & Reports with Microsoft SQL Server
Enhance BI Applications and Simplify Development
20 Questions with Azure SQL Data Warehouse
Dynamic SQL: Writing Efficient Queries on the Fly
Microsoft SQL Server 2014 for Oracle DBAs Module 7
Sunil Agarwal | Principal Program Manager
Introduction of Week 9 Return assignment 5-2
Applying Data Warehouse Techniques
Using Columnstore indexes in Azure DevOps Services. Lessons learned
Creating Database Objects
Using Columnstore indexes in Azure DevOps Services. Lessons learned
Applying Data Warehouse Techniques
Using Columnstore indexes in Azure DevOps Services. Lessons learned.
Presentation transcript:

2012 © Trivadis BASEL BERN LAUSANNE ZÜRICH DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. HAMBURG MÜNCHEN STUTTGART WIEN Welcome November 2012 Columnstore Indexes and Partition Improvements 1 SQL Server 2012 Columnstore Indexes and Table Partitioning Improvements November 2012 Meinrad Weiss

2012 © Trivadis Column Store: Data Warehouse Query Performance Columnstore indexes provide an easy way to significantly improve data warehouse and decision support query performance against very large data sets  Ideal candidates include queries against star schemas that use filtering, aggregations and grouping against very large fact tables Performance improvements for “typical” data warehouse queries from 10x to 100x 2 November 2012 Columnstore Indexes and Partition Improvements

2012 © Trivadis DW Queries in SQL Server 2008 and SQL Server 2012 You need to execute high performance DW queries against very large data sets?  In SQL Server 2008 and SQL Server 2008 R2  OLAP (SSAS) MDX solution  ROLAP and T-SQL + intermediate summary tables, indexed views and aggregate tables -(Inherently inflexible)  In SQL Server 2012  You can create a columnstore index on a very large fact table referencing all columns with supporting data types -Utilizing T-SQL and core Database Engine functionality -Minimal query refactoring or intervention 3 November 2012 Columnstore Indexes and Partition Improvements SQL MDX - Dimensions - Key Figures - Aggregates (Speed) - Link to Excel - Data Mining

2012 © Trivadis Column vs. Row Store November 2012 Columnstore Indexes and Partition Improvements 4 Row Store (Heap / B-Tree) ProductIDOrderDateCost ’ ’ ’ data page “1000” data page “1001” ProductIDOrderDateCost ’ ’ ’ ProductID OrderDate Cost 2’ ’ ’ ’ ’ ’ data page “2000” data page “2001” data page “2003” Column Store (values compressed)

2012 © Trivadis Creating a columnstore index 5 T-SQL SSMS November 2012 Columnstore Indexes and Partition Improvements

2012 © Trivadis Good Candidates for Columnstore Indexing Table candidates:  Very large fact tables (for example – billions of rows)  use more or less all attributes -Adding additional columns will only have an effect at creation time  (Larger dimension tables (millions of rows) with compression friendly column data)  Update of rows may get quite complex  If unsure, it is easy to create a columnstore index and test the impact on your query workload 6 November 2012 Columnstore Indexes and Partition Improvements Fact Table Many rows Few attributes Fact Table Column Store Index

2012 © Trivadis Supported Data Types Supported data types  Char / nchar / varchar / nvarchar  (max) types, legacy LOB types and FILESTREAM are NOT supported  Decimal/numeric  Precision greater than 18 digits NOT supported  Tinyint, smallint, int, bigint  Float/real  Bit  Money, smallmoney  Date and time data types  Datetimeoffset with scale > 2 NOT supported 7 November 2012 Columnstore Indexes and Partition Improvements

2012 © Trivadis Maintaining Data in a Columnstore Index Once built, the table becomes “read-only” and INSERT/UPDATE/DELETE/MERGE is no longer allowed ALTER INDEX REBUILD / REORGANIZE not allowed Other options are still supported:  Partition switches (IN and OUT)  Drop columnstore index / make modifications / add columnstore index  UNION ALL (but be sure to validate performance) 8 November 2012 Columnstore Indexes and Partition Improvements

2012 © Trivadis Working with Partitions SQL Server 2012 supports up to 15’000 partitions per table Nice new Wizard November 2012 Columnstore Indexes and Partition Improvements 9 Partitioned Table (read only) Range 2012_08 Range 2012_09 Range 2012_10 Range 2012_11 Table Partitioned Table (read only) Switch In ETL Column Store Index Read-only Table Create Column Store index Create Column Store index

2012 © Trivadis BASEL BERN LAUSANNE ZÜRICH DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. HAMBURG MÜNCHEN STUTTGART WIEN Let‘s go. November 2012 Columnstore Indexes and Partition Improvements 10 Wettbewerb