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
Snykで始めるセキュリティ担当者とSREと開発者が楽になる脆弱性対応 / Getting started with Snyk Vulnerability Response
yamaguchitk333
2
180
スタートアップで取り組んでいるAzureとMicrosoft 365のセキュリティ対策/How to Improve Azure and Microsoft 365 Security at Startup
yuj1osm
0
210
私なりのAIのご紹介 [2024年版]
qt_luigi
1
120
[Ruby] Develop a Morse Code Learning Gem & Beep from Strings
oguressive
1
150
権威ドキュメントで振り返る2024 #年忘れセキュリティ2024
hirotomotaguchi
2
740
継続的にアウトカムを生み出し ビジネスにつなげる、 戦略と運営に対するタイミーのQUEST(探求)
zigorou
0
530
レンジャーシステムズ | 会社紹介(採用ピッチ)
rssytems
0
150
生成AIのガバナンスの全体像と現実解
fnifni
1
180
【re:Invent 2024 アプデ】 Prompt Routing の紹介
champ
0
140
成果を出しながら成長する、アウトプット駆動のキャッチアップ術 / Output-driven catch-up techniques to grow while producing results
aiandrox
0
270
AIのコンプラは何故しんどい?
shujisado
1
190
Amazon SageMaker Unified Studio(Preview)、Lakehouse と Amazon S3 Tables
ishikawa_satoru
0
150
Featured
See All Featured
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
28
2.1k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
26
1.5k
Navigating Team Friction
lara
183
15k
Being A Developer After 40
akosma
87
590k
Embracing the Ebb and Flow
colly
84
4.5k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
191
16k
Side Projects
sachag
452
42k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
29
2k
The Cost Of JavaScript in 2023
addyosmani
45
7k
Site-Speed That Sticks
csswizardry
2
190
The Illustrated Children's Guide to Kubernetes
chrisshort
48
48k
Art, The Web, and Tiny UX
lynnandtonic
298
20k
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