Download presentation
Presentation is loading. Please wait.
Published byFelix Wilson Modified over 9 years ago
1
Sunil Agarwal Senior Program Manager Email: sunila@microsoft.com Microsoft Corporation SESSION CODE: DAT309
4
Your mileage will vary. Page 4 Customer Data Compression Space SavingsNotes Bank Itau70%PAGE. Data Warehouse application. BWIN.com40%PAGE. OLTP Web application. NASDAQ62%PAGE. DW application. GE Healthcare38%, 21%PAGE, ROW. Manhattan Associates80%, 50%PAGE, ROW. First American Title52%PAGE. SAP ERP50%, 15%PAGE, ROW. MS Dynamics AX81%PAGE. ERP application. ServiceU35%PAGE.
5
CustomerPerformance impact Notes BWIN.com5%PAGE compression. OLTP Web application. Large volume of transactions. NASDAQ40%-60%PAGE compression. Large sequential range queries. DW Application. GE Healthcare-1%PAGE compression. 500 users, 1500 Transactions / sec. OLTP with some reporting queries. Manhattan Associates-11%PAGE compression. A lot of insert, update and delete activity. First American Title2% - 3%PAGE compression. OLTP Application. MS Dynamics AX3%PAGE compression. ERP application – small transactions.
6
TB-1 (16 GB) Compressed TB-1 (8GB) Compressed TB-1 (8GB) Empty Space (16 GB) TB-2 ( 4 GB) TB-2 ( 4 GB) Comp TB-2 2GB Empty Space (14 GB) Empty Space 4GB TB-1 (16 GB) Comp TB-2 (2 GB) Comp TB-2 (2 GB) TB-2 ( 4 GB) TB-2 ( 4 GB) Free Space ( 4 GB) Free Space ( 4 GB) Comp TB-1 4 GB Comp TB-1 4 GB Comp TB-1 4 GB Comp TB-1 4 GB Empty Space (16 GB) Empty Space (16 GB)
8
PAGEPAGE ROWROW R1R1 R2R2 R3R3 R4R4 R5R5 HeaderHeader CI structure HeaderHeader
12
TableTable IndexIndex PAGE Compressed IndexIndex Uncompressed TableTable IndexIndex
13
Jan-MarApr-JuneJuly-SeptOct-Dec PAGE Compressed Uncompressed ROW Compressed
14
Table Compression Strategies Table Size (GB) ROW save % PAGE save % 1-row Read >1-row ReadUpdateDeleteInsert % Scan% UpdatePlanNotes COSP39880%90%2,79758,735886,18715,747584,0173.80%57.27%ROWUpdates! GLPCA12315%89%0929,637016,8029,02092.46%0.0%PAGEScan mostly COEP18530%81%0 19,0read-mostly 362,927048,18227.14%4.17%ROW Light use, but stay low risk RESB24338%83%9,8377,977,629943,3801,32114,87789.16%10.54%ROW#updates ACCTIT21021%87%000054,5800.00%0.0%PAGEAppend only MSEG18328%87%3,441,91824,684,25228070,79787.54%0.0%PAGEScan mostly FAGLFLEXA9829%88%02980058,8820.50%0.0%PAGEAppend only BSIS14830%90%09,069675,77364,36611.44%0.08%PAGEAppend mostly COSB15084%92%088000100.00%0.00%ROWROW ~=PAGE GLFUNCA4015%89%06000100.00%0.00%PAGERead Only Inputs: sp_estimate_data_compression_savings, dm_db_physical_index_usage_stats, SAP knowledge Computed: S=% scans; U=% updates ROW ~= PAGE => ROW High Update, Low Scan => ROW High Scan => PAGE Append Only => PAGE Read-only => PAGE
18
Comparison of UNICODE compression with SCSU and UTF-8 LocaleSCSUUTF-8 English0.5 Japanese.851.0 Korean1.0 Turkish.52.53 German.5 Vietnamese0.610.68 Hindi0.51.0
20
HEADER 0x00530051004C005300450052005600450052 “SQLSERVER” 0x00530051004C0045004E00470049004E0045 “SQLENGINE” 0x00530051004C004C004F00410044004500520053 “SQLLOADERS” 0x53514C534552564552 “SQLSERVER” 0x53514C454E47494E45 “SQLENGINE” 0x53514C4C4F414445525310 “SQLLOADERS” 0x53514C “SQL” 0x03534552564552 “?SERVER” 0x 03454E47494E45 “?ENGINE” 0x034C4F414445525310 “?LOADERS” Col-prefix ROW COMPRESSIONPAGE COMPRESSION
23
ROW Compression Savings with UNICODE Compression ApplicationROW CompressionROW with UNICODE SAP ERP Benchmark DB9%43% Dynamics AX30%53.2% ****45%64% ****30%45% Savings on Hardware Cost CustomerProjected Storage Cost Reduction Microsoft ( MSIT/SAP)$500 K savings ****$500K
26
http://sqlcat.com/whitepapers/archive/2009/05/29/data-compression-strategy-capacity-planning-and-best- practices.aspx www.sqlcat.com http://blogs.msdn.com/sqlserverstorageengine http://blogs.msdn.com/sqlcat/ http://blogs.msdn.com/mssqlisv/ http://www.unisys.com/eprise/main/admin/corporate/doc/41371394.pdf http://search.hp.com/redirect.html?type=REG&qt=sql+server+data+compression&url=http%3A//h71028.www7.hp.com/ERC/downloads/4AA1-8766ENW.pdf%3Fjumpid%3Dreg_R1002_USEN&pos=1 http://www.netapp.com/us/library/technical-reports/tr-3719.html
27
Required Slide Track PMs will supply the content for this slide, which will be inserted during the final scrub.
28
www.microsoft.com/teched www.microsoft.com/learning http://microsoft.com/technet http://microsoft.com/msdn
30
Sign up for Tech·Ed 2011 and save $500 starting June 8 – June 31 st http://northamerica.msteched.com/registration You can also register at the North America 2011 kiosk located at registration Join us in Atlanta next year
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.