+ All Categories
Home > Documents > MariaDB - rockPLACE 2... · 2013-08-29 · MariaDB MySQL MyISAM 버전5.5이전엔진,5.5...

MariaDB - rockPLACE 2... · 2013-08-29 · MariaDB MySQL MyISAM 버전5.5이전엔진,5.5...

Date post: 26-Jul-2020
Category:
Upload: others
View: 5 times
Download: 0 times
Share this document with a friend
33
코오롱베니트와 락플레이스가 제안하는 오픈소스 솔루션 MariaDB 2013. 8.23 솔루션영업팀 / 박정수
Transcript
Page 1: MariaDB - rockPLACE 2... · 2013-08-29 · MariaDB MySQL MyISAM 버전5.5이전엔진,5.5 (이후엔진에서제외) InnoDB MySQL기본엔진, ... •Install •Start •Setrootpasswd

코오롱베니트와 락플레이스가 제안하는 오픈소스 솔루션MariaDB

2013.�8.23

솔루션영업팀 /�박정수

Page 2: MariaDB - rockPLACE 2... · 2013-08-29 · MariaDB MySQL MyISAM 버전5.5이전엔진,5.5 (이후엔진에서제외) InnoDB MySQL기본엔진, ... •Install •Start •Setrootpasswd

2

Content

• What’s�in�MariaDB

• Why�use�MariaDB instead�of�MySQL

• Different�between�MariaDB and�MySQL

• How�to�migrate�from�MySQL�to�MariaDB

Page 3: MariaDB - rockPLACE 2... · 2013-08-29 · MariaDB MySQL MyISAM 버전5.5이전엔진,5.5 (이후엔진에서제외) InnoDB MySQL기본엔진, ... •Install •Start •Setrootpasswd

3

The�Origin�of�My(SQL)

Similarity�in�open�source�community

My name is My

Page 4: MariaDB - rockPLACE 2... · 2013-08-29 · MariaDB MySQL MyISAM 버전5.5이전엔진,5.5 (이후엔진에서제외) InnoDB MySQL기본엔진, ... •Install •Start •Setrootpasswd

4

The�Origin�of�My(SQL)

Page 5: MariaDB - rockPLACE 2... · 2013-08-29 · MariaDB MySQL MyISAM 버전5.5이전엔진,5.5 (이후엔진에서제외) InnoDB MySQL기본엔진, ... •Install •Start •Setrootpasswd

5

The�Origin�of�My(SQL)

Page 6: MariaDB - rockPLACE 2... · 2013-08-29 · MariaDB MySQL MyISAM 버전5.5이전엔진,5.5 (이후엔진에서제외) InnoDB MySQL기본엔진, ... •Install •Start •Setrootpasswd

6

The�Origin�of�My(SQL)

Page 7: MariaDB - rockPLACE 2... · 2013-08-29 · MariaDB MySQL MyISAM 버전5.5이전엔진,5.5 (이후엔진에서제외) InnoDB MySQL기본엔진, ... •Install •Start •Setrootpasswd

7

MySQL®과 관련해 Oracle이 EU에 공약한 내용

v 스토리지 엔진 API를 계속 사용할수 있게해준다.

v GPL에 따라 스토리지엔진을 실행한제3자나 벤더에권리를 주장하지않는다.

v 유료 고객과동일한 라이선스계약

v All MySQL® improvement licenses under the GPL

v 비강제적 지원

v R&D 비용 증가

v MySQL® 고객 자문위원회

v MySQL® 스토리지 엔진자문 위원회

v MySQL® 레퍼런스 매뉴얼

v 연간 지원권을구입할 수있는 고객선택권 유지

***�Oracle은 Sun�Microsystems�를 인수하면서독과점문제로유럽연합(EU)�에MySQL�제품에대한지속적인개발과 API�프로바이더들에대한권리요구를하지않겠다고공약한바있다.�

문제는 이공약사항의만기가 1년 밖에남지않았다는점이다.�(2014년 12월까지)MySQL�커뮤니티는공약사항만기이후 Oracle의 MySQL�제품 운영방안과방침에대해폐쇄적으로변경될것이라고우려하고있다.

***�Oracle은 Sun�Microsystems�를 인수하면서독과점문제로유럽연합(EU)�에MySQL�제품에대한지속적인개발과 API�프로바이더들에대한권리요구를하지않겠다고공약한바있다.�

문제는 이공약사항의만기가 1년 밖에남지않았다는점이다.�(2014년 12월까지)MySQL�커뮤니티는공약사항만기이후 Oracle의 MySQL�제품 운영방안과방침에대해폐쇄적으로변경될것이라고우려하고있다.

Page 8: MariaDB - rockPLACE 2... · 2013-08-29 · MariaDB MySQL MyISAM 버전5.5이전엔진,5.5 (이후엔진에서제외) InnoDB MySQL기본엔진, ... •Install •Start •Setrootpasswd

8

The�Origin�of�Maria(DB)

My�Name�is�Maria

Page 9: MariaDB - rockPLACE 2... · 2013-08-29 · MariaDB MySQL MyISAM 버전5.5이전엔진,5.5 (이후엔진에서제외) InnoDB MySQL기본엔진, ... •Install •Start •Setrootpasswd

9

The�Origin�of�Maria(DB)

Page 10: MariaDB - rockPLACE 2... · 2013-08-29 · MariaDB MySQL MyISAM 버전5.5이전엔진,5.5 (이후엔진에서제외) InnoDB MySQL기본엔진, ... •Install •Start •Setrootpasswd

10

The�team�behind�MariaDB at�MP

Page 11: MariaDB - rockPLACE 2... · 2013-08-29 · MariaDB MySQL MyISAM 버전5.5이전엔진,5.5 (이후엔진에서제외) InnoDB MySQL기본엔진, ... •Install •Start •Setrootpasswd

11

MySQL�Community

http://dev.mysql.com

MySQL�Community

http://dev.mysql.com

커뮤니티개발사

Maria�DBCommunity

https://mariadb.org/en

Maria�DBCommunity

https://mariadb.org/en

MySQL�Ab.

§ 1995년 설립§ 설립자 :�Monty�Widenius &�David�Axmark§ 2008년 Sun�Microsystems에 인수§ 2009년 Oracle에 인수§ 인수시 EU의 조건에따라지원할것을공약함.§ MySQL�Community를 지원하는회사들중가장오래된회사

SkySQL Ab.

§ 2010년 설립§ 설립자 :�Monty�Widenius &�David�Axmark§ MySQL�데이터베이스를개발한임원과개발자,�투자자들이설립

§ 직원의 90%�이상이MySQL�Ab.�출신§ 2013년 Monty�Program�인수합병§ MySQL�5.5�까지는동일한버전이나,�Maria�DB�10.0�부터는다른기능및엔진구성

기술지원

오픈소스 DBMS의 이해

Page 12: MariaDB - rockPLACE 2... · 2013-08-29 · MariaDB MySQL MyISAM 버전5.5이전엔진,5.5 (이후엔진에서제외) InnoDB MySQL기본엔진, ... •Install •Start •Setrootpasswd

12

Database�Usage�2011

MariaDB8x�Opportunity

Page 13: MariaDB - rockPLACE 2... · 2013-08-29 · MariaDB MySQL MyISAM 버전5.5이전엔진,5.5 (이후엔진에서제외) InnoDB MySQL기본엔진, ... •Install •Start •Setrootpasswd

13

상용제품 뺨치는 무료DB�6종 비교 테스트보고서- ITWORLD

가)�실용적인 네이티브관리도구가 없다.

나)�MySQL�지속적으로지원한다고 하지만

일부기능들을 상용버전으로 분류

원문출처 ITWORD�http://www.itworld.co.kr/techlibrary/80216

Page 14: MariaDB - rockPLACE 2... · 2013-08-29 · MariaDB MySQL MyISAM 버전5.5이전엔진,5.5 (이후엔진에서제외) InnoDB MySQL기본엔진, ... •Install •Start •Setrootpasswd

14

Content

• What’s�in�MariaDB

• Why�use�MariaDB�instead�of�MySQL

• Different�between�MariaDB�and�MySQL

• How�to�migrate�from�MySQL�to�MariaDB

• SkySQL�Cluster

Page 15: MariaDB - rockPLACE 2... · 2013-08-29 · MariaDB MySQL MyISAM 버전5.5이전엔진,5.5 (이후엔진에서제외) InnoDB MySQL기본엔진, ... •Install •Start •Setrootpasswd

15

SkySQL 엔터프라이즈 vs Oracle�MySQL®�Ent.

SkySQL Enterprise Oracle�MySQL Enterprise

지원하는 배포판 MariaDB,�Oracle�MySQL®, Oracle�MySQL®

라이센싱 GPL GPL,�Commercial

이용 가능한 엔진MyISAM,�Aria,�InnoDB,�XtraDB,�PBXT,�FederatedX,�Archive,�Memory,�CSV,�

OQGraph,�SphinxSE,�TokuDB

MyISAM,�InnoDB,�Archive,�Memory,�CSV

지원하는 고가용성 플랫폼 MySQL®�리플리케이션,�DRBD MySQL®�리플리케이션

PS�프랙티스를 이용한고가용성 플랫폼

Linux�및 Windows�OS�클러스터링,클러스터/NDB

-

모니터링 툴에이전트리스

SkySQL�엔터프라이즈 모니터로그 및 쿼리 분석기

MySQL®�엔터프라이즈모니터와 쿼리 분석기

MySQL®�워크벤치와 데이터 모델러

사용자 툴SkySQL 비주얼 쿼리 에디터와 데이터 모델러 및

쿼리 빌더MySQL®�워크벤치와 데이터 모델러

VM�지원 Linux,�Windows�&�Solaris�게스트 OS -

외부 인증 PAM(MariaDB only) -

Thread�Pool 5.5(MariaDB only) Commercial�5.5.16

SkySQL만의 특별한기능

Page 16: MariaDB - rockPLACE 2... · 2013-08-29 · MariaDB MySQL MyISAM 버전5.5이전엔진,5.5 (이후엔진에서제외) InnoDB MySQL기본엔진, ... •Install •Start •Setrootpasswd

16

MariaDB Storage�Engine

FederatedX

MySQL�Federated�파생엔진,�트랜잭션 제공

SphinxSE

버전 5.2�이상에서 지원,�Full-Text�Serarching이지원하는스토리지엔진

OQGRAPH

버전 5.2�이상에서 지원

MyISAM

버전 5.5�이전 엔진,5.5�(이후 엔진에서제외)

InnoDB

MySQL�기본 엔진,참조 무결성제한,높은 동시성보장

IBMDB21

버전 5.1.55�제거됨

PBXT

트랜잭션제공,�5.5부터기본스토리지엔진에서 제외

Cassandra

10.0에서 포함,�기타 비 sql�저장 엔진을끌어들이려는시도

Aria

MyISAM에서 파생엔진대체용으로명칭은Aria(이전 명칭은Maria)

XtraDB(enhaced InnoDB)

InnoDB�대체하기 위해만든 I파생 포크

MariaDB

MySQL

MyISAM

버전 5.5�이전 엔진,5.5�(이후 엔진에서 제외)

InnoDB

MySQL�기본 엔진,참조 무결성제한,높은 동시성보장

Page 17: MariaDB - rockPLACE 2... · 2013-08-29 · MariaDB MySQL MyISAM 버전5.5이전엔진,5.5 (이후엔진에서제외) InnoDB MySQL기본엔진, ... •Install •Start •Setrootpasswd

17

NEW�Thread�pool�for�MariaDB5.6

MySQL

•상용버전

• Plug-in

•폐쇄적

MariaDB

• FREE

• Built-in

•공개적

과거와 달리,�워커쓰레드 모델을 지원함으로써Thread�Pool을 사용하면 OLTP에서 60%성능 향상

Page 18: MariaDB - rockPLACE 2... · 2013-08-29 · MariaDB MySQL MyISAM 버전5.5이전엔진,5.5 (이후엔진에서제외) InnoDB MySQL기본엔진, ... •Install •Start •Setrootpasswd

18

Thread�pool�for�MariaDB 5.6

Use:�ThreadPoolHigh�Performance��

Not�use:�ThreadPoolLowPerformance��

Page 19: MariaDB - rockPLACE 2... · 2013-08-29 · MariaDB MySQL MyISAM 버전5.5이전엔진,5.5 (이후엔진에서제외) InnoDB MySQL기본엔진, ... •Install •Start •Setrootpasswd

19

MariaDB releases

Page 20: MariaDB - rockPLACE 2... · 2013-08-29 · MariaDB MySQL MyISAM 버전5.5이전엔진,5.5 (이후엔진에서제외) InnoDB MySQL기본엔진, ... •Install •Start •Setrootpasswd

20

Content

• What’s�in�MariaDB

• Why�use�MariaDB instead�of�MySQL

• Different�between�MariaDB and�MySQL

• How�to�migrate�from�MySQL�to�MariaDB

• SkySQL Cluster

Page 21: MariaDB - rockPLACE 2... · 2013-08-29 · MariaDB MySQL MyISAM 버전5.5이전엔진,5.5 (이후엔진에서제외) InnoDB MySQL기본엔진, ... •Install •Start •Setrootpasswd

21

3�Easy�Steps�to�Upgrade�from�MySQL�to�MariaDB

•Backup

•Stop

•Remove

Ready

•Install

•Start

•Set�root�passwd

Action•Restore�config

•Import�

•Restart�MariaDB

Review

Page 22: MariaDB - rockPLACE 2... · 2013-08-29 · MariaDB MySQL MyISAM 버전5.5이전엔진,5.5 (이후엔진에서제외) InnoDB MySQL기본엔진, ... •Install •Start •Setrootpasswd

22

3�Easy�Steps�to�Upgrade�(Ready)

1. Backup MySQL Databases

2. Stop MySQL service

3. Remove MySQL

Page 23: MariaDB - rockPLACE 2... · 2013-08-29 · MariaDB MySQL MyISAM 버전5.5이전엔진,5.5 (이후엔진에서제외) InnoDB MySQL기본엔진, ... •Install •Start •Setrootpasswd

23

3�Easy�Steps�to�Upgrade�(Action)

1. Install MariaDB

2. Start MariaDB service

3. Set root password

Page 24: MariaDB - rockPLACE 2... · 2013-08-29 · MariaDB MySQL MyISAM 버전5.5이전엔진,5.5 (이후엔진에서제외) InnoDB MySQL기본엔진, ... •Install •Start •Setrootpasswd

24

3�Easy�Steps�to�Upgrade�(Review)

1. Restore /etc/my.cnf(config file)

2. Import Databases

3. Restart MariaDB service

Page 25: MariaDB - rockPLACE 2... · 2013-08-29 · MariaDB MySQL MyISAM 버전5.5이전엔진,5.5 (이후엔진에서제외) InnoDB MySQL기본엔진, ... •Install •Start •Setrootpasswd

25

Check�for�the�old�database�and�tables

Page 26: MariaDB - rockPLACE 2... · 2013-08-29 · MariaDB MySQL MyISAM 버전5.5이전엔진,5.5 (이후엔진에서제외) InnoDB MySQL기본엔진, ... •Install •Start •Setrootpasswd

26

305+�Customers�in�30�countries

Page 27: MariaDB - rockPLACE 2... · 2013-08-29 · MariaDB MySQL MyISAM 버전5.5이전엔진,5.5 (이후엔진에서제외) InnoDB MySQL기본엔진, ... •Install •Start •Setrootpasswd

27

Case�Study:�SpamExperts

Quickly�and�efficiently�migrating�hundreds�of�servers�from�MySQL�to�MariaDB

SpamExperts has�their�own�anti-spam�filtering�cloud�which�is�provided�as�a�software-as-a-

service�(SaaS)�model.

After�extensive�testing,�SpamExperts managed�the�efficient�migration�of�

approximately�300�servers�from�MySQL�to�MariaDB within�

three�hours. “In�the�past�we�have�run�into�various�MySQL�bugs.�Despite�the�fact�that�we�reported�them,�the�bugs�were�still�not�solved�after�a�year,”�says�Dreas van�Donselaar

Chief�Technology�Officer�for�SpamExperts B.V.

“MariaDB had�the�same�bugs�that�we�ran�into�with�MySQL.�However�the�big�difference�was�

that�when�we�reported�these�bugs,�they�were�quickly�resolved�within�48�hours!”�

exclaimed�Dreas.�The�quick�turnaround�time�bolstered�confidence�

in�the�quality�of�the�MariaDB product�and�its�support�and�

development�teams.http://kb.askmonty.org/en/spamexperts-migrating-300-servers-to-mariadb

Page 28: MariaDB - rockPLACE 2... · 2013-08-29 · MariaDB MySQL MyISAM 버전5.5이전엔진,5.5 (이후엔진에서제외) InnoDB MySQL기본엔진, ... •Install •Start •Setrootpasswd

28

Responsive�MariaDB Team:�"Along�the�way,�a�pair�of�bugs�in�MariaDB 5.5.28�and�5.5.29�were�identified,�one�of�which�was�a�rare�but�potentially�severe�performance�regression�related�to�a�new�query�optimizer�feature.�The�MariaDB team�was�very�responsive�and�quick�to�offer�solutions,�complete�with�test�cases.“

On�performance:�"For�our�most�common�query�type,�95th�percentile�times�over�an�8-hour�period�dropped�from�56ms�to�43ms�and�the�average�from�15.4ms�to�12.7ms.

50th�percentile�times�remained�a�bit�better�with�the�5.1-facebook�build�over�the�sample�period,�0.185ms�vs.�0.194ms.�Many�query�types�were�4-15%�faster�with�MariaDB 5.5.30�under�production�load,�a�few�were�5%�slower,�and�nothing�appeared�aberrant�beyond�those�bounds.“

https://kb.askmonty.org/en/wikipedia-adopts-mariadb/

Case�Study:�Wikipedia

Page 29: MariaDB - rockPLACE 2... · 2013-08-29 · MariaDB MySQL MyISAM 버전5.5이전엔진,5.5 (이후엔진에서제외) InnoDB MySQL기본엔진, ... •Install •Start •Setrootpasswd

29

Sponsor:�Google

구글이마이SQL의 동생 '마리아DB'를 후원한다.�

8일(현지시간)�영국IT전문매체더레지스터의단독보도에따르면,�구글은 마리아DB재단 측에지원의사를전한것으로알려졌다.

구글은 마리아DB재단에엔지니어를파견해코드와커뮤니티,�생태계 등을살폈다.�자금 지원보다개발자지원형태로후원하는것으로보인다.�

마리아DB를 오픈소스프로젝트로남겨두고,�자신들이원하는기능을마리아DB에 집어넣어마이SQL을 대체하겠다는의도로풀이된다.�

(2013년 8월 9일자 ZDNET�보도)

http://www.zdnet.co.kr/news/news_view.asp?artice_id=20130809102406&type=xml

Page 30: MariaDB - rockPLACE 2... · 2013-08-29 · MariaDB MySQL MyISAM 버전5.5이전엔진,5.5 (이후엔진에서제외) InnoDB MySQL기본엔진, ... •Install •Start •Setrootpasswd

30

http://www.zdnet.com/red-hat-will-switch-from-oracle-mysql-to-mariadb-reports-7000017907/

Sponsor : Red Hat

Page 31: MariaDB - rockPLACE 2... · 2013-08-29 · MariaDB MySQL MyISAM 버전5.5이전엔진,5.5 (이후엔진에서제외) InnoDB MySQL기본엔진, ... •Install •Start •Setrootpasswd

31

Page 32: MariaDB - rockPLACE 2... · 2013-08-29 · MariaDB MySQL MyISAM 버전5.5이전엔진,5.5 (이후엔진에서제외) InnoDB MySQL기본엔진, ... •Install •Start •Setrootpasswd

32

코오롱베니트와락플레이스에서MySQL�to�MariaDB로의 무상마이그레이션을진행합니다.�

Page 33: MariaDB - rockPLACE 2... · 2013-08-29 · MariaDB MySQL MyISAM 버전5.5이전엔진,5.5 (이후엔진에서제외) InnoDB MySQL기본엔진, ... •Install •Start •Setrootpasswd

33


Recommended