Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Sumallyにおける Amazon Redshift 導入事例
Search
Noriaki Katayama
April 04, 2014
Technology
6
2.6k
Sumallyにおける Amazon Redshift 導入事例
How Sumally uses Redshift
Noriaki Katayama
April 04, 2014
Tweet
Share
Other Decks in Technology
See All in Technology
JavaScript 研修
recruitengineers
PRO
4
440
Yahoo!広告ビジネス基盤におけるバックエンド開発
lycorptech_jp
PRO
1
280
実践アプリケーション設計 ③ドメイン駆動設計
recruitengineers
PRO
7
810
生成AI利用プログラミング:誰でもプログラムが書けると 世の中どうなる?/opencampus202508
okana2ki
0
190
モダンな現場と従来型の組織——そこに生じる "不整合" を解消してこそチームがパフォーマンスを発揮できる / Team-oriented Organization Design 20250825
mtx2s
6
650
Gaze-LLE: Gaze Target Estimation via Large-Scale Learned Encoders
kzykmyzw
0
340
攻撃と防御で実践するプロダクトセキュリティ演習~導入パート~
recruitengineers
PRO
3
460
認知戦の理解と、市民としての対抗策
hogehuga
0
370
【5分でわかる】セーフィー エンジニア向け会社紹介
safie_recruit
0
30k
我々は雰囲気で仕事をしている / How can we do vibe coding as well
naospon
2
220
Claude Code x Androidアプリ 開発
kgmyshin
1
600
知られざるprops命名の慣習 アクション編
uhyo
11
2.6k
Featured
See All Featured
Git: the NoSQL Database
bkeepers
PRO
431
65k
Stop Working from a Prison Cell
hatefulcrawdad
271
21k
Rails Girls Zürich Keynote
gr2m
95
14k
How to Think Like a Performance Engineer
csswizardry
25
1.8k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
131
19k
Designing for Performance
lara
610
69k
Why You Should Never Use an ORM
jnunemaker
PRO
59
9.5k
Site-Speed That Sticks
csswizardry
10
790
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
15
1.6k
The Cult of Friendly URLs
andyhume
79
6.6k
VelocityConf: Rendering Performance Case Studies
addyosmani
332
24k
Intergalactic Javascript Robots from Outer Space
tanoku
272
27k
Transcript
4VNBMMZʹ͓͚Δ "NB[PO3FETIJGU ಋೖࣄྫ ݄ גࣜձࣾαϚϦʔยࢁݑত
ࣗݾհ wยࢁݑত ͔ͨ·ͷΓ͖͋ wגࣜձࣾαϚϦʔιϑτΣΞΤϯδχΞ wόοΫΤϯυશൠˍΠϯϑϥʢ"84ʣ w"84ྺɿ wલ৬ɿ:BIPP+BQBOͰݕࡧɾϞόΠϧ w!LBUBSJOH
ຊͷΞδΣϯμ 4VNBMMZͱ 3FETIJGUಋೖʹࢸͬͨܦҢ 3FETIJGUͷઃఆ·ΘΓ σʔλೖͷΓํʢ&5-ʣ
ͦͷଞ5JQT ·ͱΊ
4VNBMMZͱ
ͲͷΑ͏ͳϩάΛղੳ͍ͯ͠Δ͔ʁ w ΞΫςΟϏςΟϩάʢXBOU IBWFʣ w "#ςετ DMJDL WJFX w ΞΫηεϩάɺΤϥʔϩάɺϝʔϧϩάʜ
ʢͦͷଞඞཁʹԠͯ͡ར༻ʣ
3FETIJGUಋೖʹࢸͬͨܦҢ
ҎલͷϩάղੳγεςϜʢCFGPSFʣ
3FETIJGUಋೖલ w σʔλղੳ୲ऀ͕ඇΤϯδχΞʢ.JDSPTPGU&YDFMͱ"DDFTTͷѪՈʣ w "DDFTTʹ(#ͷนʢϩʔΧϧϚγϯͷ.Z42-0%#$ଓͰΓΔʣ w σʔλྔͷ૿Ճʹ͍ظؒσʔλͷूܭΛ͍ͨ͠
৽ϩάղੳج൫ʢBGUFSʣ $01: 42- ᶄ ᶃ
3FETIJGUಋೖޙ w શظؒͷσʔλΛૉૣ͘ूܭͰ͖ΔΑ͏ʹͳͬͨʢྫ͑ɺ"DDFTTͰ ͔͔͍ͬͯͨΫΤϦ͕ඵʹॖ͞Εͨʣ w ूܭ͕࣌ؒॖ͞Εͨɺෳࡶͳूܭʢܧଓௐࠪͱ͔ʣ͕Մೳʹͳ Γɺςετճ૿͢͜ͱ͕Ͱ͖ͨɻͦͷ݁Ռɺղੳͷ෯͕͕ͬͨ w 42-ֶशͰ͖ͯྑ͔ͬͨʢσʔλղੳ୲ऀஊʣ
3FETIJGUͷઃఆ·ΘΓ
3FETIJGUͷຊ൪ڥ w $MVTUFS5ZQF4JOHMF/PEF w /PEF5ZQFEXMBSHF w ;POFVTXFTUB w $16&$$PNQVUF6OJUT WJSUVBMDPSFT
w .FNPSZ(J# w 4UPSBHF%JTL(#44% w &$$MBTTJD
3FETIJGUͷӡ༻ํ w 4VNBMMZͷϝΠϯγεςϜ$BMJGPSOJB VTXFTU w 3FETIJGU0SFHPO VTXFTU Ͱӡ༻ w ཧతʹ$BMJGPSOJBͱ͍ۙˍ౦ژΑΓ͍҆
w 44% w ·ͩ·ͩσʔλྔ͕গͳ͍ͷͰ͍ํΛ͏ w (#͘Β͍·Ͱ)%%ΑΓ͓ಘ w ҙͷλΠϛϯάͰόοΫΞοϓ͠ͳ͍ʢࣗಈεφοϓγϣοτͷΈʣ w ϓϩμΫγϣϯ͔ΒΓ͞Εͨσʔλղੳ༻ڥͳͷͰ࠷ѱΫϥελ͕ ແ͘ͳͬͯ4͔Β෮چͰ͖Εྑ͍ʢ࣮ࡍͰ෮چͰ͖Δʣ
ͱΓ͋͑ͣઃఆ߲ͨ͠ w ΞΫηεཧ w ઐ༻ͷ*".Λ࡞ w ΫϥελʔηΩϡϦςΟάϧʔϓ w ࣾͱQTRMίϚϯυΛ࣮ߦ͢ΔΠϯελϯεͷ*1ΛڐՄ w
Ϋϥελʔ҉߸Խ w ىಈ࣌ʹ0/ w 44-ଓ w SFRVJSF@TTMUSVF
։ൃʹ͋ͨͬͯઃఆ߲ͨ͠ w Ϋϥελʹෳσʔλϕʔε w εςʔδϯά༻ w ຊ൪༻ w ઐ༻Ϣʔβ w
ཧऀ w σʔλղੳ୲
εΩʔϚઃܭ ΠϕϯτຖͰਖ਼نԽͰ͖ͳ͍ʢೖΕΔͷܕΛҰҙʹ ܾΊΒΕͳ͍ʣΧϥϜ+40/ͷΛೖΕ͓͖ͯɺ 3FETIJGUͷ+40/ؔΛͬͯूܭ͍ͯ͠Δ
దͳΤϯίʔυͷબ ࣗͰࡉ͔͘ΤϯίʔυΛࢦఆ͍͕ͯͨ͠ɺ 3FETIJGU͕ಋ͖ग़ͨ݁͠Ռͷํ͕σʔλαΠζ͕ খ࣮͘͞ߦ͔ͬͨ ॳճ$01:࣌ɺΤϯίʔυઃఆͳ͠ͰςʔϒϧΛఆٛ $0.161%"5&0/ࢦఆͰ$01:Λ࣮ߦͯ͠Πϯϙʔτʢ3FETIJGUଆ Ͱࣗಈݕग़ʣ
Ͱద༻͞ΕͨΤϯίʔυͰςʔϒϧΛఆٛɻ࠶Πϯϙʔτ͠ӡ༻։࢝ ӡ༻ޙɺ"/"-:;&$0.13&44*0/ͷ݁ՌΛʹϑΟʔυόοΫ
WBSDIBS NBY ͱCZUFEJDUͷΈ ߹Θͤ 3FETIJGUͷطͷόάʹΑΓ WBSDIBS NBY ʹCZUFEJDUΛࢦఆͨ͠ΧϥϜΛ࣋ͭςʔϒϧʢΠϯϙʔτ͢ ΔσʔλྔʹؔΘΒͣʣ$01:࣌ʹσΟεΫͷ༻͕ʹͳͬͯ͠·
͍ɺΠϯϙʔτ͢Δ͜ͱ͕Ͱ͖ͳ͍ʂ
&5-
σʔλΠϯϙʔτͷྲྀΕ χΞϦΞϧλΠϜσʔλߋ৽ w ߋ৽සͷૣ͍ϩάʢߦಈϩάʣΛqVFOUEܦ༝ͰΠϯϙʔτ w ִؒͰ$01:Λ࣮ߦʢִؒͰແ͍͕νϟϯΫαΠζͷ݉ Ͷ߹͍Ͱ͜ͷʹܾΊͨʣ Ϛελʔσʔλߋ৽
w ճߋ৽͢ΔΑ͏ͳϚελʔͱͳΔσʔλ w શ݅ߋ৽
χΞϦΞϧλΠϜߋ৽ աڈͷߦಈϩάͷม w αʔϏεϩʔϯν͔ΒͷߦಈϩάΛ$47ʹ$01:ͨ͠ w SPXTTFDʢσʔλͷಛੑʹΑΔͷͰҰ֓ʹݴ͑ͳ͍ʣ qVFOUE㱺4㱺3FETIJU
w ʙNTͰճͷ$01:࣮ߦ w qVFOUQMVHJOSFETIJGUʢλΠϜΞτ͢ΔͱqVFOUE͝ͱམͪΔʣ w qVFOUQMVHJOKTPOCVDLFUʢෆਖ਼ͳόΠτྻ͕ೖΔͱσʔλফ͑Δʣ w $01:ίϚϯυͷ+40/ΦϓγϣϯରԠʢࠓޙ͜ͷܗࣜʹҠߦ༧ఆʣ
Ϛελʔσʔλߋ৽ํ๏ w "84%BUB1JQFMJOF͕0SFHPOͰͷ$01:Λαϙʔτͯ͠ͳ͍ʢࠓରԠ͍͠ΔΈ͍ͨʣ w .POHP%#㱺4㱺3FETIJU w ҰεςʔδϯάςʔϒϧʹೖΕ͔ͯΒ"-5&3ͰΓସ͑Δ ग़యɿ8&# %#13&447PMQ੨ๆʮϦετΞτϛοΫચ͍ସ͑ʯ
$01:ίϚϯυΦϓγϣϯ w(;*1 w$0.161%"5&0'' w5*.&'03."5"4BVUP w *40ܗࣜʢ5 ʣbBVUPbͰ͠ ͔ೝࣝ͞Εͳ͍ʂ w$47+40/
͜Μͳͱ͖ʂ
$01:ίϚϯυͰΤϥʔ͕ى͖ͨΒʂ TFMFDUFSS@SFBTPOGSPNTUM@MPBE@FSSPSTPSEFSCZTUBSUUJNFEFTDMJNJU FSS@SFBTPO &YQFDUFJUIFSBOPCKFDUPSBSSBZBUSPPU
$01:ίϚϯυͷৄࡉͳਐঢ়گΛ Γ͍ͨʂ # select trim(name) tablename, col, to_char(sum(num_values), '999,999,999,999') count
from SVV_DISKUSAGE where name = 'event_log' group by name, col order by 1, 2; tablename | col | count -----------+-----+------------------ event_log | 0 | 101,532 event_log | 1 | 101,532 event_log | 2 | 101,532 event_log | 3 | 101,532 event_log | 4 | 101,532 event_log | 5 | 101,532 event_log | 6 | 101,532 event_log | 7 | 101,532 event_log | 8 | 101,532 event_log | 9 | 101,532 event_log | 10 | 101,532
σΟεΫ༻ྔΛѲ͍ͨ͠ʂ # select trim(name) name, count(*) size from SVV_DISKUSAGE where
name = 'event_log' group by name order by 1; name | size -----------+------ event_log | 23 ˞TJ[Fͷ୯Ґ.#
˞0SFHPO3*ɿ $1407 ͷՔಇίετ ສԁ
·ͱΊ w3FETIJGUʹͨ͜͠ͱͰεέʔϧΛؾʹͤͣ ԆʑͱϩάΛੵͰ͖ΔγεςϜ͕࡞Δ͜ͱ ͕Ͱ͖ͨ w͓ۚΛ͔͚ͣʹεϞʔϧελʔτͰ͖ͨ wͦͷ݁ՌɺղੳۀͷޮԽʹܨ͕ͬͨ wӡ༻࢝Ί͔ͨΓͰɺ·ͩϊϋ͕ແ͍ͷ Ͱใڞ༗͍͖͍ͯͨ͠
4VNBMMZͰ3FETIJGUͳͲͷٕज़ʹڵຯͷ͋Δ όοΫΤϯυΤϯδχΞΛืू͓ͯ͠Γ·͢ʂ IUUQTVNBMMZDPNKPCT