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
5
2.6k
Sumallyにおける Amazon Redshift 導入事例
How Sumally uses Redshift
Noriaki Katayama
April 04, 2014
Tweet
Share
Other Decks in Technology
See All in Technology
商品レコメンドでのexplicit negative feedbackの活用
alpicola
1
340
PaaSの歴史と、 アプリケーションプラットフォームのこれから
jacopen
7
1.4k
Unsafe.BitCast のすゝめ。
nenonaninu
0
200
自社 200 記事を元に整理した読みやすいテックブログを書くための Tips 集
masakihirose
2
320
いま現場PMのあなたが、 経営と向き合うPMになるために 必要なこと、腹をくくること
hiro93n
9
7.4k
Oracle Base Database Service:サービス概要のご紹介
oracle4engineer
PRO
1
16k
Evolving Architecture
rainerhahnekamp
3
250
生成AI × 旅行 LLMを活用した旅行プラン生成・チャットボット
kominet_ava
0
150
Kotlin Multiplatformのポテンシャル
recruitengineers
PRO
2
150
東京Ruby会議12 Ruby と Rust と私 / Tokyo RubyKaigi 12 Ruby, Rust and me
eagletmt
3
860
Godot Engineについて調べてみた
unsoluble_sugar
0
370
My small contributions - Fujiwara Tech Conference 2025
ijin
0
1.4k
Featured
See All Featured
Keith and Marios Guide to Fast Websites
keithpitt
410
22k
Docker and Python
trallard
43
3.2k
Agile that works and the tools we love
rasmusluckow
328
21k
Speed Design
sergeychernyshev
25
730
Navigating Team Friction
lara
183
15k
Automating Front-end Workflow
addyosmani
1366
200k
How to Ace a Technical Interview
jacobian
276
23k
Learning to Love Humans: Emotional Interface Design
aarron
274
40k
Making the Leap to Tech Lead
cromwellryan
133
9k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.9k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
3
240
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