Reducing Recollections: Summary Statistics, Extrapolation, & Threshold Carrie Ballinger Teradata 14.0 Certified Master

Size: px
Start display at page:

Download "Reducing Recollections: Summary Statistics, Extrapolation, & Threshold Carrie Ballinger Teradata 14.0 Certified Master"

Transcription

1 Reducing Recollections: Summary Statistics, Extrapolation, & Threshold Carrie Ballinger Teradata 14.0 Certified Master Sr. Technical Consultant Teradata

2 The Optimizer Relies on Statistics for Query Plans 2 PARSING ENGINE Optimizer Dictionary Cache Table Header Random AMP Samples Data Dictionary DBC.StatsTbl Statistics Cache Collected Statistics Histograms Subtable 0 1.Looks first for statistics it needs in the Statistics Cache 2.If not found, looks for collected statistics in DBC.StatsTbl on disk 3.Random AMP samples (RAS) are kept in the Dictionary Cache > Accessed whenever the table header (subtable 0) is accessed from disk NOTE: This presentation reflects capabilities in Teradata Database 14.0 and 14.10

3 Evolution of Statistics Histograms (for your reference) Version Description 1 Does not including sampling fields, up to 100 detail intervals 2 Includes sampling fields in Interval 0, up to 100 detail intervals Default for Teradata Database 12.0, up to 200 detail intervals, new fields provided for the interval 0 Introduced in , adds new fields for interval 0 to record single-amp and all-amp random AMP sample estimates for enhanced table growth detection Introduced in 14.0, new layout, larger number of bytes for values, modifiable number of intervals, supports SUMMARY statistics and history records 6 Introduced in 14.10, UPDATE/INSERT/DELETE counts and other new detail 3

4 The Histogram Keeps History (Version 5 and above) 4 General information about the statistic A listing of up to 400 to 800 skewed values along with the number of rows carrying that value The remaining non-skewed values are spread equally across a default of 250 equal heights intervals, with each interval carrying summarized demographics SummaryInfo data from previous collections is saved at the end of the histogram SummaryInfo MinValue MaxValue NumOfDistinctValues NumOfRows (and other columns) Biased Values and Frequencies BiasedValAndFreq[1)] BiasedValAndFreq[2] BiasedValAndFreq[3]. Intervals Interval[1],MaxVal,ModeVal,ModeFreq,LowFreq... Interval[2],MaxVal,ModeVal,ModeFreq,LowFreq... Interval[3],MaxVal,ModeVal,ModeFreq,LowFreq.... SummaryRecord[1] MinValue MaxValue NumOfDistinctValues NumOfRows (and other columns)

5 New Table-Level SUMMARY Statistics Table-level statistics only, no histogram is built Provides row count and other information to the optimizer for better extrapolations Highly-optimized, runs fast, neglible impact on the system Summary Stats 1 second EXAMPLE Column Stats 540 seconds Execution time in seconds Very helpful after a big load job when you don t have time for full recollections of the table s statistics

6 6 SHOW SUMMARY STATISTICS VALUES ON table; /** TableLevelSummary **/ /* Version */ 6, /* NumOfRecords */ 1,. /* SummaryRecord[1] */ /* Temperature */ 0, /* TimeStamp */ TIMESTAMP, /* NumOfAMPs */ 72, /* OneAMPSampleEst */ 72936, /* AllAMPSampleEst */ 73415, /* RowCount */ 73414, /* DelRowCount */ 0, /* PhyRowCount */ 73415, /* AvgRowsPerBlock */ , /* AvgBlockSize (bytes) */ , /* BLCPctCompressed */ 0.00, /* BLCBlkUcpuCost */ , /* BLCBlkURatio */ , /* AvgRowSize */ , /* StatsSkipCount */ 0, /* SysInsertCnt */ 0, /* SysDeleteCnt */ 0, /* SysUpdateCnt */ 0, /* SysInsDelLastResetTS */ TIMESTAMP Single and all-amp RAS Actual number of rows Table update counts Summary statistics include data about: > Temperature > Compression > Columnar deletes > Update counts > Average blocksize > Random AMP samples Updated each time any statistic for the table is collected

7 History is Maintained for Both Individual Statistics and Table-Level SUMMARY Statistics Statistics histogram history Current SummaryInfo Current statistics intervals Past SummaryInfo (1) Past SummaryInfo (2) Past SummaryInfo (3) SHOW STATISTICS VALUES COLUMN (column-name) ON table-name; Table summary statistics history Current table summary statistics Past summary statistics (1) Past summary statistics (2) Past summary statistics (3) SHOW SUMMARY STATISTICS VALUES ON table-name; 7

8 Statistics Extrapolation Intended to reduce frequency of re-collection Most useful with large tables that are growing If statistics are determined to be stale Demographics are adjusted to account for table updates 8 When stale statistics are detected, the optimizer attempts to extrapolate the following: > Table row count > Number of distinct values, number of NULLs > High-mode frequency > Maximum value of the histogram

9 Viewing the Impact of SUMMARY Statistics Load of 1 million rows and collect full statistics on these columns HELP STATISTICS ON MyOrders; Date Time Unique Values Column Names 13/03/11 9:24:25 1,000,000 * 13/03/11 9:23:47 999,842 custdate 13/03/11 9:24:16 1,000,000 O_ORDERKEY 13/03/11 9:24:25 2,406 O_ORDERDATE 9 Add an additional 1 million rows and re- collect SUMMARY statistics COLLECT SUMMARY STATS ON MyOrders; HELP STATISTICS ON MyOrders; Date Time Unique Values Column Names 13/03/11 9:35:59 2,000,000 * 13/03/11 9:23:47 999,842 custdate 13/03/11 9:24:16 1,000,000 O_ORDERKEY 13/03/11 9:24:25 2,406 O_ORDERDATE Unchanged

10 Viewing & Validating Extrapolated Statistics Extrapolation changes the number of unique values for each statistic HELP CURRENT STATISTICS ON MyOrders; Date Time Unique Values Column Names 13/03/11 9:40:31 2,000,000 * 13/03/11 9:40:31 1,999,684 custdate 13/03/11 9:40:31 2,000,000 O_ORDERKEY 13/03/11 9:40:31 4,812 O_ORDERDATE Re-collect full statistics to validate extrapolation Changed 10 HELP STATISTICS ON MyOrders; Date Time Unique Values Column Names 13/03/11 9:44:31 2,000,000 * 13/03/11 9:44:07 1,999,376 custdate 13/03/11 9:44:16 2,000,000 O_ORDERKEY 13/03/11 9:44:31 2,406 O_ORDERDATE

11 Extrapolation Accuracy Improves With History Insert 1m rows Collect full stats Insert 1m rows Collect summary stats Collect full stats Insert 1m rows Collect summary stats Collect full stats Insert 1m rows Collect summary stats Collect full stats Insert 1m rows Collect summary stats # History records Orderdate # actual (distinct) values Orderdate # (distinct) values extrapolated Building up the number of histogram history records by re-collecting full statistics 11

12 UseCount Logging Tracks Statistics Usage UseCount is a new DBQL logging option in Teradata Database > Turn on by database Will create one row per statistic in the DBC.ObjectUsage table Number of times the optimizer used each statistic is captured Tracks INSERTs/UPDATEs/ DELETEs made to tables in the database being logged # rows Inserted, updated, deleted Base Table DBC.ObjectUsage Data Dictionary Optimizer Looked at statistics on Column A, Column B, Column (D,F) 12

13 13 Growth Detection with UseCount & Summary Statistics in Step 1. Check if SUMMARY statistics reflect recent table updates SUMMARY Row count Assess the difference Adjust SUMMARY row counts Go to Part 2 UseCount Update counts Step 2. Use adjusted SUMMARY row count to detect stale statistic histograms Adjusted SUMMARY row counts Row count from the histogram Compare and decide if statistic is stale If stale, extrapolate the statistic Extrapolation uses UseCount and histogram history records, if available

14 UseCount Logging and Threshold Functionality In Teradata Database the Optimizer will consider thresholds to determine whether or not to recollect statistics Thresholds can be expressed as > Percent of change (the preferred metric) > Time (some number of days) Default System Threshold only recognizes percent of change > With default system threshold the Optimizer selects a reasonable change percent threshold for each statistic individually 14 For information on the Threshold functionality, see:

15 Threshold Can Be Expressed at Three Levels 15 The System Default SysChange Threshold Option Enabled by default in DBS Control Uses Percent of Change only DBA-Defined System Defaults Overrides the system default DefaultUser ChangeThreshold Disabled by default in DBS Control Uses Percent of Change DefaultTime Threshold Disabled by default in DBS Control Uses Number of Days Individualized USING clauses Overrides all system-level threshold for that statement only Statement Threshold Uses percent of change and/or number of days Uses Percent of Change or Number of Days

16 Several Factors Must Align for the Optimizer to Skip Statistic Recollections Default System Threshold enabled? Use Count Logging? Adequate history records? Predictable patterns in growth? Below systemdetermined threshold? Skip USING Threshold specified? Percent Change? Number of Days? Below change threshold? Below time threshold? Skip Skip 16

17 Viewing Skipped Statistic Recollections EXPLAIN COLLECT STATISTICS tells you if the stat was skipped We SKIP collecting STATISTICS for ('o_orderdate'), because the estimated data change of 5% does not exceed the user-specified change threshold of 20%. Can view SkipCount in DBC.StatsTbl (use the view TableStatsV) SELECT DatabaseName, TableName,ColumnName,CAST(LastCollectTimeStamp AS Date) As CollectionDate,CAST(LastAlterTimeStamp AS Date) As LastSubmitDate,StatsSkipCount FROM DBC.TableStatsV WHERE ColumnName IS NOT NULL; 17

18 18 Give Skipping a Closer Look Extrapolation accuracy has improved, easy to validate Percent of change threshold uses UseCount numbers, if available Update patterns can be identified with the help of history records You can observe whether or not skipping has taken place Recommendation: Try it out > Turn on UseCount logging for a non-critical database only > Turn off the system default and use statement-based percent of change thresholds just for the test database table collections > Run updates, execute queries, issue collect statistics statements > View extrapolation, evaluate skip frequency, check query plans

19 In-Depth Descriptions of Statistics Enhancements 19

20 20 More Information on Developer Exchange

Teradata Basics Class Outline

Teradata Basics Class Outline Teradata Basics Class Outline CoffingDW education has been customized for every customer for the past 20 years. Our classes can be taught either on site or remotely via the internet. Education Contact:

More information

My grandfather was an Arctic explorer,

My grandfather was an Arctic explorer, Explore the possibilities A Teradata Certified Master answers readers technical questions. Carrie Ballinger Senior database analyst Teradata Certified Master My grandfather was an Arctic explorer, and

More information

Lessons with Tera-Tom Teradata Architecture Video Series

Lessons with Tera-Tom Teradata Architecture Video Series Lessons with Tera-Tom Teradata Architecture Video Series For More Information Contact: Thomas Coffing Chief Executive Officer Coffing Data Warehousing Cell: 513-300-0341 Email: Tom.Coffing@coffingdw.com

More information

INSTRUCTOR-LED TRAINING COURSE

INSTRUCTOR-LED TRAINING COURSE INSTRUCTOR-LED TRAINING COURSE TERADATA TERADATA Lecture/Lab ILT 25968 4 Days COURSE DESCRIPTION This course defines the processes and procedures to follow when designing and implementing a Teradata system.

More information

"Charting the Course... Teradata Basics Course Summary

Charting the Course... Teradata Basics Course Summary Course Summary Description In this course, students will learn the basics of Teradata architecture with a focus on what s important to know from an IT and Developer perspective. Topics The Teradata Architecture

More information

Teradata Analyst Pack More Power to Analyze and Tune Your Data Warehouse for Optimal Performance

Teradata Analyst Pack More Power to Analyze and Tune Your Data Warehouse for Optimal Performance Data Warehousing > Tools & Utilities Teradata Analyst Pack More Power to Analyze and Tune Your Data Warehouse for Optimal Performance By: Rod Vandervort, Jeff Shelton, and Louis Burger Table of Contents

More information

Greenplum Architecture Class Outline

Greenplum Architecture Class Outline Greenplum Architecture Class Outline Introduction to the Greenplum Architecture What is Parallel Processing? The Basics of a Single Computer Data in Memory is Fast as Lightning Parallel Processing Of Data

More information

Teradata. This was compiled in order to describe Teradata and provide a brief overview of common capabilities and queries.

Teradata. This was compiled in order to describe Teradata and provide a brief overview of common capabilities and queries. Teradata This was compiled in order to describe Teradata and provide a brief overview of common capabilities and queries. What is it? Teradata is a powerful Big Data tool that can be used in order to quickly

More information

Infrastructure at your Service. In-Memory-Pläne für den 12.2-Optimizer: Teuer oder billig?

Infrastructure at your Service. In-Memory-Pläne für den 12.2-Optimizer: Teuer oder billig? Infrastructure at your Service. In-Memory-Pläne für den 12.2-Optimizer: Teuer oder billig? About me Infrastructure at your Service. Clemens Bleile Senior Consultant Oracle Certified Professional DB 11g,

More information

Oracle Optimizer: What s New in Oracle Database 12c? Maria Colgan Master Product Manager

Oracle Optimizer: What s New in Oracle Database 12c? Maria Colgan Master Product Manager Oracle Optimizer: What s New in Oracle Database 12c? Maria Colgan Master Product Manager PART 3 2 Program Agenda Adaptive Query Optimization Statistics Enhancements What s new in SQL Plan Management 3

More information

Oracle Database 11gR2 Optimizer Insights

Oracle Database 11gR2 Optimizer Insights Oracle Database 11gR2 Optimizer Insights Marcus Bender Distinguished Sales Consultant Presales Fellow Strategic Technical Support (STU) ORACLE Deutschland GmbH, Geschäftsstelle Hamburg Parallel Execution

More information

CAST(HASHBYTES('SHA2_256',(dbo.MULTI_HASH_FNC( tblname', schemaname'))) AS VARBINARY(32));

CAST(HASHBYTES('SHA2_256',(dbo.MULTI_HASH_FNC( tblname', schemaname'))) AS VARBINARY(32)); >Near Real Time Processing >Raphael Klebanov, Customer Experience at WhereScape USA >Definitions 1. Real-time Business Intelligence is the process of delivering business intelligence (BI) or information

More information

TokuDB vs RocksDB. What to choose between two write-optimized DB engines supported by Percona. George O. Lorch III Vlad Lesin

TokuDB vs RocksDB. What to choose between two write-optimized DB engines supported by Percona. George O. Lorch III Vlad Lesin TokuDB vs RocksDB What to choose between two write-optimized DB engines supported by Percona George O. Lorch III Vlad Lesin What to compare? Amplification Write amplification Read amplification Space amplification

More information

Flexible Indexing Using Signatures

Flexible Indexing Using Signatures Flexible Indexing Using Signatures David Holmes 9517 Linden Avenue Bethesda, MD 20814 (240)426-1658 E-mail: holmesdo@aol.com Abstract This paper discusses an implementation of database signatures. Previous

More information

Questions lead to knowledge A Teradata Certified Master answers readers technical queries.

Questions lead to knowledge A Teradata Certified Master answers readers technical queries. Questions lead to knowledge A Teradata Certified Master answers readers technical queries. A Carrie Ballinger Senior database analyst, Special Projects Teradata Certified Master V2R5 sking questions as

More information

Automating Information Lifecycle Management with

Automating Information Lifecycle Management with Automating Information Lifecycle Management with Oracle Database 2c The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated

More information

Using PostgreSQL in Tantan - From 0 to 350bn rows in 2 years

Using PostgreSQL in Tantan - From 0 to 350bn rows in 2 years Using PostgreSQL in Tantan - From 0 to 350bn rows in 2 years Victor Blomqvist vb@viblo.se Tantan ( 探探 ) December 2, PGConf Asia 2016 in Tokyo tantanapp.com 1 Sweden - Tantan - Tokyo 10 Million 11 Million

More information

ECE 7650 Scalable and Secure Internet Services and Architecture ---- A Systems Perspective

ECE 7650 Scalable and Secure Internet Services and Architecture ---- A Systems Perspective ECE 7650 Scalable and Secure Internet Services and Architecture ---- A Systems Perspective Part II: Data Center Software Architecture: Topic 3: Programming Models RCFile: A Fast and Space-efficient Data

More information

IT Best Practices Audit TCS offers a wide range of IT Best Practices Audit content covering 15 subjects and over 2200 topics, including:

IT Best Practices Audit TCS offers a wide range of IT Best Practices Audit content covering 15 subjects and over 2200 topics, including: IT Best Practices Audit TCS offers a wide range of IT Best Practices Audit content covering 15 subjects and over 2200 topics, including: 1. IT Cost Containment 84 topics 2. Cloud Computing Readiness 225

More information

Cost Based Optimizer CBO: Configuration Roadmap

Cost Based Optimizer CBO: Configuration Roadmap Cost Based Optimizer CBO: Configuration Roadmap Christian Antognini Sandro Crepaldi DOAG Regionaltreffen Hamburg/Nord 13.09.05, Hamburg Disclaimer > The CBO changes from release to release > It s difficult

More information

Shabnam Watson. SQL Server Analysis Services for DBAs

Shabnam Watson. SQL Server Analysis Services for DBAs Shabnam Watson SQL Server Analysis Services for DBAs Shabnam Watson BI Consultant /ShabnamWatson @shbwatson info@abicube.com https://shabnamwatson.wordpress.com Work: BI Consultant Fifteen Years of experience

More information

Eine für Alle - Oracle DB für Big Data, In-memory und Exadata Dr.-Ing. Holger Friedrich

Eine für Alle - Oracle DB für Big Data, In-memory und Exadata Dr.-Ing. Holger Friedrich Eine für Alle - Oracle DB für Big Data, In-memory und Exadata Dr.-Ing. Holger Friedrich Agenda Introduction Old Times Exadata Big Data Oracle In-Memory Headquarters Conclusions 2 sumit AG Consulting and

More information

AUTOMATIC CLUSTERING PRASANNA RAJAPERUMAL I MARCH Snowflake Computing Inc. All Rights Reserved

AUTOMATIC CLUSTERING PRASANNA RAJAPERUMAL I MARCH Snowflake Computing Inc. All Rights Reserved AUTOMATIC CLUSTERING PRASANNA RAJAPERUMAL I MARCH 2019 SNOWFLAKE Our vision Allow our customers to access all their data in one place so they can make actionable decisions anytime, anywhere, with any number

More information

Copyright 2012, Oracle and/or its affiliates. All rights reserved.

Copyright 2012, Oracle and/or its affiliates. All rights reserved. 1 The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any

More information

SQL/MX UPDATE STATISTICS Enhancements

SQL/MX UPDATE STATISTICS Enhancements SQL/MX UPDATE STATISTICS Enhancements Introduction... 2 UPDATE STATISTICS Background... 2 Tests Performed... 2 Test Results... 3 For more information... 7 Introduction HP NonStop SQL/MX Release 2.1.1 includes

More information

SAP IQ - Business Intelligence and vertical data processing with 8 GB RAM or less

SAP IQ - Business Intelligence and vertical data processing with 8 GB RAM or less SAP IQ - Business Intelligence and vertical data processing with 8 GB RAM or less Dipl.- Inform. Volker Stöffler Volker.Stoeffler@DB-TecKnowledgy.info Public Agenda Introduction: What is SAP IQ - in a

More information

Query Answering Using Inverted Indexes

Query Answering Using Inverted Indexes Query Answering Using Inverted Indexes Inverted Indexes Query Brutus AND Calpurnia J. Pei: Information Retrieval and Web Search -- Query Answering Using Inverted Indexes 2 Document-at-a-time Evaluation

More information

Teradata 14 Certification Exams Objectives. TE0-143 Teradata 14 Physical Design and Implementation

Teradata 14 Certification Exams Objectives. TE0-143 Teradata 14 Physical Design and Implementation Teradata 14 Certification Exams Objectives The high level objectives represent the general content areas. The more detailed information below the objective indicates representative topic areas. All Teradata

More information

IBM EXAM - C DB Advanced DBA for Linux UNIX and Windows. Buy Full Product.

IBM EXAM - C DB Advanced DBA for Linux UNIX and Windows. Buy Full Product. IBM EXAM - C2090-614 DB2 10.1 Advanced DBA for Linux UNIX and Windows Buy Full Product http://www.examskey.com/c2090-614.html Examskey IBM C2090-614 exam demo product is here for you to test the quality

More information

Presentation Abstract

Presentation Abstract Presentation Abstract From the beginning of DB2, application performance has always been a key concern. There will always be more developers than DBAs, and even as hardware cost go down, people costs have

More information

Exadata X3 in action: Measuring Smart Scan efficiency with AWR. Franck Pachot Senior Consultant

Exadata X3 in action: Measuring Smart Scan efficiency with AWR. Franck Pachot Senior Consultant Exadata X3 in action: Measuring Smart Scan efficiency with AWR Franck Pachot Senior Consultant 16 March 2013 1 Exadata X3 in action: Measuring Smart Scan efficiency with AWR Exadata comes with new statistics

More information

An Informal Introduction to MemCom

An Informal Introduction to MemCom An Informal Introduction to MemCom Table of Contents 1 The MemCom Database...2 1.1 Physical Layout...2 1.2 Database Exchange...2 1.3 Adding More Data...2 1.4 The Logical Layout...2 1.5 Inspecting Databases

More information

Performance Optimization for Informatica Data Services ( Hotfix 3)

Performance Optimization for Informatica Data Services ( Hotfix 3) Performance Optimization for Informatica Data Services (9.5.0-9.6.1 Hotfix 3) 1993-2015 Informatica Corporation. No part of this document may be reproduced or transmitted in any form, by any means (electronic,

More information

Histogram Support in MySQL 8.0

Histogram Support in MySQL 8.0 Histogram Support in MySQL 8.0 Øystein Grøvlen Senior Principal Software Engineer MySQL Optimizer Team, Oracle February 2018 Program Agenda 1 2 3 4 5 Motivating example Quick start guide How are histograms

More information

Data Storage and Query Answering. Data Storage and Disk Structure (4)

Data Storage and Query Answering. Data Storage and Disk Structure (4) Data Storage and Query Answering Data Storage and Disk Structure (4) Introduction We have introduced secondary storage devices, in particular disks. Disks use blocks as basic units of transfer and storage.

More information

Course Contents of ORACLE 9i

Course Contents of ORACLE 9i Overview of Oracle9i Server Architecture Course Contents of ORACLE 9i Responsibilities of a DBA Changing DBA Environments What is an Oracle Server? Oracle Versioning Server Architectural Overview Operating

More information

EsgynDB Enterprise 2.0 Platform Reference Architecture

EsgynDB Enterprise 2.0 Platform Reference Architecture EsgynDB Enterprise 2.0 Platform Reference Architecture This document outlines a Platform Reference Architecture for EsgynDB Enterprise, built on Apache Trafodion (Incubating) implementation with licensed

More information

Welcome to the presentation. Thank you for taking your time for being here.

Welcome to the presentation. Thank you for taking your time for being here. Welcome to the presentation. Thank you for taking your time for being here. In this presentation, my goal is to share with you 10 practical points that a single partitioned DBA needs to know to get head

More information

Microsoft SQL Server Fix Pack 15. Reference IBM

Microsoft SQL Server Fix Pack 15. Reference IBM Microsoft SQL Server 6.3.1 Fix Pack 15 Reference IBM Microsoft SQL Server 6.3.1 Fix Pack 15 Reference IBM Note Before using this information and the product it supports, read the information in Notices

More information

An In-Depth Analysis of Data Aggregation Cost Factors in a Columnar In-Memory Database

An In-Depth Analysis of Data Aggregation Cost Factors in a Columnar In-Memory Database An In-Depth Analysis of Data Aggregation Cost Factors in a Columnar In-Memory Database Stephan Müller, Hasso Plattner Enterprise Platform and Integration Concepts Hasso Plattner Institute, Potsdam (Germany)

More information

Search Engines. Information Retrieval in Practice

Search Engines. Information Retrieval in Practice Search Engines Information Retrieval in Practice All slides Addison Wesley, 2008 Web Crawler Finds and downloads web pages automatically provides the collection for searching Web is huge and constantly

More information

Oracle. Exam Questions 1Z Oracle Database 11g Release 2: SQL Tuning Exam. Version:Demo

Oracle. Exam Questions 1Z Oracle Database 11g Release 2: SQL Tuning Exam. Version:Demo Oracle Exam Questions 1Z0-117 Oracle Database 11g Release 2: SQL Tuning Exam Version:Demo 1.You ran a high load SQL statement that used an index through the SQL Tuning Advisor and accepted its recommendation

More information

DB2 Performance Essentials

DB2 Performance Essentials DB2 Performance Essentials Philip K. Gunning Certified Advanced DB2 Expert Consultant, Lecturer, Author DISCLAIMER This material references numerous hardware and software products by their trade names.

More information

Exam Questions C

Exam Questions C Exam Questions C2090-614 DB2 10.1 Advanced DBA for Linux UNIX and Windows (C2090-614) https://www.2passeasy.com/dumps/c2090-614/ 1.Which constraints are used to tell the DB2 Optimizer to consider business

More information

Implementing Oracle database12c s Heat Map and Automatic Data Optimization to optimize the database storage cost and performance

Implementing Oracle database12c s Heat Map and Automatic Data Optimization to optimize the database storage cost and performance Implementing Oracle database12c s Heat Map and Automatic Data Optimization to optimize the database storage cost and performance Kai Yu Oracle Solutions Engineering Dell Inc About Author Kai Yu, Senior

More information

Copyright 2012, Oracle and/or its affiliates. All rights reserved.

Copyright 2012, Oracle and/or its affiliates. All rights reserved. 1 Oracle safe harbor statement The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not

More information

Extreme Storage Performance with exflash DIMM and AMPS

Extreme Storage Performance with exflash DIMM and AMPS Extreme Storage Performance with exflash DIMM and AMPS 214 by 6East Technologies, Inc. and Lenovo Corporation All trademarks or registered trademarks mentioned here are the property of their respective

More information

Implementing Oracle database12c s Heat Map and Automatic Data Optimization to Optimize the Database Storage Cost and Performance

Implementing Oracle database12c s Heat Map and Automatic Data Optimization to Optimize the Database Storage Cost and Performance Implementing Oracle database12c s Heat Map and Automatic Data Optimization to Optimize the Database Storage Cost and Performance Kai Yu Oracle Solutions Engineering Dell Inc Agenda Database Storage Challenges

More information

MySQL 5.1 Past, Present and Future MySQL UC 2006 Santa Clara, CA

MySQL 5.1 Past, Present and Future MySQL UC 2006 Santa Clara, CA MySQL 5.1 Past, Present and Future jan@mysql.com MySQL UC 2006 Santa Clara, CA Abstract Last year at the same place MySQL presented the 5.0 release introducing Stored Procedures, Views and Triggers to

More information

Oracle Database 11g: New Features for Administrators DBA Release 2

Oracle Database 11g: New Features for Administrators DBA Release 2 Oracle Database 11g: New Features for Administrators DBA Release 2 Duration: 5 Days What you will learn This Oracle Database 11g: New Features for Administrators DBA Release 2 training explores new change

More information

Performance Tuning. Chapter 25

Performance Tuning. Chapter 25 Chapter 25 Performance Tuning This chapter covers the following topics: Overview, 618 Identifying the Performance Bottleneck, 619 Optimizing the Target Database, 624 Optimizing the Source Database, 627

More information

Stored Procedure DWHPRO TITHONIZER

Stored Procedure DWHPRO TITHONIZER Stored Procedure DWHPRO TITHONIZER Page 1 of 15 Table of Content 1. ABOUT THIS DOCUMENT...3 2. THE PURPOSE OF DWHPRO TITHONIZER...4 2.1. AUTOMATIC DETERMINATION OF THE BEST POSSIBLE COMPRESSION...4 2.2.

More information

When should an index be used?

When should an index be used? When should an index be used? Christian Antognini Trivadis AG Zürich, Switzerland Introduction One of the biggest problems tuning a SQL statement or judging if its execution plan is optimal, is to decide

More information

Document Type: Best Practice Date: January 14, 2010

Document Type: Best Practice Date: January 14, 2010 Global Business Intelligence and Data Integration Practice Troubleshooting SAS and Teradata Query Performance Problems Document Type: Best Practice Date: January 14, 2010 Contact Information Name: Jeffrey

More information

Chapter 17. Disk Storage, Basic File Structures, and Hashing. Records. Blocking

Chapter 17. Disk Storage, Basic File Structures, and Hashing. Records. Blocking Chapter 17 Disk Storage, Basic File Structures, and Hashing Records Fixed and variable length records Records contain fields which have values of a particular type (e.g., amount, date, time, age) Fields

More information

Advance SQL: SQL Performance Tuning. SQL Views

Advance SQL: SQL Performance Tuning. SQL Views Advance SQL: SQL Performance Tuning SQL Views A view is nothing more than a SQL statement that is stored in the database with an associated name. A view is actually a composition of a table in the form

More information

Built for Speed: Comparing Panoply and Amazon Redshift Rendering Performance Utilizing Tableau Visualizations

Built for Speed: Comparing Panoply and Amazon Redshift Rendering Performance Utilizing Tableau Visualizations Built for Speed: Comparing Panoply and Amazon Redshift Rendering Performance Utilizing Tableau Visualizations Table of contents Faster Visualizations from Data Warehouses 3 The Plan 4 The Criteria 4 Learning

More information

Cognos Dynamic Cubes

Cognos Dynamic Cubes Cognos Dynamic Cubes Amit Desai Cognos Support Engineer Open Mic Facilitator Reena Nagrale Cognos Support Engineer Presenter Gracy Mendonca Cognos Support Engineer Technical Panel Member Shashwat Dhyani

More information

Inline LOBs (Large Objects)

Inline LOBs (Large Objects) Inline LOBs (Large Objects) Jeffrey Berger Senior Software Engineer DB2 Performance Evaluation bergerja@us.ibm.com Disclaimer/Trademarks THE INFORMATION CONTAINED IN THIS DOCUMENT HAS NOT BEEN SUBMITTED

More information

The Right Read Optimization is Actually Write Optimization. Leif Walsh

The Right Read Optimization is Actually Write Optimization. Leif Walsh The Right Read Optimization is Actually Write Optimization Leif Walsh leif@tokutek.com The Right Read Optimization is Write Optimization Situation: I have some data. I want to learn things about the world,

More information

Evolution of the Prometheus TSDB. Brian Brazil Founder

Evolution of the Prometheus TSDB. Brian Brazil Founder Evolution of the Prometheus TSDB Brian Brazil Founder Who am I? Engineer passionate about running software reliably in production. Core developer of Prometheus Studied Computer Science in Trinity College

More information

Oracle Exadata: The World s Fastest Database Machine

Oracle Exadata: The World s Fastest Database Machine 10 th of November Sheraton Hotel, Sofia Oracle Exadata: The World s Fastest Database Machine Daniela Milanova Oracle Sales Consultant Oracle Exadata Database Machine One architecture for Data Warehousing

More information

Performance Monitoring AlwaysOn Availability Groups. Anthony E. Nocentino

Performance Monitoring AlwaysOn Availability Groups. Anthony E. Nocentino Performance Monitoring AlwaysOn Availability Groups Anthony E. Nocentino aen@centinosystems.com Anthony E. Nocentino Consultant and Trainer Founder and President of Centino Systems Specialize in system

More information

ColdFusion Summit 2016

ColdFusion Summit 2016 ColdFusion Summit 2016 Building Better SQL Server Databases Who is this guy? Eric Cobb - Started in IT in 1999 as a "webmaster - Developer for 14 years - Microsoft Certified Solutions Expert (MCSE) - Data

More information

Brief Contents. Foreword by Sarah Frostenson...xvii. Acknowledgments... Introduction... xxiii. Chapter 1: Creating Your First Database and Table...

Brief Contents. Foreword by Sarah Frostenson...xvii. Acknowledgments... Introduction... xxiii. Chapter 1: Creating Your First Database and Table... Brief Contents Foreword by Sarah Frostenson....xvii Acknowledgments... xxi Introduction... xxiii Chapter 1: Creating Your First Database and Table... 1 Chapter 2: Beginning Data Exploration with SELECT...

More information

Query Store What s it all about?

Query Store What s it all about? Query Store What s it all about? Andrew J. Kelly Sr. Technology Subject Matter Specialist B3 Group Inc. #ITDEVCONNECTIONS ITDEVCONNECTIONS.COM Andrew J. Kelly Andrew J. Kelly is a Sr. Technology Subject

More information

IBM C IBM DB2 11 DBA for z/os. Download Full Version :

IBM C IBM DB2 11 DBA for z/os. Download Full Version : IBM C2090-312 IBM DB2 11 DBA for z/os Download Full Version : http://killexams.com/pass4sure/exam-detail/c2090-312 Answer: C, E QUESTION: 58 You want to convert a segmented table space into a partition-by-growth

More information

Self Healing PostgreSQL with Predictive Analysis. - Rajesh Madiwale(Database Consultant)

Self Healing PostgreSQL with Predictive Analysis. - Rajesh Madiwale(Database Consultant) Self Healing PostgreSQL with Predictive Analysis - Rajesh Madiwale(Database Consultant) Introduction I am Rajesh Madiwale with 4+ Years of exp on various DB technologies like PostgreSQL,Greenplum,Mongodb,Mysql.

More information

Lecture 15. Lecture 15: Bitmap Indexes

Lecture 15. Lecture 15: Bitmap Indexes Lecture 5 Lecture 5: Bitmap Indexes Lecture 5 What you will learn about in this section. Bitmap Indexes 2. Storing a bitmap index 3. Bitslice Indexes 2 Lecture 5. Bitmap indexes 3 Motivation Consider the

More information

SQL Gone Wild: Taming Bad SQL the Easy Way (or the Hard Way) Sergey Koltakov Product Manager, Database Manageability

SQL Gone Wild: Taming Bad SQL the Easy Way (or the Hard Way) Sergey Koltakov Product Manager, Database Manageability SQL Gone Wild: Taming Bad SQL the Easy Way (or the Hard Way) Sergey Koltakov Product Manager, Database Manageability Oracle Enterprise Manager Top-Down, Integrated Application Management Complete, Open,

More information

Teradata SQL Class Outline

Teradata SQL Class Outline Teradata SQL Class Outline CoffingDW education has been customized for every customer for the past 20 years. Our classes can be taught either on site or remotely via the internet. Education Contact: Thomas

More information

KB_SQL 2016 (Version 5.8) Release Notes 03/28/2016. KBS eservice Center (http://www.kbsreporting.com/support) KBS.NET Download Agent...

KB_SQL 2016 (Version 5.8) Release Notes 03/28/2016. KBS eservice Center (http://www.kbsreporting.com/support) KBS.NET Download Agent... Table of Contents KBS eservice Center (http://www.kbsreporting.com/support)... 4 KBS.NET Download Agent... 5 KB_SQL ADO.NET Data Provider... 6 KB_SQL JDBC Driver... 7 *2924 - Prepared Statement should

More information

Searching the Deep Web

Searching the Deep Web Searching the Deep Web 1 What is Deep Web? Information accessed only through HTML form pages database queries results embedded in HTML pages Also can included other information on Web can t directly index

More information

<Insert Picture Here> Inside the Oracle Database 11g Optimizer Removing the black magic

<Insert Picture Here> Inside the Oracle Database 11g Optimizer Removing the black magic Inside the Oracle Database 11g Optimizer Removing the black magic Hermann Bär Data Warehousing Product Management, Server Technologies Goals of this session We will Provide a common

More information

Introduction to Database Services

Introduction to Database Services Introduction to Database Services Shaun Pearce AWS Solutions Architect 2015, Amazon Web Services, Inc. or its affiliates. All rights reserved Today s agenda Why managed database services? A non-relational

More information

Automatic Data Optimization with Oracle Database 12c O R A C L E W H I T E P A P E R S E P T E M B E R

Automatic Data Optimization with Oracle Database 12c O R A C L E W H I T E P A P E R S E P T E M B E R Automatic Data Optimization with Oracle Database 12c O R A C L E W H I T E P A P E R S E P T E M B E R 2 0 1 7 Table of Contents Disclaimer 1 Introduction 2 Storage Tiering and Compression Tiering 3 Heat

More information

ECE 669 Parallel Computer Architecture

ECE 669 Parallel Computer Architecture ECE 669 Parallel Computer Architecture Lecture 9 Workload Evaluation Outline Evaluation of applications is important Simulation of sample data sets provides important information Working sets indicate

More information

DB2 9 for z/os Selected Query Performance Enhancements

DB2 9 for z/os Selected Query Performance Enhancements Session: C13 DB2 9 for z/os Selected Query Performance Enhancements James Guo IBM Silicon Valley Lab May 10, 2007 10:40 a.m. 11:40 a.m. Platform: DB2 for z/os 1 Table of Content Cross Query Block Optimization

More information

1 Copyright 2011, Oracle and/or its affiliates. All rights reserved.

1 Copyright 2011, Oracle and/or its affiliates. All rights reserved. 1 Copyright 2011, Oracle and/or its affiliates. All rights 2 Copyright 2011, Oracle and/or its affiliates. All rights Optimizer Statistics CPU & IO DATA DICTIONARY OPTIMIZER STATISTICS Index Table Column

More information

SQL Tuning Reading Recent Data Fast

SQL Tuning Reading Recent Data Fast SQL Tuning Reading Recent Data Fast Dan Tow singingsql.com Introduction Time is the key to SQL tuning, in two respects: Query execution time is the key measure of a tuned query, the only measure that matters

More information

Top 10 Features in Oracle 12C for Developers and DBA s Gary Bhandarkar Merck & Co., Inc., Rahway, NJ USA

Top 10 Features in Oracle 12C for Developers and DBA s Gary Bhandarkar Merck & Co., Inc., Rahway, NJ USA Top 10 Features in Oracle 12C for Developers and DBA s Gary Bhandarkar Merck & Co., Inc., Rahway, NJ USA Agenda Background ORACLE 12c FEATURES CONCLUSION 2 Top 10 Oracle 12c Features Feature 1: ADAPTIVE

More information

Shark: SQL and Rich Analytics at Scale. Yash Thakkar ( ) Deeksha Singh ( )

Shark: SQL and Rich Analytics at Scale. Yash Thakkar ( ) Deeksha Singh ( ) Shark: SQL and Rich Analytics at Scale Yash Thakkar (2642764) Deeksha Singh (2641679) RDDs as foundation for relational processing in Shark: Resilient Distributed Datasets (RDDs): RDDs can be written at

More information

Arrays are a very commonly used programming language construct, but have limited support within relational databases. Although an XML document or

Arrays are a very commonly used programming language construct, but have limited support within relational databases. Although an XML document or Performance problems come in many flavors, with many different causes and many different solutions. I've run into a number of these that I have not seen written about or presented elsewhere and I want

More information

Implementing Storage Tiering in Data Warehouse with Oracle Automatic Data Optimization. Kai Yu Oracle Solutions Engineering Dell Inc

Implementing Storage Tiering in Data Warehouse with Oracle Automatic Data Optimization. Kai Yu Oracle Solutions Engineering Dell Inc Implementing Storage Tiering in Data Warehouse with Oracle Automatic Data Optimization Kai Yu Oracle Solutions Engineering Dell Inc Agenda Database Storage Challenges for IT Organizations Oracle 12c Information

More information

Module 9: Selectivity Estimation

Module 9: Selectivity Estimation Module 9: Selectivity Estimation Module Outline 9.1 Query Cost and Selectivity Estimation 9.2 Database profiles 9.3 Sampling 9.4 Statistics maintained by commercial DBMS Web Forms Transaction Manager Lock

More information

MariaDB Optimizer. Current state, comparison with other branches, development plans

MariaDB Optimizer. Current state, comparison with other branches, development plans MariaDB Optimizer Current state, comparison with other branches, development plans Sergei Petrunia MariaDB Tampere Unconference June 2018 2 MariaDB 10.2 MariaDB 10.3 MySQL 8.0 MariaDB

More information

Optimizing Testing Performance With Data Validation Option

Optimizing Testing Performance With Data Validation Option Optimizing Testing Performance With Data Validation Option 1993-2016 Informatica LLC. No part of this document may be reproduced or transmitted in any form, by any means (electronic, photocopying, recording

More information

OKC MySQL Users Group

OKC MySQL Users Group OKC MySQL Users Group OKC MySQL Discuss topics about MySQL and related open source RDBMS Discuss complementary topics (big data, NoSQL, etc) Help to grow the local ecosystem through meetups and events

More information

Chapter 9. Cardinality Estimation. How Many Rows Does a Query Yield? Architecture and Implementation of Database Systems Winter 2010/11

Chapter 9. Cardinality Estimation. How Many Rows Does a Query Yield? Architecture and Implementation of Database Systems Winter 2010/11 Chapter 9 How Many Rows Does a Query Yield? Architecture and Implementation of Database Systems Winter 2010/11 Wilhelm-Schickard-Institut für Informatik Universität Tübingen 9.1 Web Forms Applications

More information

IBM EXAM - C DB DBA for Linux, UNIX, and Windows. Buy Full Product.

IBM EXAM - C DB DBA for Linux, UNIX, and Windows. Buy Full Product. IBM EXAM - C2090-611 DB2 10.1 DBA for Linux, UNIX, and Windows Buy Full Product http://www.examskey.com/c2090-611.html Examskey IBM C2090-611 exam demo product is here for you to test the quality of the

More information

Learning Objectives : This chapter provides an introduction to performance tuning scenarios and its tools.

Learning Objectives : This chapter provides an introduction to performance tuning scenarios and its tools. Oracle Performance Tuning Oracle Performance Tuning DB Oracle Wait Category Wait AWR Cloud Controller Share Pool Tuning 12C Feature RAC Server Pool.1 New Feature in 12c.2.3 Basic Tuning Tools Learning

More information

LAB 1 INSTRUCTIONS DESCRIBING AND DISPLAYING DATA

LAB 1 INSTRUCTIONS DESCRIBING AND DISPLAYING DATA LAB 1 INSTRUCTIONS DESCRIBING AND DISPLAYING DATA This lab will assist you in learning how to summarize and display categorical and quantitative data in StatCrunch. In particular, you will learn how to

More information

Things to remember when working with Oracle... (for UDB specialists)

Things to remember when working with Oracle... (for UDB specialists) TRAINING & CONSULTING Things to remember when working with Oracle... (for UDB specialists) Kris Van Thillo, ABIS ABIS Training & Consulting www.abis.be training@abis.be 2013 Document number: DB2LUWUserMeeting2013Front.fm

More information

Understanding Optimizer Statistics With Oracle Database 12c Release 2 O R A C L E W H I T E P A P E R M A R C H

Understanding Optimizer Statistics With Oracle Database 12c Release 2 O R A C L E W H I T E P A P E R M A R C H Understanding Optimizer Statistics With Oracle Database 12c Release 2 O R A C L E W H I T E P A P E R M A R C H 2 0 1 7 Table of Contents Introduction 1 What are Optimizer Statistics? 2 Statistics on Partitioned

More information

Healthy SQL. Marlon Ramos Premiere Field Engineer - Development

Healthy SQL. Marlon Ramos Premiere Field Engineer - Development Healthy SQL Marlon Ramos Premiere Field Engineer - Development Microsoft @mramosgt Patrocinadores del SQL Saturday Gold Sponsor Bronze Sponsor Geek Sponsor Agenda What a SQL Server health check is about

More information

Performance Monitoring AlwaysOn Availability Groups. Anthony E. Nocentino

Performance Monitoring AlwaysOn Availability Groups. Anthony E. Nocentino Performance Monitoring AlwaysOn Availability Groups Anthony E. Nocentino aen@centinosystems.com Anthony E. Nocentino Consultant and Trainer Founder and President of Centino Systems Specialize in system

More information

Course Outline and Objectives: Database Programming with SQL

Course Outline and Objectives: Database Programming with SQL Introduction to Computer Science and Business Course Outline and Objectives: Database Programming with SQL This is the second portion of the Database Design and Programming with SQL course. In this portion,

More information

Born to be Parallel, and Beyond

Born to be Parallel, and Beyond Born to be Parallel, and Beyond Teradata s Enduring Performance Advantage Carrie Ballinger, Performance Engineering, Teradata Labs 02.16 EB3053 DATA WAREHOUSING Table of Contents 2 Introduction 3 Multidimensional

More information

Crystal Reports. Overview. Contents. How to report off a Teradata Database

Crystal Reports. Overview. Contents. How to report off a Teradata Database Crystal Reports How to report off a Teradata Database Overview What is Teradata? NCR Teradata is a database and data warehouse software developer. This whitepaper will give you some basic information on

More information

OLAP Introduction and Overview

OLAP Introduction and Overview 1 CHAPTER 1 OLAP Introduction and Overview What Is OLAP? 1 Data Storage and Access 1 Benefits of OLAP 2 What Is a Cube? 2 Understanding the Cube Structure 3 What Is SAS OLAP Server? 3 About Cube Metadata

More information