Presentation is loading. Please wait.

Presentation is loading. Please wait.

Sql Server Architecture for World Domination Tristan Wilson.

Similar presentations


Presentation on theme: "Sql Server Architecture for World Domination Tristan Wilson."— Presentation transcript:

1 Sql Server Architecture for World Domination Tristan Wilson

2 Topics Sql Server editions Scaling Sql Server Cloud + Virtual +Physical Hardware Migration strategies HADR Options

3 Definitions High availability –Increased uptime Disaster recovery –Protection from negative events Scale-up = Bigger/faster servers Scale-out = More servers

4 When do I scale up? CPU is above threshold –Based on percent usage, or increased threads Sql Server memory usage –page life expectancy, lazy writes, free list stalls Increased I/O requirements Look at your wait stats!

5 Scaling out Sql Server Read-only –AlwaysOn, Database mirroring, log shipping, replication, data loading tools Read/write –Peer-to-peer replication, linked servers, distributed queries, sharding, custom solutions –Parallel data warehouse

6 Sql Server editions Express Edition –Maximum 10gb database size Web Edition –Licensed through a hosting provider Standard Edition –16-core 64gb ram (128gb for 2014+) –2016 is now licensed for 2-node AlwaysOn

7 Sql Server editions Business Intelligence Edition –Includes features specifically for BI –Same CPU/Ram limitations as Standard Enterprise Edition –Coolest features, unlimited CPU/Ram

8 Data the database 25-250gb worth of data Low performance Moderate downtime Just a friendly database

9 The Cloud Cloud databases Virtual machines in the cloud Vendors: –Azure, AWS –Managed hosting:, Rackspace, etc.

10 Cloud Database Pro: Low cost Low management Flexible, scalable Quick deployment Easy upgrades Con: Limited features Limited control Platform dependencies Security Difficult migrations

11 Virtual Machines Pro: Cost effective Highly availability Flexible + Scalable Con: Limited resources Performance overhead Management overhead

12 Virtual Clusters It does work! Reduced downtime for reboot/patching Check with your VM administrator

13 How do I scale-up Data? Increase cloud or virtual resources

14 Data the database 250gb-1TB worth of data Increase performance Lower downtime Wasn’t this database supposed to be temporary?

15 Physical Hardware When do I go with physical hardware? –Increased CPU/Memory/IO consumption –Maximize performance –Specialized hardware requirements

16 Selecting Hardware Select your sockets + processors Maximize ram Don’t neglect local storage (get SSD’s!)

17 Selecting Processors Maximize speed over core count Intel E5-2637 v3 –4 cores at 3.5ghz Intel E5-2640 v3 –8 cores at 2.4ghz

18 High Availability Fail-over cluster Database mirroring AlwaysOn

19 High Availability - Clustering Pro’s Hardware/OS redundancy Low downtime patching Sliding upgrades Con’s Idle second node No redundant storage Typically not a DR solution

20 High Availability – DB Mirroring Pro’s Fully redundant solution No shared storage 2-node in standard edition Con’s Deprecated feature Mirroring overhead Additional witness server Limited automatic fail-over

21 High Availability - AlwaysOn Pro’s Fully redundant solution HA+DR Reporting+Maintenance No shared storage Easy migration Con’s Enterprise-only Mirroring overhead Double storage costs

22 How do I scale-up Data? Export/import of data from cloud Backup/restore

23 Data the database 1-3TB+ worth of data High performance No downtime Getting’ tired of his crap

24 Disaster Recovery Log Shipping AlwaysOn

25 DR – Log Shipping Pro’s Web edition or higher Only network connectivity Low impact on primary Con’s Some data loss No automatic fail-over

26 DR – AlwaysOn Pro’s Low or no data loss Can be automatic fail-over Con’s Must be in Windows cluster Enterprise only

27 How do I scale-up Data? Sliding upgrade with Clustering or AlwaysOn Log shipping or database mirroring to new server

28 Hybrid Architecture On-premise hardware, DR in cloud Primary physical server, virtual DR Reporting and maintenance with AlwaysOn

29 Review Choose the right edition Start small and plan to scale Include HADR solutions

30 SqlTristan@gmail.com @SqlTristan


Download ppt "Sql Server Architecture for World Domination Tristan Wilson."

Similar presentations


Ads by Google