YugaByte Fundamentals DBA Certification Guide
YugaByte Fundamentals DBA Certification Guide
F UNDA MENTA L S
Cer tif ication
Exam Prep
What is Distributed SQL?
What is YugabyteDB?
“
In YugabyteDB, What guarantees do distributed transactions have in YugabyteDB?
all distributed In YugabyteDB all distributed transactions are guaranteed atomicity, consis-
transactions are tency, isolation, and durability (ACID).
guaranteed atomicity,
Further reading: DocDB Transactions Layer
consistency, isolation,
and durability (ACID).
What is the CAP theorem?
The CAP theorem states that in the face of network Partition, it’s possible to
solve for either Consistency or Availability, but not both. YugabyteDB can be
classified as a CP database. This means it will become unavailable if it cannot
maintain a consistent data set during a network partition.
Universe
“
YugabyteDB supports YB-TServer
synchronous replication
YugabyteDB process responsible for hosting and serving data from a node.
between nodes in a
cluster and asynchro- Further reading: YB-TServer Service
nous replication
between clusters. YB-Master
This node process stores system metadata and records such as which
tables, users, and permissions exist. It is also responsible for coordinating
background operations (such as load-balancing or initiating re-replication
of under-replicated data) and performing a variety of administrative
operations such as creating, altering, and dropping tables.
Yugabyte Structured Query What data access APIs does YugabyteDB support?
Language (YSQL) is a
YugabyteDB supports two modes of data access:
fully-relational SQL API
YSQL: A PostgreSQL-compatible API best suited for relational
workloads
In a network partition, clients can connect to the database nodes, but some
of the nodes cannot communicate with each other. A network partition
can quickly introduce data inconsistencies as soon as the nodes are able to
communicate with each other again. YugabyteDB handles a network partition
by allowing shard followers to serve timeline-consistent reads and making
them available for a leader election. Meanwhile, the shard leaders are able to
accept writes and serve strong reads.
“
Distributed SQL What formula helps us determine the replication factor (RF) required
to achieve a fault tolerance (FT) of k nodes?
databases are able to
tolerate failures because The formula is RF = (2k + 1).
no single node in the
For example, to achieve the fault tolerance of 1 node we’d need a replication
cluster holds all data. factor of at least 3.
3 = (2 * 1 + 1)
5 = (2 * 2 + 1)
postgresql://admin:[email protected]:5433/northwind
User: Admin
Password: password
Host: 11.22.33.44
Port Number: 5433
Database: Northwind
“
In general, an SQL What are the recommended operating and file systems for
YugabyteDB?
tool will work with
YugabyteDB if you use Red Hat Enterprise Linux 7.x, CentOS 7.x and XFS.
a PostgreSQL driver
and can connect on
What Linux utilities are useful when setting up a YugabyteDB cluster?
port 5433.
ulimit – to set appropriate system resource limits
You can expect improved read throughput, improved latency and more
caching of data.
“
Remember: What storage types does YugabyteDB support?
and backed by SSDs. Please review the “Manual Deployment” section of the YugabyteDB Docs.
What are the necessary steps to backup and restore a YugabyteDB cluster?
Please review the “Backup and Restore” section of the YugabyteDB Docs.
Questions?
YugabyteDB’s Community Slack is the easiest and fastest way to get your
questions answered about requirements, installation, class content, exam
preparation and certification. Register here:
yugabyte.com/slack