Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
運用中のMariaDBにノード追加検証
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
tama1029
October 05, 2016
Technology
1.3k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
運用中のMariaDBにノード追加検証
MariaDB, Xtrabackup, SST, IST
tama1029
October 05, 2016
Other Decks in Technology
See All in Technology
JAWS-UGグッズ職人仕事の流儀
kentapapa
0
100
Gemini Intelligence 入門 ― AppFunctions と Gemini Nano
takuroabe
0
250
re:Invent初参加で変わったこと、2回目にやってみたいこと(JAWS-UG彩の国埼玉 #12)
mhrtech
2
220
パッチ更新でterraform initが落ちた日
grimoh
1
140
hackers_champloo_2026_tidb
makocchi
0
160
「事実」を「計測」して、「解釈」する 〜AWS Lambdaのメモリ最適解の見つけ方〜
maimyyym
0
170
パスキーの自動テストはどこまでいけるのか
teamlab
PRO
0
200
実践! SRE × AI - ABEMA における AIOps -
tetsuya28
8
3.1k
AIカンパニーへの転換を支えた、エンジニアの仕事の再定義
kworkdev
PRO
2
1.2k
遠藤な_めぐろLT #38 「社内のAI活用推進」@麻布台_20261009
endonanana
0
130
Conditional PED-ANOVA: Hyperparameter Importance in Hierarchical & Dynamic Search Spaces
pfn
PRO
0
130
"優秀な誰か"の下位互換にならないために
yut0naga1_fa
1
1.8k
Featured
See All Featured
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
1.1k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
550
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.7k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
730
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
31k
Building a Scalable Design System with Sketch
lauravandoore
464
34k
Crafting Experiences
bethany
1
380
Fantastic passwords and where to find them - at NoRuKo
philnash
53
4k
Navigating Team Friction
lara
192
16k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.4k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
540
Transcript
ӡ༻தͷMariaDBʹϊʔ υՃݕূ ۄஔون
ࠓճͷ͢༰ • ӡ༻தͷMariaDBͷϊʔυͷՃํ๏ͷݕূ
Γ͍ͨ͜ͱ • ϩοΫແ͠Ͱɺଞͷϊʔυʹ໎͔͚Δ ͜ͱͳ͘ɺ̏ͷϊʔυՃ͍ͨ͠
Γ͍ͨ͜ͱ • ӡ༻தͳͷͰϩοΫແ͠Ͱɺଞͷϊʔ υʹ໎͔͚Δ͜ͱͳ͘ɺ̏ͷϊ ʔυՃ͍ͨ͠ આ໌ͷॱ൪ 1.σʔλͷಉظͷछྨ 2.ࠓճબΜͩํ๏
σʔλಉظͷछྨ • SSTɺISTͷ̎छྨ͕͋Γ·͢ɻॱʹݟ·͠ΐ͏
SST • SST: ϊʔυՃ࣌ʹϓϥΠϚϦʔͳ ϊʔυʢҎԼυφʔϊʔυʣ͔Βσʔ λΛશಉظ
SSTͷछྨ
SSTͷछྨ • MariaDBͰXtrabackup v2.0 Ҏ͕߱ར༻Ͱ͖ΔϰΝʔδ ϣϯ͔Β Xtrabackup ͕σϑΥϧτʹͳ͍ͬͯ·͢ɻ • CPUෛՙ1
CPU x 2.4 GHzͰrsync͕ಈ࡞͍ͯ͠Δ࣌ɺ 70%ۙ͘ʹ͕͋Γ·͕ͨ͠ɺXtrabackupͰ4~10%ͷؒͰਪ Ҡͯ͠·ͨ͠ɻ
SST͚ͩͰྑ͍߹ • ༰ྔ͕গͳ͘ɺυφʔϊʔυΛϩοΫͯ͠ྑ͍ɻ ͕ग़Δέʔε • ίϐʔ͢Δ༰ྔ͕ଟ͍ͱɺCPUσΟεΫॻ͖ࠐΈʹ͋Δఔෛ ՙ͕͔͔Γ·͢͠ɺಥવ௨৴ͷͰSST͕ࢭ·ͬͨΓ͢ΔՄ ೳੑ͋Γ·͢ɻ
IST • IST (Incremental State Transfer) • ߋ৽ใͷΩϟογϡ͔ΒࠩใͷΈσʔλΛಉظ͢Δ Έɻ
SSTͱISTͷҧ͍ ग़యɿhttp://severalnines.com/blog/understanding- gcache-galera
SSTͱISTͷҧ͍ • લਤͷΑ͏ʹɺSSTͷ߹υφʔϊʔυ͔Βऔͬͯ·͢ ͕ɺISTͷ߹ɺgcacheϑΝΠϧ͔ΒࠩΛऔ͖ͬͯͯΔͷ ͰɺυφʔϊʔυΛϩοΫ͢Δ͜ͱ͕͋Γ·ͤΜ͠ɺCPUෛՙ ۃখͰ͢Έ·͢ɻ
ࠓճબΜͩํ๏ • Xrtabackup + IST • υφʔϊʔυΛϒϩοΫ͠ͳ͍͜ͱ͕རͱͯ͠େ͖͘ɺIST ͏͜ͱͰCPUෛՙ͑ΒΕ·͢ɻ
Xtrabackup + IST ͷखॱ 1.υφʔϊʔυͷXtrabackupͰσʔλϕ ʔεͷதΛͬͦ͝ΓόοΫΞοϓ 2.NewJoinerʹίϐʔ 3.mysql start 4.IST͕ಈ࡞͠ɺࠩͷΈߋ৽͞ΕΔ
σʔλϕʔεͷ༰ྔ͕ େ͖͍߹ͷ • gcacheͷ༰ྔҎ্ͷ͕ࠩग़ͨ࣌ɺ SST͕ͬͯ͠·͏ͨΊɺ̍ʙ̏ͷؒʹ ͔͔Δ͕࣌ؒ࣌ؒʹΔ߹gcache ͷ༰ྔΛ૿͓ͯ͘͠ඞཁ͕͋Δ
gcasheͷ༰ྔΛ1Gʹ͢Δઃఆ wsrep_provider_options="gcache.size=1G"Λ͍ΕΔͩ ͚ɻ
·ͱΊ • SSTXtrabackup͕͓͢͢Ί • gcacheଟΊʹऔ͓͖ͬͯ·͠ΐ͏ • ӡ༻தͰ͔ͭɺσʔλϕʔεͷ༰ྔ͕େ͖͍߹ɺ Xtrabackup + IST
͕ྑ͍