MaxScale Overview - Meetupfiles.meetup.com/107604/MaxScale_Overview_DBA... · – Configure MySQL...

17
MaxScale Overview Gerardo "Gerry" Narvaja SkySQL * © SkySQL Ab. Commercial in Confidence *

Transcript of MaxScale Overview - Meetupfiles.meetup.com/107604/MaxScale_Overview_DBA... · – Configure MySQL...

Page 1: MaxScale Overview - Meetupfiles.meetup.com/107604/MaxScale_Overview_DBA... · – Configure MySQL for best connection concurrency vs memory footprint – Design your schema, normalize

MaxScale Overview

Gerardo "Gerry" Narvaja

SkySQL

* © SkySQL Ab. Commercial in Confidence *

Page 2: MaxScale Overview - Meetupfiles.meetup.com/107604/MaxScale_Overview_DBA... · – Configure MySQL for best connection concurrency vs memory footprint – Design your schema, normalize

What is MaxScale?

• SkySQL's MaxScale is a sophisticated query routing layer.• Main benefits include:

– Availability – Allowing automated of routing of database operations to available servers, avoiding failed servers

– Scaling – Partitions the database load between a number of servers.– Filtering and logging capabilities– Authentication layer– Multiple protocol support

• Open source, being released initially as Alpha.

• Supports MySQL and MariaDB 5.5 and later– Supports Galera Cluster in addition to MySQL and MariaDB replication

– Supports MHA

* © SkySQL Ab. Commercial in Confidence *

Page 3: MaxScale Overview - Meetupfiles.meetup.com/107604/MaxScale_Overview_DBA... · – Configure MySQL for best connection concurrency vs memory footprint – Design your schema, normalize

* © SkySQL Ab. Commercial in Confidence *

Page 4: MaxScale Overview - Meetupfiles.meetup.com/107604/MaxScale_Overview_DBA... · – Configure MySQL for best connection concurrency vs memory footprint – Design your schema, normalize

MaxScale is located between the application and database

Page 5: MaxScale Overview - Meetupfiles.meetup.com/107604/MaxScale_Overview_DBA... · – Configure MySQL for best connection concurrency vs memory footprint – Design your schema, normalize
Page 6: MaxScale Overview - Meetupfiles.meetup.com/107604/MaxScale_Overview_DBA... · – Configure MySQL for best connection concurrency vs memory footprint – Design your schema, normalize
Page 7: MaxScale Overview - Meetupfiles.meetup.com/107604/MaxScale_Overview_DBA... · – Configure MySQL for best connection concurrency vs memory footprint – Design your schema, normalize
Page 8: MaxScale Overview - Meetupfiles.meetup.com/107604/MaxScale_Overview_DBA... · – Configure MySQL for best connection concurrency vs memory footprint – Design your schema, normalize

MaxScale Installation

Page 9: MaxScale Overview - Meetupfiles.meetup.com/107604/MaxScale_Overview_DBA... · – Configure MySQL for best connection concurrency vs memory footprint – Design your schema, normalize

Download and Unpack

Page 10: MaxScale Overview - Meetupfiles.meetup.com/107604/MaxScale_Overview_DBA... · – Configure MySQL for best connection concurrency vs memory footprint – Design your schema, normalize

Starting MaxScale

Page 11: MaxScale Overview - Meetupfiles.meetup.com/107604/MaxScale_Overview_DBA... · – Configure MySQL for best connection concurrency vs memory footprint – Design your schema, normalize

Environment and Command Line

Page 12: MaxScale Overview - Meetupfiles.meetup.com/107604/MaxScale_Overview_DBA... · – Configure MySQL for best connection concurrency vs memory footprint – Design your schema, normalize

Validating Installation

UID/PWD: admin / skysql

Page 13: MaxScale Overview - Meetupfiles.meetup.com/107604/MaxScale_Overview_DBA... · – Configure MySQL for best connection concurrency vs memory footprint – Design your schema, normalize

Configuration (part 1)

Page 14: MaxScale Overview - Meetupfiles.meetup.com/107604/MaxScale_Overview_DBA... · – Configure MySQL for best connection concurrency vs memory footprint – Design your schema, normalize

Configuration (part 2)

Page 15: MaxScale Overview - Meetupfiles.meetup.com/107604/MaxScale_Overview_DBA... · – Configure MySQL for best connection concurrency vs memory footprint – Design your schema, normalize

For more information

• Github: https://github.com/skysql/MaxScale – Source code and documentation

• Visit http://www.skysql.com for more information– http://www.skysql.com/blogs/ivan-zoratti/close-encounter-maxscale– Conf guide: http://www.skysql.com/node/1939– Diagnostics guide: http://www.skysql.com/node/1940

• Open source, being released initially as Alpha.

• Supports MySQL and MariaDB 5.5 and later– Supports Galera Cluster in addition to MySQL and MariaDB replication

– Supports MHA

* © SkySQL Ab. Commercial in Confidence *

Page 16: MaxScale Overview - Meetupfiles.meetup.com/107604/MaxScale_Overview_DBA... · – Configure MySQL for best connection concurrency vs memory footprint – Design your schema, normalize

Exclusive Offer: 2 x 1 for SFO Meetup Members

• Training: Performance Tuning on March 10th– Configure MySQL for best connection concurrency vs memory

footprint

– Design your schema, normalize it, and know when to de-normalize

– Tune your SQL queries with inside knowledge of the MySQL Optimizer.

– Design your application to handle scaling out with MySQL Replication.

• Target audience– Experienced DBAs looking to optimize the MySQL infrastructure.

• Sign up today with Louis

Page 17: MaxScale Overview - Meetupfiles.meetup.com/107604/MaxScale_Overview_DBA... · – Configure MySQL for best connection concurrency vs memory footprint – Design your schema, normalize

Thank You!

Twitter: @skysql

Facebook: http://facebook.com/skysql

LinkedIn: http://www.linkedin.com/companies/1214250

Google+: https://plus.google.com/u/0/+Skysqlab/posts