SOM Sponsors: ORACLE STATISTICS GATHERING STRATEGY & VERSION CONTROL By: Yury Velikanov (Pythian) & All of you.

Slides:



Advertisements
Similar presentations
PL/SQL : Stop making the same performance mistakes
Advertisements

Enhancing Productivity with MySQL 5.6 New Features
Youre Smarter than a Database Overcoming the optimizers bad cardinality estimates.
Oracle to MySQL Database Migration SQLWays - Migration Software Presentation Copyright (c) Ispirer Systems Ltd. All Rights Reserved.
Due to the competitive nature of this document, the information contained within is considered to be of a proprietary and confidential nature and shall.
SOM Sponsors: RAC, GRID, CLOUD OR ON THE WAY TO ORACLE CLOUD 11GR2 RAC FEATURES REVIEW By: Ahmed Baraka (Independent) Yury Velikanov (Pythian) & All of.
SOM Sponsors: HARDWARE PERFORMANCE TESTING TOOLS (ORACLE DB) By: Casey Dyke (Macquarie Bank) Yury Velikanov (Pythian) & All of you.
Introduction to Product Family Engineering. 11 Oct 2002 Ver 2.0 ©Copyright 2002 Vortex System Concepts 2 Product Family Engineering Overview Project Engineering.
AJDT and AspectJ Release Review | © 2007 by SpringSource, made available under the EPL v1.0 1 Release Review: AJDT and AspectJ
Connecting to a Database through Programs Database Systems.
Extreme Performance with Oracle Data Warehousing
EMu New Features 2013 Bernard Marshall KE Software.
© J Street Technology, Inc So Many Choices Selecting the Right Architecture for Your Database Application Armen Stein J Street Technology, Inc.
Web Time Entry. – Logging on to Self Service – Accessing Self Service Web Time Sheet – Biweekly and Monthly web time entry – Temporary and Student web.
1.
Advanced Oracle DB tuning Performance can be defined in very different ways (OLTP versus DSS) Specific goals and targets must be set => clear recognition.
1. 2 SQL Tuning for Smarties, Dummies and Everyone in Between Jagan Athreya Director, Database Manageability, Oracle Arup Nanda Senior Director, Database.
Introduction to SQL Tuning Brown Bag Three essential concepts.
9 Copyright © 2006, Oracle. All rights reserved. Automatic Performance Management.
Module 13: Performance Tuning. Overview Performance tuning methodologies Instance level Database level Application level Overview of tools and techniques.
M ODULE 4 D ATABASE T UNING Section 3 Application Performance 1 ITEC 450 Fall 2012.
Database Performance Tuning and Query Optimization
South Dakota Library Network ALEPH v20 Tables © South Dakota Library Network, 2012 ©Ex Libris (USA), 2009 Modified for SDLN Version Last Update:
Graphs, Charts, and Tables.
Data Management and Index Options for SQL Server Data Warehouses Atlanta MDF.
Technical Support Update & OpenEdge Roadmap
1 Oracle 11g Results Cache Dean Richards Senior DBA, Confio Software.
Slide#: 1© GPS Financial Services Revised 04/08/2009 cms 2 PR Proc-YE ™ Price: Call $$$ (generous discounts on multiple purchase) cms 2 PR Proc-YE.
4 Oracle Data Integrator First Project – Simple Transformations: One source, one target 3-1.
Presented by Douglas Greer Creating and Maintaining Business Objects Universes.
Collaborate08 PeopleTools 8.48/9© PeopleTools 8.48/8.49 New Database Features David Kurtz Go-Faster Consultancy Ltd.
SQL Server AlwaysOn: Active Secondaries Luis Vargas Program Manager Microsoft Corporation DBI312.
Aqua Data Studio. Find the application We are using Aqua Data Studio v11.
Help! My table is getting too big! How to divide and conquer SQL Relay 2014.
SQL This presentation will cover: A Brief History of DBMS View in database MySQL installation.
Intermediate Visual Basic CISP 371 CRC Prof. Chapman.
Northwestern University Business Intelligence Solutions Build Cubes in Cognos 8.4.
Issues in Database Performance Performance in Read / write are hardware issues => throw money at it Performance of DB = ability of engine to locate data.
Transaction Sen Zhang. Creating Transactions and Committing New Data Transaction: series of action queries that represent a logical unit of work User.
Alternative: Bitmap Indexing Imagine the following query in huge table Find customers living in London, with 2 cars and 3 children occupying a 4 bed house.
Oracle 10g Database Administrator: Implementation and Administration
SQL Server 2005 SP2 Israeli SQL Server User Group March 2005 Ami Levin
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 10 Database Performance Tuning and Query Optimization.
ISV Innovation Presented by ISV Innovation Presented by Business Intelligence Fundamentals: Data Loading Ola Ekdahl IT Mentors 9/12/08.
Physical Database Design & Performance. Optimizing for Query Performance For DBs with high retrieval traffic as compared to maintenance traffic, optimizing.
1 The Instant Data Warehouse Released 15/01/ Hello and Welcome!! Today I am very pleased to announce the release of the 'Instant Data Warehouse'.
RBO RIP George Lumpkin Director Product Management Oracle Corporation Session id:
Administration and Monitoring the Database Oracle 10g.
CINT C++ Interpreter update ROOT2001 at Fermi-Lab Masaharu Goto.
Ch 14 QQ T F 1.A database table consists of fields and records. T F 2.Good data validation techniques can help improve data integrity. T F 3.An index is.
Week 7 : Chapter 7 Agenda SQL 710 Maintenance Plan:
Upgrading to EasyGrade Pro Version 4 (EGPv4) Same Easy to Use GradeBook With Enhanced Features.
Session id: Darrell Hilliard Senior Delivery Manager Oracle University Oracle Corporation.
DB Tuning : Chapter 10. Optimizer Center for E-Business Technology Seoul National University Seoul, Korea 이상근 Intelligent Database Systems Lab School of.
Database Systems, 8 th Edition SQL Performance Tuning Evaluated from client perspective –Most current relational DBMSs perform automatic query optimization.
Based on Learning SAS by Example: A Programmer’s Guide Chapters 1 & 2
SQL SERVER MAINTENANCE PLANS Kat
SQL Server Statistics DEMO SQL Server Statistics SREENI JULAKANTI,MCTS.MCITP,MCP. SQL SERVER Database Administration.
RIPE Network Coordination Centre October Andrew de la Haye 32-bit ASN Adjustment to Global Policy Proposal Stacy Hughes Andrew.
SQL Server Statistics DEMO SQL Server Statistics SREENI JULAKANTI,MCTS.MCITP SQL SERVER Database Administration.
This document is provided for informational purposes only and Microsoft makes no warranties, either express or implied, in this document. Information.
SQL Server Magic Buttons! What are Trace Flags and why should I care? Steinar Andersen, SQL Service Nordic AB Thanks to Thomas Kejser for peer-reviewing.
11 Copyright © 2009, Oracle. All rights reserved. Enhancing ETL Performance.
Antonio Abalos Castillo
Hitting the SQL Server “Go Faster” Button
Parallel Database Maintenance with 24/7 Systems and Huge DBs
Hitting the SQL Server “Go Faster” Button
Cardinality Estimator 2014/2016
Statistics: What are they and How do I use them
In Memory OLTP Not Just for OLTP.
Presentation transcript:

SOM Sponsors: ORACLE STATISTICS GATHERING STRATEGY & VERSION CONTROL By: Yury Velikanov (Pythian) & All of you

SOM Sponsors: Problem statement The most dangerous issue is … ­Dramatically changed performance What change performance? ­Applications changes ­Statistics changes ­Data changes Version control ­Application ­Statistics ­Data

SOM Sponsors: Oracle Statistics gathering strategy How often do we need to gather statistics (if we need to gather it at all) What percentage should be used to gather statistics Should we lock statistics for any type of objects (staging tables, temporary tables etc) Partitioning and copying statistics from one partition to others Statistics gathering time windows and related techniques Automatic statistics gathering (pros/cons) Statistics gathering features in new Oracle RDBMS versions (11GR2) Statistics gathering and version control Do we still need to use analyse command as alternative to dbms_stats? Stats and DEV/TEST/UAT environment. How to manage those? Statistics gathering performance

SOM Sponsors: How often ? Never Each 24 hours Each SQL run Weekly/Monthly/Yearly AUTO MAGICALLY :) Important!

SOM Sponsors: What % gather statistics ? 100% all the time 10% all the time AUTO

SOM Sponsors: Should we lock statistics staging tables temporary tables tables that we dont want application to gather statistics itself

SOM Sponsors: Stats and Huge Tables Partitioning ­Could copying statistics from one older to new partition Huge table ­Why we should gather statistics at all :)

SOM Sponsors: Statistics gathering performance Parallel option! Memory settings! Do not gather stats there where we do not need it

SOM Sponsors: Universal statistics gathering Statistics gathering time windows and related techniques Automatic statistics gathering (pros/cons)

SOM Sponsors: Statistics gathering features in new Oracle RDBMS versions (11GR2) enhanced-optimizer-statistics-maintenance.phphttp:// enhanced-optimizer-statistics-maintenance.php Setting STALE_PERCENT per Object Pending Statistics (gather but not publish) Extended Statistics (multi columns)

SOM Sponsors: Statistics & version control This is close to perfect strategy It doesn't address the problem for 100% ­There are always changes in the application ­There are always changes in the date

SOM Sponsors: Do we still need to use analyse command as alternative to dbms_stats?

SOM Sponsors: Stats and DEV/TEST/UAT environment. How to manage those?

SOM Sponsors: Best practices Save previous statistics before gathering a new one Gather statistics rare as possible Manage exceptions ­Lock statistics Test changes in the statistics gathering approuch