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
【社内勉強会用】SQLアンチパターン / SQL Antipatterns study
Search
VTRyo
April 12, 2020
Programming
0
2.3k
【社内勉強会用】SQLアンチパターン / SQL Antipatterns study
2020/4/13 第5章 エンティティ・アトリビュート・バリュー
VTRyo
April 12, 2020
Tweet
Share
More Decks by VTRyo
See All by VTRyo
2ヶ月かかるDBアップグレード検証を最大2週間に短縮した自作Go製CLIツール「Platinum」を紹介する / Introducing Go CLI tool "Platinum" for shortened DB upgrade validation
vtryo
3
1k
MySQLテーブル毎のデータサイズ集計をDatadog × Prometheus Exporter × Kubernetesを使って自動化する / Automate data size aggregation for each MySQL table using Datadog, Prometheus Exporter and Kubernetes
vtryo
0
320
自分だけの、誰も想像できないキャリアの育て方 ~懇親会で実践できる!偶然から始めるキャリアプラン~ / Career planning starting by luckly
vtryo
2
1.2k
なぜSREをはじめるのは難しいのか / Why is it hard to start SRE?
vtryo
1
520
Datadogでシステムとアプリケーション情報を民主化をはじめよう / System and Application information democratize with datadog
vtryo
2
3k
サービスと開発者に最も近いProduct SREsとして 取り組んでいるコト / Work as Product SREs closest to services and developers
vtryo
0
2.8k
一人から始めるプロダクトSRE / How to start SRE in a product team, all by yourself
vtryo
5
13k
へんなSlackスタンプMeetup
vtryo
0
370
Kubernetes × CircleCIで実現する安心安全Deploy / Safe Deploy with Kubernetes and CircleCI
vtryo
1
3.2k
Other Decks in Programming
See All in Programming
Azure AI Foundryのご紹介
qt_luigi
1
210
Оптимизируем производительность блока Казначейство
lamodatech
0
950
php-conference-japan-2024
tasuku43
0
430
.NETでOBS Studio操作してみたけど…… / Operating OBS Studio by .NET
skasweb
0
120
為你自己學 Python
eddie
0
520
快速入門可觀測性
blueswen
0
500
ErdMap: Thinking about a map for Rails applications
makicamel
1
660
chibiccをCILに移植した結果 (NGK2025S版)
kekyo
PRO
0
130
CQRS+ES の力を使って効果を感じる / Feel the effects of using the power of CQRS+ES
seike460
PRO
0
240
Stackless и stackful? Корутины и асинхронность в Go
lamodatech
0
1.3k
return文におけるstd::moveについて
onihusube
1
1.4k
Асинхронность неизбежна: как мы проектировали сервис уведомлений
lamodatech
0
1.3k
Featured
See All Featured
Automating Front-end Workflow
addyosmani
1366
200k
A designer walks into a library…
pauljervisheath
205
24k
Intergalactic Javascript Robots from Outer Space
tanoku
270
27k
How to Ace a Technical Interview
jacobian
276
23k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
8
1.2k
Build The Right Thing And Hit Your Dates
maggiecrowley
33
2.5k
Building Your Own Lightsaber
phodgson
104
6.2k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
Git: the NoSQL Database
bkeepers
PRO
427
64k
Side Projects
sachag
452
42k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
3
360
Transcript
d753ZPQSFTFOUBUJPO NBTUFS WUSZPDUMEFTDSJCFQSFTFOUBUJPO d753ZPQSFTFOUBUJPO NBTUFS QSFTFOUBUJPOTUBSUFE 42-Ξϯνύλʔϯ ୈষ ΤϯςΟςΟɾΞτϦϏϡʔτɾόϦϡʔ ʢ˞ࣾษڧձൃදࢿྉʣ
d753ZPQSFTFOUBUJPO NBTUFS 5XJUUFS!T@IW ˞ҙ w ຊࢿྉࣾษڧձͷ՝Ͱ࡞ͨ͠ͷͰ͢ w l42-ΞϯνύλʔϯzΛࢀߟʹ࡞͍ͯ͠·͢ w ͡ΊͯຊॻΛಡΜͰ͍·͢
d753ZPQSFTFOUBUJPO NBTUFS 5XJUUFS!T@IW &"7ͱ w ΤϯςΟςΟɾΞτϦϏϡʔτɾόϦϡʔ ʢఆٛରʣɹɹɹʢଐੑʣɹɹʢʣ Q
d753ZPQSFTFOUBUJPO NBTUFS 5XJUUFS!T@IW Ξϯνύλʔϯߏ Α͘ݟͨΒ ϯνύλʔϯʹͳͬͯ·ͨ͠ ൚༻తͳଐੑςʔϒϧΛ༻ͪ͠Ό͏ ଐੑΛߦʹ֨ೲͪ͠Ό͏ Q
d753ZPQSFTFOUBUJPO NBTUFS 5XJUUFS!T@IW ଐੑऔಘ͢Δʹ ΫΤϦ͕ෳࡶʹͳΔ Q
d753ZPQSFTFOUBUJPO NBTUFS 5XJUUFS!T@IW ඞਢଐੑΛઃఆͰ͖ͳ͍ /05/6--੍Λએݴ͢Δ͚ͩͰ ຊΑ͔ͬͨͷʹʜ ଐੑ͕ ߦʹ֨ೲ͞Ε͍ͯΔ BUUS@OBNFྻʹEBUF@SFQPSUFE͕ೖ͍ͬͯΔߦΛ JTTVF@JE͝ͱʹଘࡏͤ͞Δ੍͕Ϝζ͍
ผʹ·ͱΊͯϨϙʔτΛ࡞Γ͍ͨ ˠʮEBUF@SFQPSUFEͰूܭ͠Αʯ Q
d753ZPQSFTFOUBUJPO NBTUFS 5XJUUFS!T@IW σʔλܕΛ͑ͳ͍ %"5&ܕͰྻΛఆٛ͢Ε͍͍ ͚ͩͳͷʹʜ σʔλܕ ͕จࣈྻ ݸผͷBUUS@WBMVFྻΛఆٛ͢Δ͜ͱ͋Δ͕ʜ ΫΤϦෳࡶԽ͢Δ
ผʹ·ͱΊͯϨϙʔτΛ࡞Γ͍ͨ ˠʮEBUF@SFQPSUFEͰूܭ͠Αʯ Q
d753ZPQSFTFOUBUJPO NBTUFS 5XJUUFS!T@IW ࢀর߹ੑͷڧ੍ෆՄ '03&*(/,&: TUBUVT 3&'&3&/$&4#VH4UBUVT TUBUVT
Ͱ͍͍ͷʹʜ શߦʹ ద༻͞Εͯ͠·͏ '03&*(/,&: BUUS@WBMVF 3&'&3&/$&4#VH4UBUVT TUBUVT TUBUVTଐੑͷ#VH4UBUVTςʔϒϧ͕ ֨ೲ͍ͯ͠Δʹ͍ͨ͠ Q
d753ZPQSFTFOUBUJPO NBTUFS 5XJUUFS!T@IW *TTVFΛҰߦͰऔಘ ɾ࠶ߏங͕ඞཁ ɾଐੑ૿Ճʹ݁߹ͷ૿Ճ Q
d753ZPQSFTFOUBUJPO NBTUFS 5XJUUFS!T@IW ͏Ξϯνύλʔϯ Q
d753ZPQSFTFOUBUJPO NBTUFS 5XJUUFS!T@IW ΞϯνύλʔϯͰ͍͍ྫ Q
d753ZPQSFTFOUBUJPO NBTUFS 5XJUUFS!T@IW &"7Λճආ͠Α͏ ̍ɽͻͱͭͷςʔϒϧʹ αϒλΠϓΛશ෦ೖΕΔ ̎ɽαϒλΠϓ͝ͱʹ ςʔϒϧΛ࡞͢Δ ̏ɽςʔϒϧΛΦϒδΣΫτࢦͷ ΫϥεʹݟཱͯͯܧঝΛ฿͢Δ
̐ɽ9.-+40/ܗࣜͰଐੑɾ Λڞʹ֨ೲ͢Δ దͳঢ়گͰͲΕ͔Λબͯ͜͠͏ Q
d753ZPQSFTFOUBUJPO NBTUFS 5XJUUFS!T@IW ̍ɽγϯάϧςʔϒϧܧঝ w શͯͷଐੑΛ*TTVFͷݸผྻͱͯ֨͠ೲ͢Δ w "DUJWF3FDPSEͱ૬ੑΑ͖ w αϒλΠϓͷগͳ͍ͱ͖ʹ༗ޮ
Q
d753ZPQSFTFOUBUJPO NBTUFS 5XJUUFS!T@IW ̎ɽ۩ςʔϒϧܧঝ w #VHTςʔϒϧɺ'FBUVSF3FRVFTUTςʔϒϧͳͲαϒλΠ ϓ͝ͱʹ࡞͢Δ w ڞ௨͢ΔଐੑͱݸผͷଐੑΛ࣋ͭ w
ͯ͢ͷαϒλΠϓΛ·͍ͨͩݕࡧ͕গͳ͍ͱ͖༗ޮ w αϒλΠϓ͕ผςʔϒϧʹ͋ΓෳࡶԽ͢ΔͨΊ Q
d753ZPQSFTFOUBUJPO NBTUFS 5XJUUFS!T@IW ̏ɽΫϥεςʔϒϧܧঝ w ͯ͢ͷαϒλΠϓʹڞ௨͢ΔଐੑΛؚΉجఈςʔϒϧ ʢ*TTVFʣΛ࡞Δ w *TTVFςʔϒϧɺ#VHTςʔϒϧɺ'FBUVSF3FRVFTUT ςʔϒϧʹJTTVF@JEΛઃఆ͢Δ
w ͯ͢ͷαϒλΠϓʹڞ௨͢ΔྻΛࢀর͢ΔΫΤϦ͕ස ൟʹ࣮ߦ͞ΕΔͱ͖ʹ༗ޮ Q
d753ZPQSFTFOUBUJPO NBTUFS 5XJUUFS!T@IW ̐ɽߏԽςʔϒϧ w සൟʹଐੑΛՃ͢Δέʔε-0#ܕʢ-BSHF0CKFDUʣ ΛՃ͠+40/ͳͲͷܗࣜͰ֨ೲ͢Δ w ͲΜͳଐੑͰ֨ೲͰ͖ΔͷͰ֦ுੑ͕ߴ͍ w
ಛఆͷଐੑʹΞΫηε͢Δखஈ͕ͳ͘ɺΞϓϦέʔγϣϯ ίʔυͰղ͢Δඞཁ͕͋Δܽ w αϒλΠϓͷ੍͕ݶͰ͖ͳ͍ɺଐੑఆٛͷॊೈੑ͕ඞཁ ͳ߹ʹ༗ޮ Q
d753ZPQSFTFOUBUJPO NBTUFS 5XJUUFS!T@IW ·ͱΊ w 42-ɺҟͳΔଐੑҟͳΔྻʹ֨ೲ͢Δํ๏ཱ͕֬͞ Ε͍ͯΔ w &"7ͷ࠾༻ɺଐੑΛࣝผ͢ΔͨΊͷ৽ͨͳํ๏Λ42- ্ʹߏங͢Δ͜ͱΛҙຯ͢Δ
w ʮϝλσʔλɺϝλσʔλͷͨΊʹ༻͍·͠ΐ͏ʯ Q
d753ZPQSFTFOUBUJPO NBTUFS WUSZPDUMEFTDSJCFQSFTFOUBUJPO d753ZPQSFTFOUBUJPO NBTUFS QSFTFOUBUJPOTUBSUFE 42-Ξϯνύλʔϯ ୈষ ΤϯςΟςΟɾΞτϦϏϡʔτɾόϦϡʔ ʢ˞ࣾษڧձൃදࢿྉʣ