SlideShare a Scribd company logo
1 of 8
OOW2014 MySQL Central報告 
MySQL Cluster 7.4.1DMR データノードリスタート高速化 
ベンチマークテスト結果(仮) 
Takeshi Sakurada
自己紹介 
• 氏名:櫻田剛史(さくらだたけし) 
• Twitter id: @tsakurada 
– あまり技術的なことはつぶやいていません…
OOW2014 MySQL Centralにて 
• MySQL Cluster 7.4.1DMRでデータノードのリスタート時間で 
major improvementがあったとの発表を見て… 
• http://www.clusterdb.com/mysql/sqlnosql-and-mysql-cluster-7-4-presentations-now-available 
• MySQL Cluster: Dive into the Latest Developments [CON3815] p.33 
• Andrew Morgan, Bernhard Ocklin 
• Wednesday, Oct 1, 3:30 PM – 4:15 PM – Moscone South – 250
じゃあ、試してみますか!
ベンチマークテスト条件 
• テスト機1台(物理サーバ)にデータノードとSQLノー 
ド、MGMノードを混載 
• サーバスペック 
– Dell PowerEdge R710 
– Xeon E5620 2.40GHz x4core x1socket (16HT) 
– 8GB Memory 
– 1TB SAS HDD(RAID10) 
• テストデータとして約1100万レコード存在するテーブ 
ルをmysqldumpで取り出して投入 
mysql> select count(XXXa) from XXX; 
+---------------+ 
| count(XXXa) | 
+---------------+ 
| 11028725 | 
+---------------+ 
1 row in set (0.00 sec) 
mysql>
テスト用スキーマ 
mysql> desc XXX; 
+----------+-----------------------+------+-----+---------------------+----------------+ 
| Field | Type | Null | Key | Default | Extra | 
+----------+-----------------------+------+-----+---------------------+----------------+ 
| XXXa | int(10) unsigned | NO | PRI | NULL | auto_increment | 
| XXXb | datetime | NO | MUL | 2000-01-01 00:00:00 | | 
| XXXc | mediumint(8) unsigned | NO | MUL | 1 | | 
| XXXd | int(10) unsigned | NO | | 1 | | 
| XXXe | varchar(20) | NO | | | | 
| XXXf | mediumint(8) unsigned | NO | | 0 | | 
| XXXg | varchar(20) | NO | | | | 
| XXXh | varchar(255) | NO | | | | 
| XXXi | varchar(255) | NO | | | | 
| XXXj | varchar(255) | NO | | | | 
| XXXk | varchar(12) | NO | MUL | | | 
| XXXl | datetime | NO | MUL | 2000-01-01 00:00:00 | | 
| XXXm | datetime | NO | | 2000-01-01 00:00:00 | | 
| XXXn | datetime | NO | | 2000-01-01 00:00:00 | | 
| XXXo | datetime | NO | | 2000-01-01 00:00:00 | | 
| XXXp | datetime | NO | | 2000-01-01 00:00:00 | | 
| XXXq | datetime | NO | | 2000-01-01 00:00:00 | | 
| XXXr | datetime | NO | | 2000-01-01 00:00:00 | | 
| XXXs | datetime | NO | | 2000-01-01 00:00:00 | | 
| XXXt | datetime | NO | | 2000-01-01 00:00:00 | | 
| XXXu | varchar(2) | NO | | | | 
| XXXv | datetime | NO | | 2000-01-01 00:00:00 | | 
| XXXw | datetime | NO | | 2000-01-01 00:00:00 | | 
| XXXu1 | tinyint(3) unsigned | NO | | 0 | | 
| XXXx | tinyint(3) unsigned | NO | MUL | 1 | | 
| XXXy | datetime | NO | | 2000-01-01 00:00:00 | | 
| XXXz | datetime | NO | | 2000-01-01 00:00:00 | | 
+----------+-----------------------+------+-----+---------------------+----------------+ 
27 rows in set (0.07 sec) 
mysql> 
インデックス一覧 
PRIMARY KEY (`XXXa`), 
UNIQUE KEY `ux_XXXc_XXXe` (`XXXc`,`XXXe`), 
KEY `ix_XXXb` (`XXXb`), 
KEY `ix_XXXx` (`XXXx`), 
KEY `ix_XXXk` (`XXXk`), 
KEY `ix_XXXl` (`XXXl`), 
KEY `ix_1` (`XXXc`,`XXXb`), 
KEY `ix_2` (`XXXc`,`XXXl`), 
KEY `ix_3` (`XXXc`,`XXXx`), 
KEY `ix_4` (`XXXb`,`XXXx`), 
KEY `ix_5` (`XXXl`,`XXXx`)
結果(仮) 
510 
500 
490 
480 
470 
460 
450 
440 
430 
420 
データノード1台のリスタート時間(3回試行結果と平均) 
v7.0.16 v7.1.15a v7.2.17 v7.3.6 v7.4.1(4thread) v7.4.1(8thread) 
AVG #1 #2 #2 
秒 
• v7.0~v7.3まではMaxNoOfExecutionThreads=4でテスト実施
つづく… 
• 今日はここまでで時間切れでした、細かいデータ整理は 
後日やってslideshareに再度アップします。

More Related Content

Featured

PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...DevGAMM Conference
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationErica Santiago
 

Featured (20)

PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
 

MySQL Cluster 7.4.1DMR データノードリスタート高速化 ベンチマークテスト結果(仮)

  • 1. OOW2014 MySQL Central報告 MySQL Cluster 7.4.1DMR データノードリスタート高速化 ベンチマークテスト結果(仮) Takeshi Sakurada
  • 2. 自己紹介 • 氏名:櫻田剛史(さくらだたけし) • Twitter id: @tsakurada – あまり技術的なことはつぶやいていません…
  • 3. OOW2014 MySQL Centralにて • MySQL Cluster 7.4.1DMRでデータノードのリスタート時間で major improvementがあったとの発表を見て… • http://www.clusterdb.com/mysql/sqlnosql-and-mysql-cluster-7-4-presentations-now-available • MySQL Cluster: Dive into the Latest Developments [CON3815] p.33 • Andrew Morgan, Bernhard Ocklin • Wednesday, Oct 1, 3:30 PM – 4:15 PM – Moscone South – 250
  • 5. ベンチマークテスト条件 • テスト機1台(物理サーバ)にデータノードとSQLノー ド、MGMノードを混載 • サーバスペック – Dell PowerEdge R710 – Xeon E5620 2.40GHz x4core x1socket (16HT) – 8GB Memory – 1TB SAS HDD(RAID10) • テストデータとして約1100万レコード存在するテーブ ルをmysqldumpで取り出して投入 mysql> select count(XXXa) from XXX; +---------------+ | count(XXXa) | +---------------+ | 11028725 | +---------------+ 1 row in set (0.00 sec) mysql>
  • 6. テスト用スキーマ mysql> desc XXX; +----------+-----------------------+------+-----+---------------------+----------------+ | Field | Type | Null | Key | Default | Extra | +----------+-----------------------+------+-----+---------------------+----------------+ | XXXa | int(10) unsigned | NO | PRI | NULL | auto_increment | | XXXb | datetime | NO | MUL | 2000-01-01 00:00:00 | | | XXXc | mediumint(8) unsigned | NO | MUL | 1 | | | XXXd | int(10) unsigned | NO | | 1 | | | XXXe | varchar(20) | NO | | | | | XXXf | mediumint(8) unsigned | NO | | 0 | | | XXXg | varchar(20) | NO | | | | | XXXh | varchar(255) | NO | | | | | XXXi | varchar(255) | NO | | | | | XXXj | varchar(255) | NO | | | | | XXXk | varchar(12) | NO | MUL | | | | XXXl | datetime | NO | MUL | 2000-01-01 00:00:00 | | | XXXm | datetime | NO | | 2000-01-01 00:00:00 | | | XXXn | datetime | NO | | 2000-01-01 00:00:00 | | | XXXo | datetime | NO | | 2000-01-01 00:00:00 | | | XXXp | datetime | NO | | 2000-01-01 00:00:00 | | | XXXq | datetime | NO | | 2000-01-01 00:00:00 | | | XXXr | datetime | NO | | 2000-01-01 00:00:00 | | | XXXs | datetime | NO | | 2000-01-01 00:00:00 | | | XXXt | datetime | NO | | 2000-01-01 00:00:00 | | | XXXu | varchar(2) | NO | | | | | XXXv | datetime | NO | | 2000-01-01 00:00:00 | | | XXXw | datetime | NO | | 2000-01-01 00:00:00 | | | XXXu1 | tinyint(3) unsigned | NO | | 0 | | | XXXx | tinyint(3) unsigned | NO | MUL | 1 | | | XXXy | datetime | NO | | 2000-01-01 00:00:00 | | | XXXz | datetime | NO | | 2000-01-01 00:00:00 | | +----------+-----------------------+------+-----+---------------------+----------------+ 27 rows in set (0.07 sec) mysql> インデックス一覧 PRIMARY KEY (`XXXa`), UNIQUE KEY `ux_XXXc_XXXe` (`XXXc`,`XXXe`), KEY `ix_XXXb` (`XXXb`), KEY `ix_XXXx` (`XXXx`), KEY `ix_XXXk` (`XXXk`), KEY `ix_XXXl` (`XXXl`), KEY `ix_1` (`XXXc`,`XXXb`), KEY `ix_2` (`XXXc`,`XXXl`), KEY `ix_3` (`XXXc`,`XXXx`), KEY `ix_4` (`XXXb`,`XXXx`), KEY `ix_5` (`XXXl`,`XXXx`)
  • 7. 結果(仮) 510 500 490 480 470 460 450 440 430 420 データノード1台のリスタート時間(3回試行結果と平均) v7.0.16 v7.1.15a v7.2.17 v7.3.6 v7.4.1(4thread) v7.4.1(8thread) AVG #1 #2 #2 秒 • v7.0~v7.3まではMaxNoOfExecutionThreads=4でテスト実施