SlideShare a Scribd company logo
1 of 32
Download to read offline
© 2020 All Rights Reserved
1
Getting Started
with Yugabyte
Gwenn Etourneau
Principal, Solution Architect
© 2020 All Rights Reserved
About me
2
https://github.com/shinji62
https://twitter.com/the_shinji62
Woven Planet
Pivotal (ac. By VMware)
Rakuten
IBM …
Etourneau Gwenn
Principal Solution Architect
© 2020 All Rights Reserved
About me (fun fact)
3
© 2020 All Rights Reserved 4
Agenda
● Install
○ Starting locally
● Yugabyte Managed
● Your first workload
○ Northwind
○ Benchmarking
● Next
○ Yugabyte University
© 2020 All Rights Reserved 5
Install YugabyteDB locally
You can install YugabyteDB locally in two way:
● Installing the binary
● Docker image: Docker or Kubernetes
© 2020 All Rights Reserved 6
Using binary
CentOS >= 7
Ubuntu 16.04 or later
© 2020 All Rights Reserved 7
Using binary - Single node cluster
1. Download the release and untar it
2. Start yugabyted daemon
That’s all, You have now setup a single node cluster
© 2020 All Rights Reserved 8
Using binary - multi-cluster node
Start yugabyted daemon for the first node
Start yugabyted daemon for the two others nodes
./bin/yugabyted start --advertise_address=127.0.0.
1 --base_dir=/tmp/
ybd1 
--cloud_location=cloud.region.
az1
./bin/yugabyted start --advertise_address=127.0.0.
2 --base_dir=/tmp/
ybd2 
--cloud_location=cloud.region.
az2 
--join=127.0.0.1
./bin/yugabyted start --advertise_address=127.0.0.
3 --base_dir=/tmp/
ybd3 
--cloud_location=cloud.region.
az3 
--join=127.0.0.1
© 2020 All Rights Reserved 9
Using binary - multi-cluster node
Replication
factor 3
That’s all, You have now setup a multi-node cluster with RF 3
© 2020 All Rights Reserved 10
Using Docker image
docker run -d --name yugabyte 
-p7000:7000 -p9000:9000 -p5433:5433 -p9042:9042 
-v ~/yb_data:/home/yugabyte/yb_data 
yugabytedb/yugabyte:latest bin/yugabyted start 
--base_dir=/home/yugabyte/yb_data --daemon=false
1. Start single node cluster with persistent volumes
That’s all, You have now setup a single-node cluster
© 2020 All Rights Reserved 11
Using Docker image multi-node cluster
docker network create -d bridge yb
1. Create common docker network for yugabyte
docker run -d --name yb0 -h yb0 --network yb 
-p7010:7000 -p9000:9000 -p5433:5433 -p9042:9042 
yugabytedb/yugabyte:latest bin/yugabyted start 
--daemon=false --listen=yb0
2. Start the first server
© 2020 All Rights Reserved 12
Using Docker image multi-node cluster
That’s all, You have now setup a multi-node cluster
docker run -d --name yb1 -h yb1 --network yb 
-p5434:5433 
yugabytedb/yugabyte:latest bin/yugabyted start 
--daemon=false --listen=
yb1 --join=yb0
Start the second server
docker run -d --name yb2 -h yb2 --network yb 
-p5435:5433 
yugabytedb/yugabyte:latest bin/yugabyted start 
--daemon=false --listen=
yb2 --join=yb0
Start the third server
© 2020 All Rights Reserved 13
Using Docker image
Demo
© 2020 All Rights Reserved 14
Using Kubernetes with Helm
© 2020 All Rights Reserved 15
Using Kubernetes
Using Kubernetes with Helm
1. Add the charts repos
2. Install and deploy the yugabyte helm charts
helm install yb-demo yugabytedb/yugabyte 
--version 2.17.0 
--set replicas.master=1,replicas.tserver=1 
--namespace yb-demo --create-namespace
© 2020 All Rights Reserved 16
Using Kubernetes
Using Kubernetes with Helm
Tips:
● Default resource are large. you can reduce them by using value
resource.master.requests. cpu=0.5,resource.master.requests. memory=0.5Gi,
resource.tserver.requests. cpu=0.5,resource.tserver.requests. memory=0.5Gi
© 2020 All Rights Reserved 17
Using Kubernetes
Using Kubernetes with Helm
Tips:
● Default resource are large. you can reduce them by using value
resource.master.requests. cpu=0.5,resource.master.requests. memory=0.5Gi,
resource.tserver.requests. cpu=0.5,resource.tserver.requests. memory=0.5Gi
© 2020 All Rights Reserved 18
Using Kubernetes
Using Kubernetes with Helm
Demo
© 2020 All Rights Reserved 19
YugabyteDB Managed
YugabyteDB Managed
Fully-Managed DBaaS
Get a running YugabyteDB in a few clicks!!
Database in Yugabyte’s public cloud infrastructure
Fully managed infra and database operations - handled by Yugabyte
24/7 enterprise support and services
cloud.yugabyte.com
© 2020 All Rights Reserved 20
YugabyteDB Managed
Register Create a cluster
free trial
free
© 2020 All Rights Reserved 21
YugabyteDB Managed
© 2020 All Rights Reserved 22
YugabyteDB Managed
That’s all, You have now setup a cluster
© 2020 All Rights Reserved 23
YugabyteDB Managed
You can use ysqlsh directly from your browser
with “Cloud Shell”
Metrics, Performance Advisor, etc …
© 2020 All Rights Reserved 24
Using Kubernetes
Using Kubernetes with Helm
Demo
© 2020 All Rights Reserved 25
Your first Workload
© 2020 All Rights Reserved 26
How to connect ?
● Locally
○ The YugabyteDB SQL: Ysqlsh
○ The YugabyteDB CQL: Ycqlsh
○ Any postgreSQL / cassandra client
● Yugabyte Managed
○ Cloud Shell
○ The YugabyteDB SQL: Ysqlsh
○ The YugabyteDB CQL: Ycqlsh
○ Any postgreSQL / cassandra client
© 2020 All Rights Reserved 27
Play with Northwind Database
● Contains the sales data for a fictitious
company called “Northwind Traders”
● Contains Schema (DDL*) and Data
(DML**)
● Easy to start with.
https://docs.yugabyte.com/stable/sample-data/northwind/
* Data Definition Language (DDL) refers to the CREATE, ALTER and DROP
statements.
** Data Manipulation Language (DML) refers to the INSERT, UPDATE and
DELETE statements
© 2020 All Rights Reserved 28
Benchmarking
TPC-C
● On-line transaction processing (OLTP) benchmark
● Measure Yugabyte Performance for concurrent transactions
YCSB Yahoo Cloud Serving Benchmark
● One of the most well-known benchmark for SQL and Nosql
https://docs.yugabyte.com/stable/benchmark/ycsb-ysql/
https://docs.yugabyte.com/preview/benchmark/tpcc-ysql/
© 2020 All Rights Reserved 29
Next …
© 2020 All Rights Reserved 30
Yugabyte University
● Virtual training with an instructor
● Own pace training
© 2020 All Rights Reserved 31
Yugabyte University
● Validate your knowledge
● Get more visibility
● Show you learn YugabyteDB !
Certification
© 2020 All Rights Reserved 32
Thank You
Join us on Slack:
www.yugabyte.com/slack
Star us on GitHub:
github.com/yugabyte/yugabyte-db

More Related Content

Similar to Getting Started with YugabyteDB

OpenNebula 4.14 Hands-on Tutorial
OpenNebula 4.14 Hands-on TutorialOpenNebula 4.14 Hands-on Tutorial
OpenNebula 4.14 Hands-on TutorialOpenNebula Project
 
Perspectives on Docker
Perspectives on DockerPerspectives on Docker
Perspectives on DockerRightScale
 
Taming the Tiger: Tips and Tricks for Using Telegraf
Taming the Tiger: Tips and Tricks for Using TelegrafTaming the Tiger: Tips and Tricks for Using Telegraf
Taming the Tiger: Tips and Tricks for Using TelegrafInfluxData
 
OpenNebula TechDay Boston 2015 - installing and basic usage
OpenNebula TechDay Boston 2015 - installing and basic usageOpenNebula TechDay Boston 2015 - installing and basic usage
OpenNebula TechDay Boston 2015 - installing and basic usageOpenNebula Project
 
OpenNebula TechDay Waterloo 2015 - Open nebula hands on workshop
OpenNebula TechDay Waterloo 2015 - Open nebula hands on workshopOpenNebula TechDay Waterloo 2015 - Open nebula hands on workshop
OpenNebula TechDay Waterloo 2015 - Open nebula hands on workshopOpenNebula Project
 
Dockerizing Ruby Applications - The Best Practices
Dockerizing Ruby Applications - The Best PracticesDockerizing Ruby Applications - The Best Practices
Dockerizing Ruby Applications - The Best PracticesKontena, Inc.
 
Locally run a FIWARE Lab Instance In another Hypervisors
Locally run a FIWARE Lab Instance In another HypervisorsLocally run a FIWARE Lab Instance In another Hypervisors
Locally run a FIWARE Lab Instance In another HypervisorsJosé Ignacio Carretero Guarde
 
Docker and Jenkins [as code]
Docker and Jenkins [as code]Docker and Jenkins [as code]
Docker and Jenkins [as code]Mark Waite
 
Docker and Your Path to a Better Staging Environment - webinar by Gil Tayar
Docker and Your Path to a Better Staging Environment - webinar by Gil TayarDocker and Your Path to a Better Staging Environment - webinar by Gil Tayar
Docker and Your Path to a Better Staging Environment - webinar by Gil TayarApplitools
 
Run K8s on Local Environment
Run K8s on Local EnvironmentRun K8s on Local Environment
Run K8s on Local EnvironmentGanesh Pol
 
Docker swarm introduction
Docker swarm introductionDocker swarm introduction
Docker swarm introductionEvan Lin
 
Deploying Prometheus stacks with Juju
Deploying Prometheus stacks with JujuDeploying Prometheus stacks with Juju
Deploying Prometheus stacks with JujuJ.J. Ciarlante
 
Google Cloud Platform Special Training
Google Cloud Platform Special TrainingGoogle Cloud Platform Special Training
Google Cloud Platform Special TrainingSimon Su
 
Developing Rails Apps in Technical Isolation
Developing Rails Apps in Technical IsolationDeveloping Rails Apps in Technical Isolation
Developing Rails Apps in Technical IsolationJesus Jackson
 
Gitlab installation
Gitlab installationGitlab installation
Gitlab installationRaiful Hasan
 
Install Oracle 12c Golden Gate On Oracle Linux
Install Oracle 12c Golden Gate On Oracle LinuxInstall Oracle 12c Golden Gate On Oracle Linux
Install Oracle 12c Golden Gate On Oracle LinuxArun Sharma
 
DcATL 2013: Git-Flow for Daily Use
DcATL 2013: Git-Flow for Daily UseDcATL 2013: Git-Flow for Daily Use
DcATL 2013: Git-Flow for Daily UseMediacurrent
 

Similar to Getting Started with YugabyteDB (20)

OpenNebula 4.14 Hands-on Tutorial
OpenNebula 4.14 Hands-on TutorialOpenNebula 4.14 Hands-on Tutorial
OpenNebula 4.14 Hands-on Tutorial
 
TechDay - April - Tutorial
TechDay - April - TutorialTechDay - April - Tutorial
TechDay - April - Tutorial
 
Perspectives on Docker
Perspectives on DockerPerspectives on Docker
Perspectives on Docker
 
Taming the Tiger: Tips and Tricks for Using Telegraf
Taming the Tiger: Tips and Tricks for Using TelegrafTaming the Tiger: Tips and Tricks for Using Telegraf
Taming the Tiger: Tips and Tricks for Using Telegraf
 
OpenNebula TechDay Boston 2015 - installing and basic usage
OpenNebula TechDay Boston 2015 - installing and basic usageOpenNebula TechDay Boston 2015 - installing and basic usage
OpenNebula TechDay Boston 2015 - installing and basic usage
 
OpenNebula TechDay Waterloo 2015 - Open nebula hands on workshop
OpenNebula TechDay Waterloo 2015 - Open nebula hands on workshopOpenNebula TechDay Waterloo 2015 - Open nebula hands on workshop
OpenNebula TechDay Waterloo 2015 - Open nebula hands on workshop
 
Dockerizing Ruby Applications - The Best Practices
Dockerizing Ruby Applications - The Best PracticesDockerizing Ruby Applications - The Best Practices
Dockerizing Ruby Applications - The Best Practices
 
Juggva cloud
Juggva cloudJuggva cloud
Juggva cloud
 
Locally run a FIWARE Lab Instance In another Hypervisors
Locally run a FIWARE Lab Instance In another HypervisorsLocally run a FIWARE Lab Instance In another Hypervisors
Locally run a FIWARE Lab Instance In another Hypervisors
 
Docker and Jenkins [as code]
Docker and Jenkins [as code]Docker and Jenkins [as code]
Docker and Jenkins [as code]
 
Docker and Your Path to a Better Staging Environment - webinar by Gil Tayar
Docker and Your Path to a Better Staging Environment - webinar by Gil TayarDocker and Your Path to a Better Staging Environment - webinar by Gil Tayar
Docker and Your Path to a Better Staging Environment - webinar by Gil Tayar
 
Run K8s on Local Environment
Run K8s on Local EnvironmentRun K8s on Local Environment
Run K8s on Local Environment
 
The Self-Contained SDR Satellite Grand Station with Raspberry Pi 3
The Self-Contained SDR Satellite Grand Station with Raspberry Pi 3The Self-Contained SDR Satellite Grand Station with Raspberry Pi 3
The Self-Contained SDR Satellite Grand Station with Raspberry Pi 3
 
Docker swarm introduction
Docker swarm introductionDocker swarm introduction
Docker swarm introduction
 
Deploying Prometheus stacks with Juju
Deploying Prometheus stacks with JujuDeploying Prometheus stacks with Juju
Deploying Prometheus stacks with Juju
 
Google Cloud Platform Special Training
Google Cloud Platform Special TrainingGoogle Cloud Platform Special Training
Google Cloud Platform Special Training
 
Developing Rails Apps in Technical Isolation
Developing Rails Apps in Technical IsolationDeveloping Rails Apps in Technical Isolation
Developing Rails Apps in Technical Isolation
 
Gitlab installation
Gitlab installationGitlab installation
Gitlab installation
 
Install Oracle 12c Golden Gate On Oracle Linux
Install Oracle 12c Golden Gate On Oracle LinuxInstall Oracle 12c Golden Gate On Oracle Linux
Install Oracle 12c Golden Gate On Oracle Linux
 
DcATL 2013: Git-Flow for Daily Use
DcATL 2013: Git-Flow for Daily UseDcATL 2013: Git-Flow for Daily Use
DcATL 2013: Git-Flow for Daily Use
 

More from Gwenn Etourneau

Gwenn - Advanced level unlocked_.pdf
Gwenn - Advanced level unlocked_.pdfGwenn - Advanced level unlocked_.pdf
Gwenn - Advanced level unlocked_.pdfGwenn Etourneau
 
Concourse for devops @quoine
Concourse for devops @quoineConcourse for devops @quoine
Concourse for devops @quoineGwenn Etourneau
 
Cloud Foundry CF LOGS stack
Cloud Foundry CF LOGS stackCloud Foundry CF LOGS stack
Cloud Foundry CF LOGS stackGwenn Etourneau
 
Demo Pivotal Circle Of Code
Demo Pivotal Circle Of CodeDemo Pivotal Circle Of Code
Demo Pivotal Circle Of CodeGwenn Etourneau
 
Monitor Cloud Foundry and Bosh with Prometheus
Monitor Cloud Foundry and Bosh with PrometheusMonitor Cloud Foundry and Bosh with Prometheus
Monitor Cloud Foundry and Bosh with PrometheusGwenn Etourneau
 
Route service-pcf-techmeetup
Route service-pcf-techmeetupRoute service-pcf-techmeetup
Route service-pcf-techmeetupGwenn Etourneau
 
Cloud Foundry Meetup Tokyo #1 Route service
Cloud Foundry Meetup Tokyo #1 Route serviceCloud Foundry Meetup Tokyo #1 Route service
Cloud Foundry Meetup Tokyo #1 Route serviceGwenn Etourneau
 

More from Gwenn Etourneau (15)

Gwenn - Advanced level unlocked_.pdf
Gwenn - Advanced level unlocked_.pdfGwenn - Advanced level unlocked_.pdf
Gwenn - Advanced level unlocked_.pdf
 
Concourse for devops @quoine
Concourse for devops @quoineConcourse for devops @quoine
Concourse for devops @quoine
 
Cloud Foundry CF LOGS stack
Cloud Foundry CF LOGS stackCloud Foundry CF LOGS stack
Cloud Foundry CF LOGS stack
 
Concourse webhook
Concourse webhookConcourse webhook
Concourse webhook
 
Concourse and Database
Concourse and DatabaseConcourse and Database
Concourse and Database
 
ConcourseCI love Minio
ConcourseCI love MinioConcourseCI love Minio
ConcourseCI love Minio
 
Demo Pivotal Circle Of Code
Demo Pivotal Circle Of CodeDemo Pivotal Circle Of Code
Demo Pivotal Circle Of Code
 
Monitor Cloud Foundry and Bosh with Prometheus
Monitor Cloud Foundry and Bosh with PrometheusMonitor Cloud Foundry and Bosh with Prometheus
Monitor Cloud Foundry and Bosh with Prometheus
 
Concourse updates
Concourse updatesConcourse updates
Concourse updates
 
Route service-pcf-techmeetup
Route service-pcf-techmeetupRoute service-pcf-techmeetup
Route service-pcf-techmeetup
 
Bosh 2-0-reloaded
Bosh 2-0-reloadedBosh 2-0-reloaded
Bosh 2-0-reloaded
 
ConcourseCi Dockerimage
ConcourseCi DockerimageConcourseCi Dockerimage
ConcourseCi Dockerimage
 
ConcourseCi overview
ConcourseCi  overviewConcourseCi  overview
ConcourseCi overview
 
Cloud Foundry Meetup Tokyo #1 Route service
Cloud Foundry Meetup Tokyo #1 Route serviceCloud Foundry Meetup Tokyo #1 Route service
Cloud Foundry Meetup Tokyo #1 Route service
 
Lattice yapc-slideshare
Lattice yapc-slideshareLattice yapc-slideshare
Lattice yapc-slideshare
 

Recently uploaded

A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGSujit Pal
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 

Recently uploaded (20)

A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAG
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 

Getting Started with YugabyteDB

  • 1. © 2020 All Rights Reserved 1 Getting Started with Yugabyte Gwenn Etourneau Principal, Solution Architect
  • 2. © 2020 All Rights Reserved About me 2 https://github.com/shinji62 https://twitter.com/the_shinji62 Woven Planet Pivotal (ac. By VMware) Rakuten IBM … Etourneau Gwenn Principal Solution Architect
  • 3. © 2020 All Rights Reserved About me (fun fact) 3
  • 4. © 2020 All Rights Reserved 4 Agenda ● Install ○ Starting locally ● Yugabyte Managed ● Your first workload ○ Northwind ○ Benchmarking ● Next ○ Yugabyte University
  • 5. © 2020 All Rights Reserved 5 Install YugabyteDB locally You can install YugabyteDB locally in two way: ● Installing the binary ● Docker image: Docker or Kubernetes
  • 6. © 2020 All Rights Reserved 6 Using binary CentOS >= 7 Ubuntu 16.04 or later
  • 7. © 2020 All Rights Reserved 7 Using binary - Single node cluster 1. Download the release and untar it 2. Start yugabyted daemon That’s all, You have now setup a single node cluster
  • 8. © 2020 All Rights Reserved 8 Using binary - multi-cluster node Start yugabyted daemon for the first node Start yugabyted daemon for the two others nodes ./bin/yugabyted start --advertise_address=127.0.0. 1 --base_dir=/tmp/ ybd1 --cloud_location=cloud.region. az1 ./bin/yugabyted start --advertise_address=127.0.0. 2 --base_dir=/tmp/ ybd2 --cloud_location=cloud.region. az2 --join=127.0.0.1 ./bin/yugabyted start --advertise_address=127.0.0. 3 --base_dir=/tmp/ ybd3 --cloud_location=cloud.region. az3 --join=127.0.0.1
  • 9. © 2020 All Rights Reserved 9 Using binary - multi-cluster node Replication factor 3 That’s all, You have now setup a multi-node cluster with RF 3
  • 10. © 2020 All Rights Reserved 10 Using Docker image docker run -d --name yugabyte -p7000:7000 -p9000:9000 -p5433:5433 -p9042:9042 -v ~/yb_data:/home/yugabyte/yb_data yugabytedb/yugabyte:latest bin/yugabyted start --base_dir=/home/yugabyte/yb_data --daemon=false 1. Start single node cluster with persistent volumes That’s all, You have now setup a single-node cluster
  • 11. © 2020 All Rights Reserved 11 Using Docker image multi-node cluster docker network create -d bridge yb 1. Create common docker network for yugabyte docker run -d --name yb0 -h yb0 --network yb -p7010:7000 -p9000:9000 -p5433:5433 -p9042:9042 yugabytedb/yugabyte:latest bin/yugabyted start --daemon=false --listen=yb0 2. Start the first server
  • 12. © 2020 All Rights Reserved 12 Using Docker image multi-node cluster That’s all, You have now setup a multi-node cluster docker run -d --name yb1 -h yb1 --network yb -p5434:5433 yugabytedb/yugabyte:latest bin/yugabyted start --daemon=false --listen= yb1 --join=yb0 Start the second server docker run -d --name yb2 -h yb2 --network yb -p5435:5433 yugabytedb/yugabyte:latest bin/yugabyted start --daemon=false --listen= yb2 --join=yb0 Start the third server
  • 13. © 2020 All Rights Reserved 13 Using Docker image Demo
  • 14. © 2020 All Rights Reserved 14 Using Kubernetes with Helm
  • 15. © 2020 All Rights Reserved 15 Using Kubernetes Using Kubernetes with Helm 1. Add the charts repos 2. Install and deploy the yugabyte helm charts helm install yb-demo yugabytedb/yugabyte --version 2.17.0 --set replicas.master=1,replicas.tserver=1 --namespace yb-demo --create-namespace
  • 16. © 2020 All Rights Reserved 16 Using Kubernetes Using Kubernetes with Helm Tips: ● Default resource are large. you can reduce them by using value resource.master.requests. cpu=0.5,resource.master.requests. memory=0.5Gi, resource.tserver.requests. cpu=0.5,resource.tserver.requests. memory=0.5Gi
  • 17. © 2020 All Rights Reserved 17 Using Kubernetes Using Kubernetes with Helm Tips: ● Default resource are large. you can reduce them by using value resource.master.requests. cpu=0.5,resource.master.requests. memory=0.5Gi, resource.tserver.requests. cpu=0.5,resource.tserver.requests. memory=0.5Gi
  • 18. © 2020 All Rights Reserved 18 Using Kubernetes Using Kubernetes with Helm Demo
  • 19. © 2020 All Rights Reserved 19 YugabyteDB Managed YugabyteDB Managed Fully-Managed DBaaS Get a running YugabyteDB in a few clicks!! Database in Yugabyte’s public cloud infrastructure Fully managed infra and database operations - handled by Yugabyte 24/7 enterprise support and services cloud.yugabyte.com
  • 20. © 2020 All Rights Reserved 20 YugabyteDB Managed Register Create a cluster free trial free
  • 21. © 2020 All Rights Reserved 21 YugabyteDB Managed
  • 22. © 2020 All Rights Reserved 22 YugabyteDB Managed That’s all, You have now setup a cluster
  • 23. © 2020 All Rights Reserved 23 YugabyteDB Managed You can use ysqlsh directly from your browser with “Cloud Shell” Metrics, Performance Advisor, etc …
  • 24. © 2020 All Rights Reserved 24 Using Kubernetes Using Kubernetes with Helm Demo
  • 25. © 2020 All Rights Reserved 25 Your first Workload
  • 26. © 2020 All Rights Reserved 26 How to connect ? ● Locally ○ The YugabyteDB SQL: Ysqlsh ○ The YugabyteDB CQL: Ycqlsh ○ Any postgreSQL / cassandra client ● Yugabyte Managed ○ Cloud Shell ○ The YugabyteDB SQL: Ysqlsh ○ The YugabyteDB CQL: Ycqlsh ○ Any postgreSQL / cassandra client
  • 27. © 2020 All Rights Reserved 27 Play with Northwind Database ● Contains the sales data for a fictitious company called “Northwind Traders” ● Contains Schema (DDL*) and Data (DML**) ● Easy to start with. https://docs.yugabyte.com/stable/sample-data/northwind/ * Data Definition Language (DDL) refers to the CREATE, ALTER and DROP statements. ** Data Manipulation Language (DML) refers to the INSERT, UPDATE and DELETE statements
  • 28. © 2020 All Rights Reserved 28 Benchmarking TPC-C ● On-line transaction processing (OLTP) benchmark ● Measure Yugabyte Performance for concurrent transactions YCSB Yahoo Cloud Serving Benchmark ● One of the most well-known benchmark for SQL and Nosql https://docs.yugabyte.com/stable/benchmark/ycsb-ysql/ https://docs.yugabyte.com/preview/benchmark/tpcc-ysql/
  • 29. © 2020 All Rights Reserved 29 Next …
  • 30. © 2020 All Rights Reserved 30 Yugabyte University ● Virtual training with an instructor ● Own pace training
  • 31. © 2020 All Rights Reserved 31 Yugabyte University ● Validate your knowledge ● Get more visibility ● Show you learn YugabyteDB ! Certification
  • 32. © 2020 All Rights Reserved 32 Thank You Join us on Slack: www.yugabyte.com/slack Star us on GitHub: github.com/yugabyte/yugabyte-db