Charts from the evaluation of Asynchronous Replication...

32
Copyright @ 2016 Oracle and/or its affiliates. All rights reserved. Vítor Oliveira ([email protected]) Senior Performance Engineer 12th December 2016 Charts from the evaluation of Asynchronous Replication, Group Replication and Galera Part 1: Summary Charts

Transcript of Charts from the evaluation of Asynchronous Replication...

Page 1: Charts from the evaluation of Asynchronous Replication ...mysqlhighavailability.com/mysqlha/gr/files/perf/gr-ga-part1.pdf · Asynchronous (non-durable) Group Replication (non-durable)

Copyright @ 2016 Oracle and/or its affiliates. All rights reserved.

Vítor Oliveira ([email protected])Senior Performance Engineer

12th December 2016

Charts from the evaluation ofAsynchronous Replication, Group Replication and Galera

Part 1: Summary Charts

Page 2: Charts from the evaluation of Asynchronous Replication ...mysqlhighavailability.com/mysqlha/gr/files/perf/gr-ga-part1.pdf · Asynchronous (non-durable) Group Replication (non-durable)

2

Copyright @ 2016 Oracle and/or its affiliates. All rights reserved.

Safe Harbor Statement

The following is intended to outline our general product direction. It is intended for information purpose only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied up in making purchasing decisions. The development, release and timing of any features or functionality described for Oracle's product remains at the sole discretion of Oracle.

Page 3: Charts from the evaluation of Asynchronous Replication ...mysqlhighavailability.com/mysqlha/gr/files/perf/gr-ga-part1.pdf · Asynchronous (non-durable) Group Replication (non-durable)

3

Copyright @ 2016 Oracle and/or its affiliates. All rights reserved.

Contents

1. Sysbench OLTP RW

2. Sysbench Update Index

3. Flow-control effects

For details refer to:http://mysqlhighavailability.com/performance-evaluation-mysql-5-7-group-replication/

Page 4: Charts from the evaluation of Asynchronous Replication ...mysqlhighavailability.com/mysqlha/gr/files/perf/gr-ga-part1.pdf · Asynchronous (non-durable) Group Replication (non-durable)

4

Copyright @ 2016 Oracle and/or its affiliates. All rights reserved.

1. OLTP RW, Maximum throughput

3 members 5 members 7 members 9 members0

2 500

5 000

7 500

10 000

12 500

15 000

Single-master Maximum Throughput: Sysbench RW

Asynchronous (non-durable) Group Replication (non-durable) Galera (non-durable)

Asynchronous (durable) Group Replication (durable) Galera (durable)

Group Size

ma

xim

m s

ust

ain

ed

thro

ug

hp

ut (

tra

nsa

ctio

ns

pe

r se

con

d)

Page 5: Charts from the evaluation of Asynchronous Replication ...mysqlhighavailability.com/mysqlha/gr/files/perf/gr-ga-part1.pdf · Asynchronous (non-durable) Group Replication (non-durable)

5

Copyright @ 2016 Oracle and/or its affiliates. All rights reserved.

1.1. OLTP RW, Throughput by Clients

8 16 32 64 128 2560

2 500

5 000

7 500

10 000

12 500

15 000

Throughput by Number of Clients: Sysbench RW (3 members)

Group Replication (non-durable) Galera (non-durable)

Group Replication (durable) Galera (durable)

total number of clients/threads

ma

xim

um

su

sta

ine

d th

rou

gh

pu

t (tr

an

sact

ion

s p

er

seco

nd

)

higher is better

Page 6: Charts from the evaluation of Asynchronous Replication ...mysqlhighavailability.com/mysqlha/gr/files/perf/gr-ga-part1.pdf · Asynchronous (non-durable) Group Replication (non-durable)

6

Copyright @ 2016 Oracle and/or its affiliates. All rights reserved.

1.1. OLTP RW, Throughput by Clients

8 16 32 64 128 2560

2 500

5 000

7 500

10 000

12 500

15 000

Throughput by Number of Clients: Sysbench RW (5 members)

Group Replication (non-durable) Galera (non-durable)

Group Replication (durable) Galera (durable)

total number of clients/threads

ma

xim

um

su

sta

ine

d th

rou

gh

pu

t (tr

an

sact

ion

s p

er

seco

nd

)

higher is better

Page 7: Charts from the evaluation of Asynchronous Replication ...mysqlhighavailability.com/mysqlha/gr/files/perf/gr-ga-part1.pdf · Asynchronous (non-durable) Group Replication (non-durable)

7

Copyright @ 2016 Oracle and/or its affiliates. All rights reserved.

1.1. OLTP RW, Throughput by Clients

8 16 32 64 128 2560

2 500

5 000

7 500

10 000

12 500

15 000

Throughput by Number of Clients: Sysbench RW (7 members)

Group Replication (non-durable) Galera (non-durable)

Group Replication (durable) Galera (durable)

total number of clients/threads

ma

xim

um

su

sta

ine

d th

rou

gh

pu

t (tr

an

sact

ion

s p

er

seco

nd

)

higher is better

Page 8: Charts from the evaluation of Asynchronous Replication ...mysqlhighavailability.com/mysqlha/gr/files/perf/gr-ga-part1.pdf · Asynchronous (non-durable) Group Replication (non-durable)

8

Copyright @ 2016 Oracle and/or its affiliates. All rights reserved.

1.1. OLTP RW, Throughput by Clients

8 16 32 64 128 2560

2 500

5 000

7 500

10 000

12 500

15 000

Throughput by Number of Clients: Sysbench RW (9 members)

Group Replication (non-durable) Galera (non-durable)

Group Replication (durable) Galera (durable)

total number of clients/threads

ma

xim

um

su

sta

ine

d th

rou

gh

pu

t (tr

an

sact

ion

s p

er

seco

nd

)

higher is better

Page 9: Charts from the evaluation of Asynchronous Replication ...mysqlhighavailability.com/mysqlha/gr/files/perf/gr-ga-part1.pdf · Asynchronous (non-durable) Group Replication (non-durable)

9

Copyright @ 2016 Oracle and/or its affiliates. All rights reserved.

1.2. OLTP RW, Latency by Clients

8 16 32 64 128 2561

10

100

1000

Single-master Latency: Sysbench RW(3 members)

Group Replication (durable) Galera (durable) Group Replication (non-durable) Galera (non-durable)

number of clients (threads)

clie

nt

95

% tr

an

sact

ion

late

ncy

(m

s)

lower is better

logarithmic scale

Page 10: Charts from the evaluation of Asynchronous Replication ...mysqlhighavailability.com/mysqlha/gr/files/perf/gr-ga-part1.pdf · Asynchronous (non-durable) Group Replication (non-durable)

10

Copyright @ 2016 Oracle and/or its affiliates. All rights reserved.

1.2. OLTP RW, Latency by Clients

8 16 32 64 128 2561

10

100

1000

Single-master Latency: Sysbench RW(5 members)

Group Replication (durable) Galera (durable) Group Replication (non-durable) Galera (non-durable)

number of clients (threads)

clie

nt

95

% tr

an

sact

ion

late

ncy

(m

s)

lower is better

logarithmic scale

Page 11: Charts from the evaluation of Asynchronous Replication ...mysqlhighavailability.com/mysqlha/gr/files/perf/gr-ga-part1.pdf · Asynchronous (non-durable) Group Replication (non-durable)

11

Copyright @ 2016 Oracle and/or its affiliates. All rights reserved.

1.2. OLTP RW, Latency by Clients

8 16 32 64 128 2561

10

100

1000

Single-master Latency: Sysbench RW(7 members)

Group Replication (durable) Galera (durable) Group Replication (non-durable) Galera (non-durable)

number of clients (threads)

clie

nt

95

% tr

an

sact

ion

late

ncy

(m

s)

lower is better

logarithmic scale

Page 12: Charts from the evaluation of Asynchronous Replication ...mysqlhighavailability.com/mysqlha/gr/files/perf/gr-ga-part1.pdf · Asynchronous (non-durable) Group Replication (non-durable)

12

Copyright @ 2016 Oracle and/or its affiliates. All rights reserved.

1.2. OLTP RW, Latency by Clients

8 16 32 64 128 2561

10

100

1000

Single-master Latency: Sysbench RW(9 members)

Group Replication (durable) Galera (durable) Group Replication (non-durable) Galera (non-durable)

number of clients (threads)

clie

nt

95

% tr

an

sact

ion

late

ncy

(m

s)

lower is better

logarithmic scale

Page 13: Charts from the evaluation of Asynchronous Replication ...mysqlhighavailability.com/mysqlha/gr/files/perf/gr-ga-part1.pdf · Asynchronous (non-durable) Group Replication (non-durable)

13

Copyright @ 2016 Oracle and/or its affiliates. All rights reserved.

Contents

1. Sysbench OLTP RW

2. Sysbench Update Index

3. Flow-control effects

For details refer to:

http://mysqlhighavailability.com/performance-evaluation-mysql-5-7-group-replication/

Page 14: Charts from the evaluation of Asynchronous Replication ...mysqlhighavailability.com/mysqlha/gr/files/perf/gr-ga-part1.pdf · Asynchronous (non-durable) Group Replication (non-durable)

14

Copyright @ 2016 Oracle and/or its affiliates. All rights reserved.

2. Update Indexed, Maximum Throughput

3 members 5 members 7 members 9 members0

10 000

20 000

30 000

40 000

50 000

Single-master Maximum Throughput: Sysbench Update Indexed

Asynchronous (non-durable) Group Replication (non-durable) Galera (non-durable)

Asynchronous (durable) Group Replication (durable) Galera (durable)

Group Size

sust

ain

ed

thro

ug

hp

ut (

up

da

tes

pe

r se

con

d)

Page 15: Charts from the evaluation of Asynchronous Replication ...mysqlhighavailability.com/mysqlha/gr/files/perf/gr-ga-part1.pdf · Asynchronous (non-durable) Group Replication (non-durable)

15

Copyright @ 2016 Oracle and/or its affiliates. All rights reserved.

2.1. Update Indexed, Throughput by Clients

8 16 32 64 128 2560

10 000

20 000

30 000

40 000

50 000

Throughput by Number of Clients: Sysbench Update Indexed (3 members)

Group Replication (non-durable) Galera (non-durable)

Group Replication (durable) Galera (durable)

total number of clients/threads

ma

xim

um

su

sta

ine

d th

rou

gh

pu

t (u

pd

ate

s p

er

seco

nd

)

higher is better

Page 16: Charts from the evaluation of Asynchronous Replication ...mysqlhighavailability.com/mysqlha/gr/files/perf/gr-ga-part1.pdf · Asynchronous (non-durable) Group Replication (non-durable)

16

Copyright @ 2016 Oracle and/or its affiliates. All rights reserved.

2.1. Update Indexed, Throughput by Clients

8 16 32 64 128 2560

10 000

20 000

30 000

40 000

50 000

Throughput by Number of Clients: Sysbench Update Indexed (5 members)

Group Replication (non-durable) Galera (non-durable)

Group Replication (durable) Galera (durable)

total number of clients/threads

ma

xim

um

su

sta

ine

d th

rou

gh

pu

t (u

pd

ate

s p

er

seco

nd

)

higher is better

Page 17: Charts from the evaluation of Asynchronous Replication ...mysqlhighavailability.com/mysqlha/gr/files/perf/gr-ga-part1.pdf · Asynchronous (non-durable) Group Replication (non-durable)

17

Copyright @ 2016 Oracle and/or its affiliates. All rights reserved.

2.1. Update Indexed, Throughput by Clients

8 16 32 64 128 2560

10 000

20 000

30 000

40 000

50 000

Throughput by Number of Clients: Sysbench Update Indexed (7 members)

Group Replication (non-durable) Galera (non-durable)

Group Replication (durable) Galera (durable)

total number of clients/threads

ma

xim

um

su

sta

ine

d th

rou

gh

pu

t (u

pd

ate

s p

er

seco

nd

)

higher is better

Page 18: Charts from the evaluation of Asynchronous Replication ...mysqlhighavailability.com/mysqlha/gr/files/perf/gr-ga-part1.pdf · Asynchronous (non-durable) Group Replication (non-durable)

18

Copyright @ 2016 Oracle and/or its affiliates. All rights reserved.

2.1. Update Indexed, Throughput by Clients

8 16 32 64 128 2560

10 000

20 000

30 000

40 000

50 000

Throughput by Number of Clients: Sysbench Update Indexed (9 members)

Group Replication (non-durable) Galera (non-durable)

Group Replication (durable) Galera (durable)

total number of clients/threads

ma

xim

um

su

sta

ine

d th

rou

gh

pu

t (u

pd

ate

s p

er

seco

nd

)

higher is better

Page 19: Charts from the evaluation of Asynchronous Replication ...mysqlhighavailability.com/mysqlha/gr/files/perf/gr-ga-part1.pdf · Asynchronous (non-durable) Group Replication (non-durable)

19

Copyright @ 2016 Oracle and/or its affiliates. All rights reserved.

2.2. Update Indexed, Latency by Clients

8 16 32 64 128 2561

10

100

1000

Single-master Latency: Sysbench Update Indexed(3 members)

Group Replication (durable) Galera (durable) Group Replication (non-durable) Galera (non-durable)

number of clients (threads)

clie

nt

95

% tr

an

sact

ion

late

ncy

(m

s)

logarithmic scale

lower is better

Page 20: Charts from the evaluation of Asynchronous Replication ...mysqlhighavailability.com/mysqlha/gr/files/perf/gr-ga-part1.pdf · Asynchronous (non-durable) Group Replication (non-durable)

20

Copyright @ 2016 Oracle and/or its affiliates. All rights reserved.

2.2. Update Indexed, Latency by Clients

8 16 32 64 128 2561

10

100

1000

Single-master Latency: Sysbench Update Indexed(5 members)

Group Replication (durable) Galera (durable) Group Replication (non-durable) Galera (non-durable)

number of clients (threads)

clie

nt

95

% tr

an

sact

ion

late

ncy

(m

s)

logarithmic scale

lower is better

Page 21: Charts from the evaluation of Asynchronous Replication ...mysqlhighavailability.com/mysqlha/gr/files/perf/gr-ga-part1.pdf · Asynchronous (non-durable) Group Replication (non-durable)

21

Copyright @ 2016 Oracle and/or its affiliates. All rights reserved.

2.2. Update Indexed, Latency by Clients

8 16 32 64 128 2561

10

100

1000

Single-master Latency: Sysbench Update Indexed(7 members)

Group Replication (durable) Galera (durable) Group Replication (non-durable) Galera (non-durable)

number of clients (threads)

clie

nt

95

% tr

an

sact

ion

late

ncy

(m

s)

logarithmic scale

lower is better

Page 22: Charts from the evaluation of Asynchronous Replication ...mysqlhighavailability.com/mysqlha/gr/files/perf/gr-ga-part1.pdf · Asynchronous (non-durable) Group Replication (non-durable)

22

Copyright @ 2016 Oracle and/or its affiliates. All rights reserved.

2.2. Update Indexed, Latency by Clients

8 16 32 64 128 2561

10

100

1000

Single-master Latency: Sysbench Update Indexed(9 members)

Group Replication (durable) Galera (durable) Group Replication (non-durable) Galera (non-durable)

number of clients (threads)

clie

nt

95

% tr

an

sact

ion

late

ncy

(m

s)

logarithmic scale

lower is better

Page 23: Charts from the evaluation of Asynchronous Replication ...mysqlhighavailability.com/mysqlha/gr/files/perf/gr-ga-part1.pdf · Asynchronous (non-durable) Group Replication (non-durable)

23

Copyright @ 2016 Oracle and/or its affiliates. All rights reserved.

Contents

1. Sysbench OLTP RW

2. Sysbench Update Index

3. Flow-control effects

For details refer to:

http://mysqlhighavailability.com/performance-evaluation-mysql-5-7-group-replication/

Page 24: Charts from the evaluation of Asynchronous Replication ...mysqlhighavailability.com/mysqlha/gr/files/perf/gr-ga-part1.pdf · Asynchronous (non-durable) Group Replication (non-durable)

24

Copyright @ 2016 Oracle and/or its affiliates. All rights reserved.

3. Flow-control effects

8 16 32 64 128 256 8 16 32 64 128 256Durable settings Non-durable settings

0

2 500

5 000

7 500

10 000

12 500

15 000

Throughput varying Flow-control: Sysbench OLTP RW(3 members)

Group Replication: default settings flow-control disabled flow-control=1000

Galera: default settings flow-control disabled flow-control=1000

number of client threads

tota

l tra

nsa

ctio

ns

pe

r se

con

d (

TP

S)

Page 25: Charts from the evaluation of Asynchronous Replication ...mysqlhighavailability.com/mysqlha/gr/files/perf/gr-ga-part1.pdf · Asynchronous (non-durable) Group Replication (non-durable)

25

Copyright @ 2016 Oracle and/or its affiliates. All rights reserved.

3. Flow-control effects

8 16 32 64 128 256 8 16 32 64 128 256Durable settings Non-durable settings

0

2 500

5 000

7 500

10 000

12 500

15 000

Throughput varying Flow-control: Sysbench OLTP RW(5 members)

Group Replication: default settings flow-control disabled flow-control=1000

Galera: default settings flow-control disabled flow-control=1000

number of client threads

tota

l tra

nsa

ctio

ns

pe

r se

con

d (

TP

S)

Page 26: Charts from the evaluation of Asynchronous Replication ...mysqlhighavailability.com/mysqlha/gr/files/perf/gr-ga-part1.pdf · Asynchronous (non-durable) Group Replication (non-durable)

26

Copyright @ 2016 Oracle and/or its affiliates. All rights reserved.

3. Flow-control effects

8 16 32 64 128 256 8 16 32 64 128 256Durable settings Non-durable settings

0

2 500

5 000

7 500

10 000

12 500

15 000

Throughput varying Flow-control: Sysbench OLTP RW(7 members)

Group Replication: default settings flow-control disabled flow-control=1000

Galera: default settings flow-control disabled flow-control=1000

number of client threads

tota

l tra

nsa

ctio

ns

pe

r se

con

d (

TP

S)

Page 27: Charts from the evaluation of Asynchronous Replication ...mysqlhighavailability.com/mysqlha/gr/files/perf/gr-ga-part1.pdf · Asynchronous (non-durable) Group Replication (non-durable)

27

Copyright @ 2016 Oracle and/or its affiliates. All rights reserved.

3. Flow-control effects

8 16 32 64 128 256 8 16 32 64 128 256Durable settings Non-durable settings

0

2 500

5 000

7 500

10 000

12 500

15 000

Throughput varying Flow-control: Sysbench OLTP RW(9 members)

Group Replication: default settings flow-control disabled flow-control=1000

Galera: default settings flow-control disabled flow-control=1000

number of client threads

tota

l tra

nsa

ctio

ns

pe

r se

con

d (

TP

S)

Page 28: Charts from the evaluation of Asynchronous Replication ...mysqlhighavailability.com/mysqlha/gr/files/perf/gr-ga-part1.pdf · Asynchronous (non-durable) Group Replication (non-durable)

28

Copyright @ 2016 Oracle and/or its affiliates. All rights reserved.

3. Flow-control effects

8 16 32 64 128 256 8 16 32 64 128 256Durable settings Non-durable settings

0

7 500

15 000

22 500

30 000

37 500

45 000

Throughput varying Flow-control: Sysbench Update Indexed(3 members)

Group Replication: default settings flow-control disabled flow-control=1000

Galera: default settings flow-control disabled flow-control=1000

number of client threads

tota

l tra

nsa

ctio

ns

pe

r se

con

d (

TP

S)

Page 29: Charts from the evaluation of Asynchronous Replication ...mysqlhighavailability.com/mysqlha/gr/files/perf/gr-ga-part1.pdf · Asynchronous (non-durable) Group Replication (non-durable)

29

Copyright @ 2016 Oracle and/or its affiliates. All rights reserved.

3. Flow-control effects

8 16 32 64 128 256 8 16 32 64 128 256Durable settings Non-durable settings

0

7 500

15 000

22 500

30 000

37 500

45 000

Throughput varying Flow-control: Sysbench Update Indexed(5 members)

Group Replication: default settings flow-control disabled flow-control=1000

Galera: default settings flow-control disabled flow-control=1000

number of client threads

tota

l tra

nsa

ctio

ns

pe

r se

con

d (

TP

S)

Page 30: Charts from the evaluation of Asynchronous Replication ...mysqlhighavailability.com/mysqlha/gr/files/perf/gr-ga-part1.pdf · Asynchronous (non-durable) Group Replication (non-durable)

30

Copyright @ 2016 Oracle and/or its affiliates. All rights reserved.

3. Flow-control effects

8 16 32 64 128 256 8 16 32 64 128 256Durable settings Non-durable settings

0

7 500

15 000

22 500

30 000

37 500

45 000

Throughput varying Flow-control: Sysbench Update Indexed(7 members)

Group Replication: default settings flow-control disabled flow-control=1000

Galera: default settings flow-control disabled flow-control=1000

number of client threads

tota

l tra

nsa

ctio

ns

pe

r se

con

d (

TP

S)

Page 31: Charts from the evaluation of Asynchronous Replication ...mysqlhighavailability.com/mysqlha/gr/files/perf/gr-ga-part1.pdf · Asynchronous (non-durable) Group Replication (non-durable)

31

Copyright @ 2016 Oracle and/or its affiliates. All rights reserved.

3. Flow-control effects

8 16 32 64 128 256 8 16 32 64 128 256Durable settings Non-durable settings

0

7 500

15 000

22 500

30 000

37 500

45 000

Throughput varying Flow-control: Sysbench Update Indexed(9 members)

Group Replication: default settings flow-control disabled flow-control=1000

Galera: default settings flow-control disabled flow-control=1000

number of client threads

tota

l tra

nsa

ctio

ns

pe

r se

con

d (

TP

S)

Page 32: Charts from the evaluation of Asynchronous Replication ...mysqlhighavailability.com/mysqlha/gr/files/perf/gr-ga-part1.pdf · Asynchronous (non-durable) Group Replication (non-durable)

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

32