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
DB 醬,嗨!哪泥嘎斯基?
Search
LINE Developers Taiwan
PRO
June 18, 2025
Technology
2.8k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
DB 醬,嗨!哪泥嘎斯基?
Speaker: Jerry Chen & Sophia Chen
Event: LINE TECH FRESH 畢業分享會 2025
LINE Developers Taiwan
PRO
June 18, 2025
More Decks by LINE Developers Taiwan
See All by LINE Developers Taiwan
台大資管營企業參訪-Bowen Chen
line_developers_tw
PRO
0
54
2026TECHFRESH畢業分享會 - AI 時代的人生存檔點
line_developers_tw
PRO
0
2.8k
2026TECHFRESH畢業分享會 - 原生還是跨平台? App 開發踩坑實錄
line_developers_tw
PRO
0
2.8k
2026TECHFRESH畢業分享會 - 葬送的通靈師:化系統與用戶雜訊成行動訊號
line_developers_tw
PRO
0
2.7k
2026 TECHFRESH 畢業分享會 - AI-Native 重塑軟體工程與虛擬講師
line_developers_tw
PRO
0
2.7k
2026 TECHFRESH 畢業分享會 - 開發日常大解密!從領域驅動到企業級上線
line_developers_tw
PRO
0
2.7k
2026TECHFRESH畢業分享會 - Lightning Talk - E起 See See : 電商推薦讀心術? 數據說了算
line_developers_tw
PRO
0
2.7k
2026TECHFRESH畢業分享會 - Lightning Talk - 資料也要 CI/CD? 用 Airbyte 自動化資料同步
line_developers_tw
PRO
0
2.7k
2026TECHFRESH畢業分享會 - Lightning Talk - 打造精準高效的 MCP 設計模式與測試實務
line_developers_tw
PRO
0
2.7k
Other Decks in Technology
See All in Technology
Claude Mythos、Fable...フロンティアAIの最新動向と企業のセキュリティ対策
flatt_security
0
170
セキュリティ研修【MIXI 26新卒技術研修】
mixi_engineers
PRO
30
25k
終末スローライフアプリ『LIVING with LIVLIES』運用を支える技術~不思議な生き物リヴリーの体を借りて、終末世界を冒険!世界観を支えるURP描画設計・量産パイプライン・AI活用について~
202409e2
0
110
新たなDBアーキテクチャ「LTAP」にDeep Dive!!
inoutk
0
140
AI エージェント時代のデジタルアイデンティティ
fujie
1
1.1k
人依存からAIネイティブの体制へ:バックエンド開発の裏側【SORACOM Discovery 2026】
soracom
PRO
0
120
文字起こし基盤の信頼性
abnoumaru
0
150
AIがAPIを書く時代に、私たちは何を設計すべきか
nagix
0
140
Power Automateアップデート情報
miyakemito
0
280
コンポーネント名には何を含めるべきなのか? / what-should-be-included-in-component-names
airrnot1106
0
180
AI時代におけるテストの基礎の再定義 / Rethinking the Fundamentals of Testing in the AI Era
mineo_matsuya
15
6.1k
ウォーターフォール開発案件のPMとしてAI活用を模索している話
hatahata021
2
190
Featured
See All Featured
Joys of Absence: A Defence of Solitary Play
codingconduct
1
420
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
450
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.8k
Believing is Seeing
oripsolob
1
170
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
330
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.2k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.1k
Writing Fast Ruby
sferik
630
63k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
250
Balancing Empowerment & Direction
lara
6
1.2k
We Are The Robots
honzajavorek
0
290
Transcript
DB 醬,嗨!哪泥嘎斯基? Sophia Chen & Jerry Chen
Jerry Chen TECH FRESH @ LINE CB Team | Backend
Dev Education • MCDS @ CMU (Incoming) • B.B.A in Information Management @ NTU Experience • TECH FRESH @ LINE Taiwan • Software Engineer Intern @ Trend Micro • Data Scientist Intern @ Cathay Financial Holdings
01 02 03 04 什麼是 OA? (\OAO/) 該選哪種 DB 醬呢?
資料水管工 What DB do you like? ETL 資料庫變更管家 Liquibase What is OA Shop? 05 在 LINE 開發是什麼樣的體驗? Life at LINE CONTENT
什麼是OA? (\OAO/) 01 What is OA Shop?
None
賣家使用官方帳號進行精準行銷 根據訊息使用量,購買不同方案 根據不同受眾客製化廣告、優惠
從開發者的角度而言 • 紀錄賣家訊息用量 • 管理賣家方案狀態 • 提供賣家查詢受眾 • 儲存一段時間內的受眾(消費者)資訊 訊息流量管理
受眾精準行銷服務 可以拆分成兩大部分,我們會使用不同資料庫 (DB)!
該選哪種 DB 醬呢? 02 What DB do you like?
為什麼要兩種 DB 呢? Controller Service Model 當一個 API 請求發生時 …
Frontend request response call call data response 處理商業邏輯 決定怎麼做 接收請求、 用戶驗證 管理資料 要求快速回覆的 API 牽涉大量資料的讀寫
為什麼要兩種 DB 呢? Controller Service Model 當一個 API 請求發生時 …
OLAP 支援大量讀取 OLTP 高即時性 Frontend request response call call data response 處理商業邏輯 決定怎麼做 接收請求、 用戶驗證 管理資料 我們使用不同的 DB !
OLTP vs OLAP Data transfer Transaction 交易、購物、 註冊等服務 分析、大量資料 歷史紀錄
Online Transaction Processing Online Analytical Processing 處理很多筆小資料 快速寫入、查詢 即時性要求高 做分析,常批量查詢資料 寫入相對較少
在我們的服務中 OLTP (KR) OLAP (KR) OLAP (TW) OLTP (TW) Seller
Customer Register Buy Add to cart
在我們的服務中 OLTP (KR) OLAP (KR) OLAP (TW) OLTP (TW) Seller
Customer Register Buy Add to cart 我們是怎麼讓資料轉移的? ? ? ?
在我們的服務中 OLTP (KR) OLAP (KR) OLAP (TW) OLTP (TW) Seller
Customer Register Buy Add to cart ETL! ETL ETL ETL
資料水管工 03 ETL
Extract, Transform, Load 什麼是 ETL? Extract Load Transform
找出所有將商品加入過購物車的人 A Case: Extract Load Transform Product Users Item Cart
如何組合、篩選資料? 如何確保資料被 正確儲存? 需要哪些資料?
大家可能會覺得 為什麼我們不能直接搬移資料? 為什麼需要 ETL?
資料量級 千萬級別的資 料需要分散式 框架處理 多種來源 自動化 測試更好寫、 搬移資料不求人 遷移方便 註解文字註解
文字註解 為什麼需要 ETL? 資料來源複雜, 需要良好的系統 管理 好的框架設計能避免混亂
Extract Load Transform 術業有專攻 框架與工具 負責監控 ETL 流程 讓資料庫可以 分散式儲存
利用分散式的並 行運算,處理大 量資料
Sophia Chen TECH FRESH @ LINE CB Team | Backend
Dev Education • M.S. in Computer Science @NTU • B.B.A in Information Management @NTU Experience • 2024 – 2025 | TECH FRESH @ LINE Taiwan • 2023 | Backend Trainee @ AppWorks School
資料庫變更管家 04 Liquibase
剛開始寫程式的我們 ...
剛開始寫程式的我們 ...
程式碼的版本控制:GitHub
資料庫該如何版本控制呢 ?
開發資料庫時有沒有遇過 ... ADD Column MODIFY Datatype RENAME Column 1. 手動執行腳本、資料庫版本失控
2. 有多環境的管理需求 3. 跨團隊協作混亂、缺少共同規範 4. 升級失敗後的回退(rollback)困難
開發資料庫時有沒有遇過 ... 開發 DB 正式 DB id name debug_log id
name 1. 手動執行腳本、資料庫版本失控 2. 有多環境的管理需求 3. 跨團隊協作混亂、缺少共同規範 4. 升級失敗後的回退(rollback)困難
開發資料庫時有沒有遇過 ... userEmail timestamp user_email created_at 1. 手動執行腳本、資料庫版本失控 2. 有多環境的管理需求
3. 跨團隊協作混亂、缺少共同規範 4. 升級失敗後的回退(rollback)困難
開發資料庫時有沒有遇過 ... Version 1 Version 2 回退(rollback) 1. 手動執行腳本、資料庫版本失控 2.
有多環境的管理需求 3. 跨團隊協作混亂、缺少共同規範 4. 升級失敗後的回退(rollback)困難
Liquibase !
Liquibase 是什麼 ? Source from : https://docs.liquibase.com/concepts/changelogs/home.html
ChangeSet 當我們想要新增兩個 user 資料到資料庫:
高可追溯性 & 自動化 版本控制與變更追蹤 Liquibase 特性
Liquibase 特性 多環境管理 多環境差異化管理
Liquibase 特性 回退機制 完善升級與回退機制
Liquibase 特性 集中協作 統一流程與規範化協作 Source from : https://docs.liquibase.com/concepts/bestpractices.html
在 LINE 開發是什麼樣的體驗? 05 Life at LINE
TECH FRESH 工作日常 Development CI/CD & Observability New Technology Research
and Sharing
溝通能力 解決問題 學習能力 技術經驗 我們的收穫 不僅僅只是技術經驗而已 問題有時候不明確 比起單純接收指令, 更重要的是溝通討論 公司的技術、規模很廣,
持續學習
2100 特點項目文字 特點項目 Work Life Balance 1234 999 特點項目文字 特點項目
2100 特點項目文字 特點項目 Work Life Balance 1234 特點項目文字 特點項目 999
特點項目文字 特點項目
None