220 likes | 377 Views
Sundio Group SQL Server 2012 TAP Deployment Lessons Learned. Bas Bruijninckx (Sundio Group) Koen Reijns ( Sundio Group) Justin Langford (Coeo). INTRODUCTION. Sundio Facts & Figures. Sundio Strategy. IT Challenges. Seasonal business pattern €400k/ day to €4 million/ day 24hr business
E N D
Sundio GroupSQL Server 2012 TAP DeploymentLessons Learned Bas Bruijninckx (Sundio Group) Koen Reijns (Sundio Group) Justin Langford (Coeo)
IT Challenges • Seasonal business pattern • €400k/ day to €4 million/ day • 24hr business • Massive amounts of data • Performance is business key success factor • Duplicate data for scalability
SQL Server Environment 1 2 3 4
SQL Server 2012 Rationale • Already invested in platform stability, risk-ready • Skip SQL 2008 – one upgrade to SQL 2012 rather than migration path 2005-2008-2012 • Scale-out reporting to AlwaysOn replica • Off-load reporting, reduce OLTP contention • Utilize standby hardware • Recognized as an advanced technology company • Closer to Microsoft
Planning • Hardware upgrade • New SAN / Blade servers • SQL Upgrade • Basic preparations done for SQL 2008 upgrade • Preparations started in February 2011
Planning • Restoring databases from SQL2005 to SQL2012 CTP version • Upgrade SSIS packages • Preparing connection strings & load balancer • Basic testing • Baseline performance test new hardware • Running SSIS packages • Applications – basic functions
Planning • Performance testing • SQLCAT performance lab • Focus: Price and availability engine • Push the configuration to the max
Planning • Functional testing • User testing • Vendor support • Back-office process • Jobs • Price& Availability engine • Replication testing
Planning • Upgrade (November 5th) • One 4-node cluster • Big bang upgrade • Temporary front-end servers • Post migration support • Upgrade to RC1 (mid-February)
Pre-Upgrade • Installation procedure • CTP3 + Refresh install slow* • 5 instances on 4 nodes (20 installs) • *Fixed in RC0 (good experience with RC1 in test) • Challenges with CT3 in-place upgrade • SSIS Bugs • Password retention • Deadlocks with self • Job step properties
Pre-Upgrade • AlwaysOn AG • Async readable secondary • 4-node cluster • Primary and replica may not co-exist on same node • Control failover via Possible owners & anti-affinity • Use T1448 to avoid AlwaysOn latency affecting Log Reader performance
Pre-Upgrade • SAN storage performance • Acceptance criteria • Max Avg read/ write latency <20ms • Target Avg read/ write latency <10ms • Significant challenges reaching target performance • Persisted with EMC and performance improved • Necessary to fix pre-go-live
Post-upgrade • Replication • Heavy users of transactional replication • Utilise SP replication to improve performance • Transaction isolation READ UNCOMMITTED not supported with repl’d SPs from SQL 2008 onwards
Database Administration • Used native backup compression • Previously using Quest Litespeed • Problem: lack of disk space • Enable T3042 to avoid pre-allocation
Spinlock Diagnosis: SOS_OBJECT_STORE Higher CPU with minimal increase in throughput 1 3 • Used Xevents and spinlock_stats to identify XVB structure as the source of the contention and involved CSS and product team via RFC. • After investigation team provided private build to test Observed close to ~80 million spins and 8-10K backoffs per minute on SOS_OBJECT_STORE (below is from 13.3 minute period) 2
Conclusion • SQL Server 2012 platform - supports business growth • Benefits from the TAP program • Working closer with Microsoft • Improved quality of released product (High CPU issue solved in CU1) • Work ahead • RTM upgrade • Upgrade other environment and BI platform to SQL 2012 • Deploy CU1 for contention fix
twitter Bas Bruijninckx @basbrx Koen Reijns @koenreijns Justin Langford @justinlangford Q&A