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
Serverless Meetup Re:boot 福岡 TiDB Serverlessの紹介
Search
bohnen
February 16, 2024
Technology
190
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Serverless Meetup Re:boot 福岡 TiDB Serverlessの紹介
bohnen
February 16, 2024
More Decks by bohnen
See All by bohnen
Momento会 #9 TiDB ServerlessとMomentoの話
bohnen
0
100
Cloud on the beach - いろいろな雲のかたち
bohnen
1
100
TiUG #1 TiDB overview and update
bohnen
0
300
みんなのPython勉強会: 最近のDB事情 TiDB Serverlessの紹介
bohnen
1
880
Postman Tokyo Meetup - Serverless Integration with Flows
bohnen
2
260
Serverless Meetup Fukuoka Workshop TiDB
bohnen
0
120
TiUG #0 発表資料: TiDBの紹介と最新情報
bohnen
0
310
Momento会 #8 Serverless with TiDB/Momento/Postman
bohnen
0
110
Momento Topics使ってみた
bohnen
0
210
Other Decks in Technology
See All in Technology
Amplify Gen2でbackend.tsにCDKを定義する/しない事によるCDKの挙動の違いとユースケース
smt7174
1
420
Webアプリ認証の全体像 / The Big Picture of Web App Authentication
kitano_yuichi
0
200
OPENLOGI Company Profile for engineer
hr01
1
74k
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
15
110k
タスクの複雑さでモデルを選ぶ ── Thompson Samplingで動かす“トークン/コスト最適化
satohy0323
0
570
Control Planeで育てるBtoB SaaSの認証基盤 - SRE NEXT 2026
pokohide
1
2.7k
最適な自走を最小限の支援で — M&Aで拡大する組織で少人数SREが挑んだ1年 / SRE NEXT 2026
genda
0
1.5k
Genie Ontologyは銀の弾丸かを考える / Is Genie Ontology a Silver Bullet?
nttcom
0
410
大量データに対しても、生成AIを用いてリーズナブルにデータ加工をしたい!Databricksのai_queryについて調べてみた
kamoshika
1
220
インフラと開発の垣根を超えていき!〜元AWSインフラエンジニアがAWS開発で奮闘している話〜
hatahata021
3
300
ソニー銀行におけるビジネスアジリティ向上のためのクラウドシフト戦略
srenext
0
850
ファミコンでPHPを動かす / PHP on the Famicom
tomzoh
2
450
Featured
See All Featured
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.3k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.1k
Code Review Best Practice
trishagee
74
20k
Leo the Paperboy
mayatellez
8
1.9k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.2k
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
2.1k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
410
What's in a price? How to price your products and services
michaelherold
247
13k
The Art of Programming - Codeland 2020
erikaheidi
57
14k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
240
The browser strikes back
jonoalderson
0
1.4k
Transcript
Serverless Meetup Fukuoka Re:boot PingCAP Developer Advocate 関⼝匡稔 @bohnen
関⼝匡稔 @bohnen PingCAP株式会社 Developer Advocate (⾒習い) Solution Architect (本業)
PingCAP会社紹介 New SQLデータベース TiDBを継続的に開発 • 2015年設⽴後、OSSとしてTiDBを開発 • 2017年には商⽤版もリリースし、毎年メジャーアップ デート •
フルマネージド型DBaaS「TiDB Cloud」の展開を強化 ワールドワイドでビジネス展開 • 800億以上の資⾦調達に成功し、積極的な事業展開 • 2021年4⽉に⽇本⽀社設⽴ • ⽇本のお客様へ⽇本語によるサポートを提供 TiDBはグローバルで3000社以上で採⽤ OSSの中でもトップクラスの⾼評価、信頼性
NewSQL + HTAP MySQL wire protocol compatible TiDB PD TiFlash
TiKV Design Goals • MySQL互換 • 水平スケール • 高い可用性と信頼性 • 強い一貫性 • 運用の容易さ
データベース技術の変遷 2010 NewSQL (Cloud Spanner・CockroachDBなど) - リレーショナルモデル& SQL - 増強した拡張性
- 分析クエリには不向き 2020 1970 Traditional RDBMS (Oracle・MySQL・PostgerSQLなど) - リレーショナルモデル & SQL - ACIDトランザクション - 拡張性が弱点 2000 KVS/NoSQL (Cassandra・Redis・MongoDBなど) - 簡単なデータモデル - 高いスループットを実現 - 複雑クエリと ACIDトランザクションが サポートされていないのが弱点 +HTAP (TiDB) - トランザクション処理と リアルタイム分析クエリを両立 ACID Scalability Consensus
TiDB Serverless AWS上の 最強のサーバレスDB ‧‧‧を⽬指してます
TiDB Serverless TiDB Cloud CLI VS Code @TiDB_Developer 豊富な開発ツールサポート 慣れてるインターフェース
使い慣れたフレームワーク MySQL 互換 従量課金 HTAP AI Powered オート スケール 生成AIをデータベースにも DB界で最速実装 Serverlessデータベース初?! OLTPだけじゃなくて、分析まで 複雑な構成は不要 使った分だけ課金 上限設定あり! Edge 対応 Proxy不要で すぐに使える
真の サーバレスDB
使い始めるまで、わずか2ステップ! クラスタの起動 10秒くらい MySQLクライアントから の接続 よく利⽤されるクライアン トからの接続⽂字列を提供
No Hassle Production Ready 冗⻑構成‧⾃動復旧 オートスケール モニタリング&バックアップ
Sysbenchシミュ 0 から ~1.3M QPS まで20分 そこから0まで スケールダウンに14分 トータル30分! 設定不要!
🎉
https://aws.amazon.com/jp/blogs/storage/how-pingcap-transformed-tidb-into-a-serverless -dbaas-using-amazon-s3-and-amazon-ebs/ クラウドネイティブアーキテクチャ
HTAP: ビルトインDWH 列指向 データ OLTP 行指向 OLAP データ データ ALTER
TABLE table SET TIFLASH REPLICA n オプティマイザ 更新系 軽いクエリ 集計演算 テーブルスキャン
OSSInsight on TiDB Serverless データ量 - 12 TBs, 60億⾏を超える過去‧現在の github過去イベント(リアルタイム)
混在ワークロード - 決められたSQLのダッシュボー ドと、とんでもないクエリを吐く AI 予測出来ないトラフィック - Hackernewsでバズる と 7x のトラフィック 72.7% Cost Reduction Zero Manual Intervention During Spikes 5X Development Efficiency for LLM Data Apps
OSSInsight on TiDB Serverless
Agileな機能開発 • Data Service (SQLをAPIとして公開) • Private Link対応 • Branching
• Serverless Driver • Vercel連携 (Preview機能にも対応) • OIDC/SAML SSO • 完全Private Linkのみ • Data Serviceの独自ドメイン • Vector Search 2週間に一回の頻度でリリースするアジャイル開発!
New! Vector Search 🎆 SQLで検索できる! JOINが使える! TiDBに欠けてる機能を強 化できそう。 -
全文検索 - GIS
THANK YOU.