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
110
Cloud on the beach - いろいろな雲のかたち
bohnen
1
100
TiUG #1 TiDB overview and update
bohnen
0
300
みんなのPython勉強会: 最近のDB事情 TiDB Serverlessの紹介
bohnen
1
890
Postman Tokyo Meetup - Serverless Integration with Flows
bohnen
2
270
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
220
Other Decks in Technology
See All in Technology
Go 1.27 の標準パッケージに uuid が入った!のでいろいろ喋る / go_127_std_go_uuid
convto
3
710
Windows の互換機能 - 古いプログラムはなぜ動作できるのか
murachiakira
PRO
0
100
Kiro5兄弟のいまどきのセキュリティ基礎知識
kentapapa
0
190
1000⼈規模のClaude Enterprise運⽤を「Oktaのグループ」と「Slack」に集約する
sansantech
PRO
0
350
[ホンマでっか SRE] あなたはなぜ SRE に?
_awache
0
130
Introduction to Sansan, inc / Sansan Global Development Center, Inc.
sansan33
PRO
0
3.2k
カーネルまで探検して理解するふたつの自動計装
sumiyae
0
310
dbt と Snowflake と tag
kevinrobot34
1
240
型落ちシンクライアント端末のPoEモジュールを自作したかった話
logica0419
0
430
コミュニティから始まった農業IoTとの7年間 ——人との関わりが教えてくれたこと
peacemaker07
0
110
Introduction to Bill One Development Engineer
sansan33
PRO
0
470
サービス内で複数のOP・ASを連鎖させる(OAuth/OIDC Numa (Immersion) Workshop 2026)
oidfj
PRO
0
240
Featured
See All Featured
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
3
1.1k
The agentic SEO stack - context over prompts
schlessera
0
870
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.8k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.4k
The SEO identity crisis: Don't let AI make you average
varn
0
540
A Soul's Torment
seathinner
6
3.5k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
63
45k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
280
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
390
Product Roadmaps are Hard
iamctodd
55
12k
Amusing Abliteration
ianozsvald
1
260
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.2k
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.