Very large Databases in your future Eric Peterson.

Slides:



Advertisements
Similar presentations
Very Large
Advertisements

Chapter 9. Performance Management Enterprise wide endeavor Research and ascertain all performance problems – not just DBMS Five factors influence DB performance.
Performance-Tuning for Extract/Transform/Load (ETL) Operations Presented by : Ken Stuber.
Big Data Working with Terabytes in SQL Server Andrew Novick
High Performance Analytical Appliance MPP Database Server Platform for high performance Prebuilt appliance with HW & SW included and optimally configured.
SQL Server 2005 features for VLDBs. SQL Server 2005 features for VLDBs aka (it’s fixed in the next release)
Stephen Archbold. Working with SQL Server for 6+ years Former Production DBA for 24/7 High volume operation Currently SQL Server consultant at Prodata.
Database Optimization & Maintenance Tim Richard ECM Training Conference#dbwestECM Agenda SQL Configuration OnBase DB Planning Backups Integrity.
Gary Hope SQL Guy Michael O’Donovan SharePoint Guy.
Virtual techdays INDIA │ September 2011 Tips for Successful SQL Server Deployment in Enterprise Environment Balmukund Lakhani │ Technical Lead –
Performance and Scalability. Performance and Scalability Challenges Optimizing PerformanceScaling UpScaling Out.
Physical Database Design & Performance. Optimizing for Query Performance For DBs with high retrieval traffic as compared to maintenance traffic, optimizing.
TEMPDB Capacity Planning. Indexing Advantages – Increases performance – SQL server do not have to search all the rows. – Performance, Concurrency, Required.
Chokchai Junchey Microsoft Product Specialist Certified Technical Training Center.
Improving Efficiency of I/O Bound Systems More Memory, Better Caching Newer and Faster Disk Drives Set Object Access (SETOBJACC) Reorganize (RGZPFM) w/
SESSION CODE: BIE07-INT Eric Kraemer Senior Program Manager Microsoft Corporation.
Agenda for Today Do Chapter 14 Final Project Review for Final.
Roy Ernest Manager of DBA Dept Pinnacle Sports Worldwide
Module 16: Performing Ongoing Database Maintenance
© 2008 Quest Software, Inc. ALL RIGHTS RESERVED. Perfmon and Profiler 101.
Srik Raghavan Principal Lead Program Manager Kevin Cox Principal Program Manager SESSION CODE: DAT206.
SQLintersection Putting the "Squeeze" on Large Tables Improve Performance and Save Space with Data Compression Justin Randall Tuesday,
Infrastructure for Data Warehouses. Basics Of Data Access Data Store Machine Memory Buffer Memory Cache Data Store Buffer Bus Structure.
MISSION CRITICAL COMPUTING Siebel Database Considerations.
Making DBCC CHECKDB Go Faster Argenis Fernandez Senior Database Engineer
October 15-18, 2013 Charlotte, NC Accelerating Database Performance Using Compression Joseph D’Antoni, Solutions Architect Anexinet.
Copyright Sammamish Software Services All rights reserved. 1 Prog 140  SQL Server Performance Monitoring and Tuning.
How to kill SQL Server Performance Håkan Winther.
Strategies for Working with Texas-sized Databases Robert L Davis Database Engineer
SQL Server 2016 – New Features Tilahun Endihnew March 12, 2016.
Splits, Merges and Purges THE HOW TO OF TABLE PARTITIONING.
Configuring SQL Server for a successful SharePoint Server Deployment Haaron Gonzalez Solution Architect & Consultant Microsoft MVP SharePoint Server
You Inherited a Database Now What? What you should immediately check and start monitoring for. Tim Radney, Senior DBA for a top 40 US Bank President of.
Doing fast! Optimizing Query performance with ColumnStore Indexes in SQL Server 2012 Margarita Naumova | SQL Master Academy.
Carlos Bossy Quanta Intelligence SQL Server MCTS, MCITP BI CBIP, Data Mining Real-time Data Warehouse and Reporting Solutions.
SQL Server Performance Tuning Starter Kit Randolph West | Born SQL.
Hitting the SQL Server “Go Faster” Button Rob Douglas #509 | Brisbane 2016.
Memory-Optimized Tables Querying at the speed of light.
Data Warehouse ETL By Garrett EDmondson Thanks to our Gold Sponsors:
Get the Most out of SQL Server Standard Edition
You Inherited a Database Now What?
Execution Planning for Success
Antonio Abalos Castillo
Hitting the SQL Server “Go Faster” Button
Very Large Databases in your future
Finding more space for your tight environment
A Technical Overview of Microsoft® SQL Server™ 2005 High Availability Beta 2 Matthew Stephen IT Pro Evangelist (SQL Server)
Data Warehouse in the Cloud – Marketing or Reality?
Reading execution plans successfully
Designing Database Solutions for SQL Server
Building Modern Transaction Systems on SQL Server
Introduction to SQL Server Management for the Non-DBA
TCB 9 RK/MSFT Benchmark Results
The Top 5 SQL Server Mistakes
Beginner Table Partitioning
Database Administration for the Non-DBA
Hitting the SQL Server “Go Faster” Button
Tuning Your Maintenance Plans
Data Lifecycle Review and Outlook
Real world In-Memory OLTP
Welcome to SQL Saturday Denmark
Table Partitioning Intro and make that a sliding window too!
Getting the most from your SAN – File and Filegroup design patterns
Table Partitioning Intro and make that a sliding window too!
You Inherited a Database Now What?
Table Partitioning Intro and make that a sliding window too!
Ridewaan Hanslo ridewaanhanslo
February 11-13, 2019 Raleigh, NC.
Using Columnstore indexes in Azure DevOps Services. Lessons learned
Using Columnstore indexes in Azure DevOps Services. Lessons learned
Presentation transcript:

very large Databases in your future Eric Peterson

VLDB how large? impact? why? easy fixes other fixes maintenance operations

how large? terabyte + depends on hardware examples 2.2 TB (2,222 GB) db EMC VNX 5500 SAN 2 - 4 gb HBA 10 gb nic

impact? Everything takes longer ! Example db raw disk I/O SQLIO raw network 2.2 TB = 2,222 GB sqliosim | iometer https://flic.kr/p/e1Mzeu I/O 397 MB/sec = 23 GB/min 10gb/sec = 1.25 GB/sec = 75 GB/min

impact?

impact? backup / restore copies & initial sync re-index 19 GB/min or 2,222 GB in 108 min 75 GB/min or 2,222 GB in 30 min 11 GB/min or 2,222 GB in 300 min

I/O data transfers backup 19 GB/min hh:mm GB 00:05 100 00:49 1000 01:48 2222 08:06 10,000

I/O data transfers copy 75 GB/min hh:mm GB 00:01 100 00:13 1,000 00:30 2,222 02:13 10,000

I/O data transfers reindex 11 GB/min hh:mm GB 00:14 100 02:15 1,000 05:00 2,222 2230 10,000

impact? maintenance window query optimizer; 200 step histogram test environment large logs TempDB temp tables, sorts, joins, online indexing, snapshot isolation

why? queries & rollbacks network copies backups synchronization one table 266m rows 222GB data, 285GB index 20 sec table scan graphic of disk, memory & network

Easy fixes compress data Enterprise Edition less I/O, more CPU per table / index sp_estimate_data_compression_savings no LOB https://www.flickr.com/photos/marcovdz/4520986339/ compression estimator sql slavasql.blogspot.co.uk/2014/08/sql-server-data-compression-hidden-gem.html

“easy” fixes archive / purge data old / unnecessary data multiple TempDB files upgrade system / hardware add RAM faster disks

Other fixes partitioning Enterprise Edition per table needs useful primary key sliding window automation reference to codeplex.com partitioning

other fixes

other fixes multiple data files concurrent reads/writes requires file groups maintenance window to move data columnstore (in-memory) indexes be aware of restrictions

other fixes multiple data files

Maintenance online index rebuild Enterprise Edition duplicate space no XML, spatial, columnstore single partition reindex Paul Randall DBCC with VLDB article

Maintenance DBCC run on copy CheckAlloc, CheckCatalog, CheckTable Paul Randall DBCC VLDB article filegroups manually grow equal size files

Operations monitoring sp_whoisactive sys.dm_exec_procecure_stats history output from whoisactive and sys.dm…

Operations monitoring (with history) sp_whoisactive sys.dm_exec_procedure_stats history output from whoisactive and sys.dm…

operations look for anomalies can change query plan

operations query tuning scans of large tables joins to large tables excessive reads

operations query tuning large table scans large joins excessive reads

Operations work in batches

Operations snapshot isolation Change Data Capture new data to warehouse NOLOCK ? parallelism cost threshold

thanks! contact info Eric Peterson eric@rdc-corp.com

Thank you to all of our Sponsors! Diamond Sponsors Platinum Sponsors Gold Sponsors Marquee Sponsors 9/19/2015 SQLSaturday #441 – Denver 2015

Thank you to all of our Sponsors! Silver Sponsors SWAG Sponsors 9/19/2514 SQLSaturday #441 – Denver 2015