Enviar búsqueda
Cargar
From MongoDB v1.8.2 To v2.0.2
•
5 recomendaciones
•
2,901 vistas
Naoki Sega
Seguir
3/7の第3回CAグループ合同勉強会発表資料です。MongoDB のv1.8からv2.0へのメジャーバージョンアップ方法についてです。
Leer menos
Leer más
Denunciar
Compartir
Denunciar
Compartir
1 de 23
Descargar ahora
Descargar para leer sin conexión
Recomendados
Rubyのバージョン(鳥取ruby会)
Rubyのバージョン(鳥取ruby会)
Kei Matsunaga
アメブロFaceの顔認識システム
アメブロFaceの顔認識システム
Takahiko Teramoto
kontagent紹介資料
kontagent紹介資料
Eiji Hachiya
Ca勉強会・ldについて
Ca勉強会・ldについて
Masahiro Horikoshi
iPhoneで動くFlash Playerを実装した苦労話LT資料
iPhoneで動くFlash Playerを実装した苦労話LT資料
Kohei Morino
iOS App performance tuning with Instruments
iOS App performance tuning with Instruments
gc-hiramatsu
海外向けサービスの苦労話
海外向けサービスの苦労話
Masakazu Matsushita
Inside png
Inside png
flare phoenix
Recomendados
Rubyのバージョン(鳥取ruby会)
Rubyのバージョン(鳥取ruby会)
Kei Matsunaga
アメブロFaceの顔認識システム
アメブロFaceの顔認識システム
Takahiko Teramoto
kontagent紹介資料
kontagent紹介資料
Eiji Hachiya
Ca勉強会・ldについて
Ca勉強会・ldについて
Masahiro Horikoshi
iPhoneで動くFlash Playerを実装した苦労話LT資料
iPhoneで動くFlash Playerを実装した苦労話LT資料
Kohei Morino
iOS App performance tuning with Instruments
iOS App performance tuning with Instruments
gc-hiramatsu
海外向けサービスの苦労話
海外向けサービスの苦労話
Masakazu Matsushita
Inside png
Inside png
flare phoenix
2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Marius Sescu
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
Skeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
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 2024
Albert Qian
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
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
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 Intent
Lily Ray
How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
Introduction to Data Science
Introduction to Data Science
Christy Abraham Joy
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
Vit Horky
The six step guide to practical project management
The six step guide to practical project management
MindGenius
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
Más contenido relacionado
Destacado
2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Marius Sescu
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
Skeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
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 2024
Albert Qian
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
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
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 Intent
Lily Ray
How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
Introduction to Data Science
Introduction to Data Science
Christy Abraham Joy
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
Vit Horky
The six step guide to practical project management
The six step guide to practical project management
MindGenius
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
Destacado
(20)
2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
Skeleton Culture Code
Skeleton Culture Code
PEPSICO 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)
How 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 Insights
Trends 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 summary
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
Google'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
Introduction to Data Science
Introduction to Data Science
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
The 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...
From MongoDB v1.8.2 To v2.0.2
1.
From MongoDB v1.8.2
To v2.0.2 第3回 CAグループ合同勉強会 瀬賀 直樹(@nsega) GCREST, Inc.
2.
MongoDBの メジャーバージョン アップ方法おしえます
3.
MongoDB v2系では・・・
4.
• Indexパフォーマンスの25%改善 • Sharding
認証機能の追加 • Replica Setsの機能改善 • Journalingの強化(Disk書き込み速度UP) ・・・・・etc 新機能やパフォーマンス改善が 盛りだくさん!!
5.
Like!
やるしかない!! いいね! このVerion auto failover (・∀・)イイ!! Index performance up! concurency improvement! auto sharding usage memory down!
6.
1 Shard
mongod 対象サーバ構成 C1 mongod ①primary mongod C2 mongod ②primary mongod mongos C3 mongod ③primary Web Server mongod mongod ①secondary ①arbiter mongod mongod ②secondary ②arbiter mongod mongod ③secondary ③arbiter MongoDB Server <6台構成> ※自動シャーディングは、オフに設定。
7.
今回実行した手順
8.
①mongo関連プロセス終了 ②バックアップ ③バイナリ置換(v1.8.2=>v2.02) ④RepairDatabase コマンド(Index貼り直し) ⑤mongo関連プロセス起動
9.
①mongo関連プロセス終了 ープロセス落とす順番ー
10.
①-1)mongos 落とす
1 Shard mongod C1 mongod ①primary mongod C2 mongod ②primary mongod mongos C3 mongod ③primary Web Server mongod mongod ①secondary ①arbiter mongod mongod ②secondary ②arbiter mongod mongod ③secondary ③arbiter
11.
①-2)config 落とす
1 Shard mongod C1 mongod ①primary mongod C2 mongod ②primary mongod mongos C3 mongod ③primary Web Server mongod mongod ①secondary ①arbiter mongod mongod ②secondary ②arbiter mongod mongod ③secondary ③arbiter
12.
①-3)arbiter落とす
1 Shard mongod C1 mongod ①primary mongod C2 mongod ②primary mongod mongos C3 mongod ③primary Web Server mongod mongod ①secondary ①arbiter mongod mongod ②secondary ②arbiter mongod mongod ③secondary ③arbiter
13.
①-4)secondary落とす
1 Shard mongod C1 mongod ①primary mongod C2 mongod ②primary mongod mongos C3 mongod ③primary Web Server mongod mongod ①secondary ①arbiter mongod mongod ②secondary ②arbiter mongod mongod ③secondary ③arbiter
14.
①-5)primary落とす
1 Shard mongod C1 mongod ①primary mongod C2 mongod ②primary mongod mongos C3 mongod ③primary Web Server mongod mongod ①secondary ①arbiter mongod mongod ②secondary ②arbiter mongod mongod ③secondary ③arbiter
15.
②バックアップ データファイルをコピーするだけ
16.
③バイナリ置換(v1.8.2=>v2.02) シンボリックリンク mongodb作成でOK
17.
④RepairDatabaseコマンド実行 ※なんでするの?? 理由:Indexをv2系のもの にするため。
18.
v2系のIndex 25%サイズが小さく 25%処理速度が速く (※ユースケースによります)
19.
速くなる・・・・・・と聞いたもので (;゚∀゚)=3ハァハァ
20.
⑤mongo関連プロセス起動 ープロセス起動する順番ー
21.
⑤mongo関連プロセス起動 ー終了順と逆に上げるー ⑤-1 primary
ノード ⑤-2 secondary ノード ⑤-3 arbiter ノード ⑤-4 config ノード ⑤-5 mongos ルータ
22.
まとめ • バージョンアップが活発なMongoDB。 =>
それだけ注目されているプロダクト。 • v2系の導入はメンテナンス入れた方が確実。 • Indexを貼り直した方がいい! その分のメリットあり。 (Diskサイズ、メモリ使用量、レスポンス)
23.
ご清聴ありがとう ございました!!
Descargar ahora