TiDB - From Data to Discovery: Exploring the Intersection of Distributed Databases and AI

MyDBOPS 55 views 36 slides Jun 22, 2024
Slide 1
Slide 1 of 36
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27
Slide 28
28
Slide 29
29
Slide 30
30
Slide 31
31
Slide 32
32
Slide 33
33
Slide 34
34
Slide 35
35
Slide 36
36

About This Presentation

Speaker: Sreedharma Vijayan, India Director at PingCAP, at Mydbops Open Source Meetup 16.

Topic: From Data to Discovery: Exploring the Intersection of Distributed Databases and AI
Date & Time: 8th June | 10 AM - 1 PM IST

In this session, Sreedharma Vijayan delves into the exciting intersectio...


Slide Content

Sreedharma Vijayan
India Director - PingCAP

If you are a database administrator

Or a technology decision maker

You may wrestle with questions like

How can my database scale out?

How can my database scale elastically?

To accommodate marketing campaigns ?

Data Growth: A challenge
MYSQL
DB1
MySQL 1
DB 1
DB2
MySQL 2
DB3
MySQL 3
DB4
MySQL 4
Data distribution
logic in application
Data access logic in
application
Manual Sharding
DB 2
DB 3
DB 4

Intent to grow creates Complexity
Master
Hot
Standby
Read
Replica
Master
Hot
Standby
Read
Replica
Master
Hot
Standby
Read
Replica
Master
Hot
Standby
Read
Replica
Master
Hot
Standby
Read
Replica
Read
Replica
Hot
Standby
Read
Replica
Hot
Standby
Read
Replica
Hot
Standby
Read
Replica
Hot
Standby
Read
Replica
Hot
Standby
Application
Reads
Writes
Shard 1 Shard 2 Shard 3 Shard 4 Shard 5
Region 1 - Active Application Region 2 - Passive
Shard 1 Shard 2 Shard 3 Shard 4 Shard 5
25 DB Nodes
20 Replication
Channels
Operational
complexity
Failover
complexity
Resharding
complexity
Reads

If you are a business analyst

You may wonder

How can I get real-time insights into my business without an expensive ETL process?

Single Node Database Limitations
Scalability High Availability Real-Time
Analytics
Handle Modern
applications
Unstable performance when
scaling write-intensive
applications.
Setting up HA requires careful
planning & configuration. The
replication can result in lag,
potential data
inconsistencies
Analytical queries can
impact transactional
processing
Adapting to cloud native
architecture poses
challenges to traditional,
monolithic systems like
MySQL

Can one solution meet all these requirements?

Introducing
The most advanced, open
source, distributed SQL
database for modern
applications.
Scalable. Versatile. Titanium (Ti) Reliable.
34K+ GitHub Stars 3K+ Adopters 800+ Contributors 5K+ Slack Users

With TiDB Cloud - Your Business won’t outgrow your database

What Makes TiDB So Advanced?

The Advantages of TiDB
Horizontal Scaling
Grants total transparency into
data workloads without
manualsharding.
High Availability
Guarantees auto-failover and
self-healing for continuous
access to data.
Mixed Workloads
Streamlined tech stack makes it
easier to produce real-time
analytics.
MySQL Compatibility
Enjoy the most MySQL
compatible distributed SQL
database on the planet.
Multi-Cloud
Deploy database clusters
anywhere in the world.
Open Source
Unlock business innovation
with a database that’s 100%
open source.
Robust Security
Protect data with enterprise-
grade encryption both in-flight
and at-rest.

If data volume increases over time – You can handle it easily!

Scale-Out easily by adding nodes – Performance increases linearly based on your cluster size

But what about short-term surges and drops?

TiDB Cloud scales up for the surge

And Scales in when the traffic slows with zero downtime

Case Study - Flipkart

TiDB Cloud is highly available

TiDB’s RAFT-based distribution mechanism – Replicate each segment of data to at least three AZs

Even if one zone fails – Your data is safe! and the Service stays on

TiDB creatively combines row-based storage and column-based storage in the same database

Data is replicated between the two storage engines in real time to get fresh analytics from transnational data

TiDB is a one-stop solution for hybrid workloads

Deploy TiDB clusters in your favourite cloud in just a few clicks!

Demo
https://play.tidbcloud.com