Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
データベースロギングの多様性
Search
tychy
April 04, 2022
Technology
330
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
データベースロギングの多様性
tychy
April 04, 2022
More Decks by tychy
See All by tychy
Goの標準ライブラリに学ぶジェネリクス
tychy
0
830
Other Decks in Technology
See All in Technology
SREへの勘違いに気づいた後の話
tomodakengo
0
110
現場で役立つ技術負債の効果的な返済方法
masuda220
PRO
9
4.6k
銀行勘定系システムにおける開発プロセス刷新×AIによる環境モダナイゼーション / Development Process Transformation and AI-Driven Environment Modernization
muit
1
2.3k
GoのInterface内部構造から学ぶ!最高パフォーマンスを出すコード設計
yappli_developers
0
170
俺の仕事は AIに奪われないし、たぶんその BIも要らない
hikaruri
0
520
Vibe Coding で作ったプロダクトをどう安全に動かすか / How to Safely Run Products Built with Vibe Coding
glidenote
0
170
負債のメタファと2026年 / Debt Metaphor in Agentic Engineering Age 202609 Edition
twada
PRO
10
4.1k
ADKで始める業務改善 - AIエージェント開発時の考えと設計
harappa80
2
220
「ピッケル本」日本語版は4.0(第6版)が出版されるべき / pickaxe4-nagoyark05
kakutani
2
190
Von-Neumann Machines, Dreams & The Futures of IT
ufried
0
100
山手線を徒歩で一周してわかった、 位置情報アプリは「足」が最強のデバッガー
hinakko
0
170
【技術的負債conf】事業成長に伴う技術的負債の説明責任とAIによるモニタリング、認知的負債について
i35_267
3
1.8k
Featured
See All Featured
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
600
Faster Mobile Websites
deanohume
310
32k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
370
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
530
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
700
Ten Tips & Tricks for a 🌱 transition
stuffmc
1
230
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
690
The agentic SEO stack - context over prompts
schlessera
0
940
Designing Powerful Visuals for Engaging Learning
tmiket
1
570
VelocityConf: Rendering Performance Case Studies
addyosmani
331
25k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
1.1k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.8k
Transcript
σʔλϕʔεϩΪϯάͷଟ༷ੑ ࢁాཾ ϝϯλʔɹ͞Μ
2 όοΫάϥϯυ ɾCίϯύΠϥͷ։ൃ ɾedk2ΛͬͯPXEBoot͢ΔUEFIΞϓϦͷ։ൃ ϥϘϢʔεͰͷςʔϚ σʔλϕʔεͷετϨʔδɺϩΪϯάपΓΛࣗ࡞ ࠓಛʹߏมߋΛͲ͏ϩΪϯά͢Δ͔ʹ͍ͭͯ ුಈখपΓಈ͖·͢ʂ (16byteΞϥΠϯਏ… ࣗݾհ
ӬଓԽͱ 3 ࠓӬଓԽΛத৺ʹ τϥϯβΫγϣϯॲཧதʹ ϝϞϦͷΠϯσοΫεͷมߋ ίϛοτ͢Δͱ͖ͷϩΪϯά ͕ϝΠϯʹͳΔ
ӬଓԽʹ·ͭΘΔઃܭͷଟ༷ੑ 4 ӬଓԽͷ͚ͩͰ༷ʑͳଟ༷ੑ͕͋Δʂ BufferཧɺCheckpointingʹଟ༷ੑ
B-Treeͷߏมߋ 5 INSERT͢Δͱߏมߋ͢Δέʔε͕͋Δ ߏมߋΛͲ͏ѻ͏ͷ͔ʹ࣮ଟ༷ੑ͕͋ΔˠNextPage ςʔϒϧຊମPrimaryKeyͷIndexͱ࣮ͯ͠ UPDATE·ͰΑ͍͕ɺINSERT͕͍͠ˠ
ߏมߋͱฒߦੑ 6 Ϩίʔυมߋʹߏมߋ͕͏ͱ ߏมߋʹରͯ͠ґଘ͕ؔൃੜ͢Δ T2ͷϩάΛॻ͖͑ͯDҠಈ T1ΛROLLBACK͍ͨ͠ͱ͖… T1͚ͩΛROLLBACKͤͯ͞T2Λੜ͖ΒͤΔͷ͕͍͠ T2ΛϩʔϧόοΫ͢Δ OR
Ҋ1 ߏมߋͨ͠෦Λഉଞ͢Δ 7 ߏมߋ͕ى͖ͨ෦Λഉଞ (Pros) T2ʹӨڹͤͣʹT1ROLLBACKͰ͖Δ (Cons) ߏมߋͷൣғ͕͍ͱύϑΥʔϚϯε͕ʹͳΔ ߏมߋͷROLLBACKΛ࿈ͤͨ͘͞ͳ͍߹ ex)
root
Ҋ2ɹߏมߋͷΈΛه͢ΔτϥϯβΫγϣϯ 8 ߏมߋͷΈΛߦ͏τϥϯβΫγϣϯS1Λ࡞Δ T1ΛROLLBACKͯ͠ߏมߋ(S1)Δ S1͕֬ఆͨ͠ΒT2֬ఆͯ͠ྑ͍ʂ ϙΠϯτ:
·ͱΊ 9 DBMSΛ࡞͍ͬͯΔͱઃܭ্ͷબΛແʹഭΒΕΔ ҰͭҰͭߟ͑ͳ͕Β࣮͍ͯ͘͠ͷ͕ޣຯ ࠓͨ͠෦ͷ࣮Λ͢Δ͜ͱ͕٤ۓͷඪʂ