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
takato fukui
February 11, 2022
Programming
140
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
本番分析データベースを丸ごと削除した人の顔
takato fukui
February 11, 2022
More Decks by takato fukui
See All by takato fukui
関数の挙動書き換える
takatofukui
4
910
機関室の灯りは消えない
takatofukui
0
64
エンジニアリングの良い塩梅🧂🌸
takatofukui
0
96
dd-trace-goのtrace context propagation実装
takatofukui
0
620
ソフトウェアテスト
takatofukui
0
98
なぜコードを書いてはいけないか
takatofukui
0
170
リファクタリング
takatofukui
0
160
Other Decks in Programming
See All in Programming
Vapor Mode でアクセシビリティは 壊れないか検証した話
fuqda
1
240
graphql-ruby を Spinel で速くしようとした話
mtsmfm
0
130
個人開発者よ、Honoを使え(おじさんver)
tanahiro2010
2
290
Web Framework Benchmark Battle 2026, Any%
a_matsuda
3
3k
最近”作らせてる” ローカルAIアプリの話
akit37
0
510
Performance Optimization With LLMs
xleitix
0
220
プロジェクトコードをキレイキレイしよう!暗黙的な参照を読み解く静的解析
ostk0069
0
160
現場と育てるRailsモデリング 〜Spreadsheetから始めたモデル設計〜
siroemk
2
1.1k
Agentic Software Factoryに、すごく賢いIF文を。 / super smart IF statement into the Agentic Software Factory.
rkaga
8
2.4k
Lambda durable functionsでHuman in the Loopを楽に…楽に……
har1101
2
210
contenteditable と日本語入力に向き合う
colorful12
0
230
全ての永続トークンを、生まれる前に消し去りたい!
sylph01
2
1.5k
Featured
See All Featured
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.2k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
4
1.2k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
1k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
1
590
New Earth Scene 8
popppiees
4
2.7k
[SF Ruby Conf 2025] Rails X
palkan
3
1.5k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
310
We Have a Design System, Now What?
morganepeng
55
8.4k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.4k
So, you think you're a good person
axbom
PRO
2
2.2k
Transcript
本番分析データベースを 丸ごと削除した人の顔
クラウド軽犯罪法違反の容疑
Amazon Redshift 分析用データベース Amazon Redshift 分析用データベース 本番AWSアカウント 検証AWSアカウント ビーコンログ ビーコンログ
環境作成・削除 バッチ処理(1時間に1回実行) BIツール バッチ処理(1時間に1回実行) BIツール
None
お分かりいただけただろうか
prd 本番環境
Amazon Redshift 分析用データベース 本番AWSアカウント 検証AWSアカウント ビーコンログ ビーコンログ 環境作成・削除 バッチ処理(1時間に1回実行) BIツール
バッチ処理(1時間に1回実行) BIツール
お客さん 了解っすw ボク すいやせん、 データベース消しました すぐ復旧させますw
バッチ処理(1時間に1回実行) スクリプトで取得した1週間前のスナッ プショットから復元 溜まった中間データから 1週間分のデータをまとめてロード 10時台処理⇨データベースがないのでエラー 11時台処理⇨データベースがないのでエラー 12時台処理⇨データベースが復活したので正 常終了 手動でリラン
python batch.py –from “2021-01-01 10:00:00” --to “2021-01-01 12:00:00”
・”消えない”バックアップをとる ・アプリは何回実行しても同じ結果になるように作る(冪等, upsert, on conflict) ・バッチアプリは手動で実行しやすいように作る 実行するたびに実行結果が変わってしまうような作りはNG ・中間データは保持してライフサイクル削除 スケジューラ バッチ
指示がないと何もできないが、言 われたことはちゃんとやる バッチさん 現在日時取得した ので、この日付で 処理しといてくだ さい 了解です 私は指示された 日付でしか処理 しません この日付で処理 しとけや!! 了解です
Azure リソースロックでいいのか? Azureリソース ロック ロック 解除
THE END