Sunil Agarwal Senior Program Manager Microsoft Corporation SESSION CODE: DAT309
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.
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.
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)
PAGEPAGE ROWROW R1R1 R2R2 R3R3 R4R4 R5R5 HeaderHeader CI structure HeaderHeader
TableTable IndexIndex PAGE Compressed IndexIndex Uncompressed TableTable IndexIndex
Jan-MarApr-JuneJuly-SeptOct-Dec PAGE Compressed Uncompressed ROW Compressed
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, %57.27%ROWUpdates! GLPCA12315%89%0929,637016,8029, %0.0%PAGEScan mostly COEP18530%81%0 19,0read-mostly 362,927048, %4.17%ROW Light use, but stay low risk RESB24338%83%9,8377,977,629943,3801,32114, %10.54%ROW#updates ACCTIT21021%87%000054, %0.0%PAGEAppend only MSEG18328%87%3,441,91824,684, , %0.0%PAGEScan mostly FAGLFLEXA9829%88% , %0.0%PAGEAppend only BSIS14830%90%09,069675,77364, %0.08%PAGEAppend mostly COSB15084%92% %0.00%ROWROW ~=PAGE GLFUNCA4015%89% %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
Comparison of UNICODE compression with SCSU and UTF-8 LocaleSCSUUTF-8 English0.5 Japanese Korean1.0 Turkish German.5 Vietnamese Hindi0.51.0
HEADER 0x C “SQLSERVER” 0x C E E0045 “SQLENGINE” 0x C004C004F “SQLLOADERS” 0x53514C “SQLSERVER” 0x53514C454E47494E45 “SQLENGINE” 0x53514C4C4F “SQLLOADERS” 0x53514C “SQL” 0x “?SERVER” 0x 03454E47494E45 “?ENGINE” 0x034C4F “?LOADERS” Col-prefix ROW COMPRESSIONPAGE COMPRESSION
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
practices.aspx
Required Slide Track PMs will supply the content for this slide, which will be inserted during the final scrub.
Sign up for Tech·Ed 2011 and save $500 starting June 8 – June 31 st You can also register at the North America 2011 kiosk located at registration Join us in Atlanta next year