top 5 ways to scale sql with no new hardware

16
©2017 ScaleArc. All Rights Reserved. 1 Top 5 Ways to Scale SQL with No New Hardware Achieve up to 24x performance improvement without any changes to applications or database servers.

Upload: scalearc

Post on 14-Apr-2017

35 views

Category:

Technology


3 download

TRANSCRIPT

Page 1: Top 5 Ways to Scale SQL with No New Hardware

Top 5 Ways to Scale SQLwith No New Hardware

Achieve up to 24x performance improvement without any changes to applications or database servers.

Page 2: Top 5 Ways to Scale SQL with No New Hardware

©2017 ScaleArc. All Rights Reserved. 2

Scaling SQL databases is a major challenge

Page 3: Top 5 Ways to Scale SQL with No New Hardware

©2017 ScaleArc. All Rights Reserved. 3

High Costs:Requires purchasing new,

more powerful server hardware and additional licenses

Page 4: Top 5 Ways to Scale SQL with No New Hardware

©2017 ScaleArc. All Rights Reserved. 4

High Time Investment:Deploying secondary (slave)

servers forces significant app code changes for read/write split

Page 5: Top 5 Ways to Scale SQL with No New Hardware

©2017 ScaleArc. All Rights Reserved. 5

Brittle Architecture:The 1:1 tie of apps to the

database perpetuates instability – every database hiccup makes

the app throw up

Page 6: Top 5 Ways to Scale SQL with No New Hardware

©2017 ScaleArc. All Rights Reserved. 6

App Dependency:Adding caching requires code changes and new business logic in all supported apps

Page 7: Top 5 Ways to Scale SQL with No New Hardware

©2017 ScaleArc. All Rights Reserved. 7

Top 5 Ways to Scale SQL with No New Hardware

• Auto Read/Write Split• Replication-aware Load

Balancing• Connection Management

and Surge Queuing• Real-time Analytics• App-transparent Caching

Page 8: Top 5 Ways to Scale SQL with No New Hardware

©2017 ScaleArc. All Rights Reserved. 8

Auto Read/Write Split

Automatically identify which queries are reads vs. writes

Appropriately distribute queries between the primary (master) server and a pool of secondary (slave) servers

No need to add code to applications

Page 9: Top 5 Ways to Scale SQL with No New Hardware

©2017 ScaleArc. All Rights Reserved. 9

Replication-aware Load Balancing

Assure that data being read is current, even from secondary servers

Monitor the replication lag between primary and secondary servers

– Avoid any server whose replication lag exceeds your threshold for delay

Page 10: Top 5 Ways to Scale SQL with No New Hardware

©2017 ScaleArc. All Rights Reserved. 10

Connection Management and Surge Queuing

Connection offload, pooling, and management

Persistent SQL connections to database servers

‘Surge queue’ for traffic peaks

– Prevent database server overloads and downtime due to crashes

– Prevent connection errors without provisioning extra resources for surge loads

Page 11: Top 5 Ways to Scale SQL with No New Hardware

©2017 ScaleArc. All Rights Reserved. 11

Real-time Analytics for Tuning

Performance-centric view of database traffic, including: – SQL connections

– Cache usage

– Queries processed by the database servers

Generate query patterns to quickly identify queries to cache

Find performance bottlenecks and perform audits

Page 12: Top 5 Ways to Scale SQL with No New Hardware

©2017 ScaleArc. All Rights Reserved. 12

App-transparent Caching

In-memory cache serves up responses to frequently executed SQL responses

– Accelerates application performance

– Reduces load on database servers

– Increases the number of transactions an existing server can handle

Add or remove caching rules with no app changes

Page 13: Top 5 Ways to Scale SQL with No New Hardware

©2017 ScaleArc. All Rights Reserved. 13

How can you augment your SQL capabilities, with no

app or database changes?

Page 14: Top 5 Ways to Scale SQL with No New Hardware

©2017 ScaleArc. All Rights Reserved. 14

How can you augment your SQL capabilities, with no

app or database changes?

Database load balancing software

Database load balancing software – paired with your

SQL database

Page 15: Top 5 Ways to Scale SQL with No New Hardware

©2017 ScaleArc. All Rights Reserved. 15

How Database Load Balancing Software Lets You Scale SQL with No New Hardware

• Scale out your database infrastructure in as little as an hour

• No modifications to applications

• No new database hardware or licenses

• Increase efficiency and operational sustainability

• Respond quickly to changes in your environment

• Stay ahead of capacity requirements for future needs

Page 16: Top 5 Ways to Scale SQL with No New Hardware

©2017 ScaleArc. All Rights Reserved. 16

Top 5 Ways to Scale SQLwith No New Hardware

Achieve up to 24x performance improvement without any changes to applications or database servers.

Want to learn more? Click here.