mirror of
https://github.com/linkedin/school-of-sre
synced 2026-01-14 20:48:02 +00:00
6402 lines
129 KiB
HTML
6402 lines
129 KiB
HTML
|
||
<!doctype html>
|
||
<html lang="en" class="no-js">
|
||
<head>
|
||
|
||
<meta charset="utf-8">
|
||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||
|
||
|
||
|
||
<link rel="canonical" href="https://linkedin.github.io/school-of-sre/level101/databases_sql/replication/">
|
||
|
||
|
||
<link rel="prev" href="../backup_recovery/">
|
||
|
||
|
||
<link rel="next" href="../operations/">
|
||
|
||
|
||
<link rel="icon" href="../../../img/favicon.ico">
|
||
<meta name="generator" content="mkdocs-1.5.3, mkdocs-material-9.5.12">
|
||
|
||
|
||
|
||
<title>MySQL Replication - School Of SRE</title>
|
||
|
||
|
||
|
||
<link rel="stylesheet" href="../../../assets/stylesheets/main.7e359304.min.css">
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,700,700i%7CRoboto+Mono:400,400i,700,700i&display=fallback">
|
||
<style>:root{--md-text-font:"Roboto";--md-code-font:"Roboto Mono"}</style>
|
||
|
||
|
||
|
||
<link rel="stylesheet" href="../../../stylesheets/custom.css">
|
||
|
||
<script>__md_scope=new URL("../../..",location),__md_hash=e=>[...e].reduce((e,_)=>(e<<5)-e+_.charCodeAt(0),0),__md_get=(e,_=localStorage,t=__md_scope)=>JSON.parse(_.getItem(t.pathname+"."+e)),__md_set=(e,_,t=localStorage,a=__md_scope)=>{try{t.setItem(a.pathname+"."+e,JSON.stringify(_))}catch(e){}}</script>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
</head>
|
||
|
||
|
||
<body dir="ltr">
|
||
|
||
|
||
<input class="md-toggle" data-md-toggle="drawer" type="checkbox" id="__drawer" autocomplete="off">
|
||
<input class="md-toggle" data-md-toggle="search" type="checkbox" id="__search" autocomplete="off">
|
||
<label class="md-overlay" for="__drawer"></label>
|
||
<div data-md-component="skip">
|
||
|
||
|
||
<a href="#mysql-replication" class="md-skip">
|
||
Skip to content
|
||
</a>
|
||
|
||
</div>
|
||
<div data-md-component="announce">
|
||
|
||
</div>
|
||
|
||
|
||
|
||
<script async defer data-domain="linkedin.github.io" src="https://tracking.eskratch.com/js/plausible.js"></script>
|
||
<script>document.addEventListener("DOMContentLoaded", function() {
|
||
if (document.getElementById("nav-2").checked!=true && document.getElementById("nav-3").checked!=true && window.innerWidth>1220){
|
||
document.getElementById("nav-2").checked=true;
|
||
document.getElementById("nav-3").checked=true;
|
||
|
||
}
|
||
});</script>
|
||
|
||
|
||
|
||
<header class="md-header" data-md-component="header">
|
||
<nav class="md-header__inner md-grid" aria-label="header.title">
|
||
<a href="https://linkedin.github.io/school-of-sre/" title="School Of SRE" class="md-header__button md-logo" aria-label="School Of SRE">
|
||
|
||
<img src="../../../img/sos.png" alt="logo">
|
||
|
||
</a>
|
||
<!-- Button to open drawer -->
|
||
<label class="md-header__button md-icon" for="__drawer">
|
||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3 6h18v2H3V6m0 5h18v2H3v-2m0 5h18v2H3v-2Z"/></svg>
|
||
</label>
|
||
<div class="md-header__title" data-md-component="header-title">
|
||
|
||
<div class="md-header__ellipsis">
|
||
<span class="md-header__topic md-ellipsis">
|
||
<a href="https://linkedin.github.io/school-of-sre/" title="School Of SRE" >
|
||
School Of SRE
|
||
</a>
|
||
</span>
|
||
<span class="md-header__topic md-ellipsis">
|
||
|
||
MySQL Replication
|
||
|
||
</span>
|
||
</div>
|
||
|
||
</div>
|
||
|
||
<label class="md-header__button md-icon" for="__search">
|
||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.5 3A6.5 6.5 0 0 1 16 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.516 6.516 0 0 1 9.5 16 6.5 6.5 0 0 1 3 9.5 6.5 6.5 0 0 1 9.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5Z"/></svg>
|
||
</label>
|
||
<div class="md-search" data-md-component="search" role="dialog">
|
||
<label class="md-search__overlay" for="__search"></label>
|
||
<div class="md-search__inner" role="search">
|
||
<form class="md-search__form" name="search">
|
||
<input type="text" class="md-search__input" name="query" aria-label="Search" placeholder="Search" autocapitalize="off" autocorrect="off" autocomplete="off" spellcheck="false" data-md-component="search-query" required>
|
||
<label class="md-search__icon md-icon" for="__search">
|
||
|
||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.5 3A6.5 6.5 0 0 1 16 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.516 6.516 0 0 1 9.5 16 6.5 6.5 0 0 1 3 9.5 6.5 6.5 0 0 1 9.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5Z"/></svg>
|
||
|
||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11h12Z"/></svg>
|
||
</label>
|
||
<nav class="md-search__options" aria-label="Search">
|
||
|
||
<button type="reset" class="md-search__icon md-icon" title="Clear" aria-label="Clear" tabindex="-1">
|
||
|
||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41Z"/></svg>
|
||
</button>
|
||
</nav>
|
||
|
||
</form>
|
||
<div class="md-search__output">
|
||
<div class="md-search__scrollwrap" data-md-scrollfix>
|
||
<div class="md-search-result" data-md-component="search-result">
|
||
<div class="md-search-result__meta">
|
||
Initializing search
|
||
</div>
|
||
<ol class="md-search-result__list" role="presentation"></ol>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
|
||
</nav>
|
||
</header>
|
||
|
||
<div class="md-container" data-md-component="container">
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<main class="md-main" data-md-component="main">
|
||
<div class="md-main__inner md-grid">
|
||
|
||
|
||
|
||
<div class="md-sidebar md-sidebar--primary" data-md-component="sidebar" data-md-type="navigation" >
|
||
<div class="md-sidebar__scrollwrap">
|
||
<div class="md-sidebar__inner">
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
|
||
<!-- Navigation -->
|
||
<nav
|
||
class="md-nav md-nav--primary"
|
||
aria-label="Navigation"
|
||
data-md-level="0"
|
||
>
|
||
|
||
<!-- Repository information -->
|
||
|
||
|
||
<!-- Navigation list -->
|
||
<ul class="md-nav__list" data-md-scrollfix>
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../.." class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Home
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
|
||
<!-- Determine all nested items that are index pages -->
|
||
|
||
|
||
|
||
<!-- Navigation tabs -->
|
||
|
||
|
||
<!-- Render 1st level items with nested items as sections -->
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Navigation pruning -->
|
||
|
||
|
||
<!-- Nested navigation item -->
|
||
<li class="md-nav__item md-nav__item--active md-nav__item--section md-nav__item--nested">
|
||
|
||
|
||
|
||
<!-- Determine checked and indeterminate state -->
|
||
|
||
|
||
<!-- Active checkbox expands items contained within nested section -->
|
||
<input
|
||
class="md-nav__toggle md-toggle "
|
||
type="checkbox"
|
||
id="__nav_2"
|
||
checked
|
||
/>
|
||
|
||
<!-- Toggle to expand nested items -->
|
||
|
||
|
||
<label
|
||
class="md-nav__link"
|
||
for="__nav_2"
|
||
id="__nav_2_label"
|
||
tabindex=""
|
||
>
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Level 101
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
<span class="md-nav__icon md-icon"></span>
|
||
</label>
|
||
|
||
<!-- Toggle to expand nested items with link to index page -->
|
||
|
||
|
||
<!-- Nested navigation -->
|
||
<nav
|
||
class="md-nav"
|
||
data-md-level="1"
|
||
aria-labelledby="__nav_2_label"
|
||
aria-expanded="true"
|
||
>
|
||
<label class="md-nav__title" for="__nav_2">
|
||
<span class="md-nav__icon md-icon"></span>
|
||
Level 101
|
||
</label>
|
||
<ul class="md-nav__list" data-md-scrollfix>
|
||
|
||
<!-- Nested navigation item -->
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
|
||
<!-- Determine all nested items that are index pages -->
|
||
|
||
|
||
|
||
<!-- Navigation tabs -->
|
||
|
||
|
||
<!-- Render 1st level items with nested items as sections -->
|
||
|
||
|
||
|
||
<!-- Navigation pruning -->
|
||
|
||
|
||
<!-- Nested navigation item -->
|
||
<li class="md-nav__item md-nav__item--nested">
|
||
|
||
|
||
|
||
<!-- Determine checked and indeterminate state -->
|
||
|
||
|
||
<!-- Active checkbox expands items contained within nested section -->
|
||
<input
|
||
class="md-nav__toggle md-toggle "
|
||
type="checkbox"
|
||
id="__nav_2_1"
|
||
|
||
/>
|
||
|
||
<!-- Toggle to expand nested items -->
|
||
|
||
|
||
<label
|
||
class="md-nav__link"
|
||
for="__nav_2_1"
|
||
id="__nav_2_1_label"
|
||
tabindex="0"
|
||
>
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Fundamentals Series
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
<span class="md-nav__icon md-icon"></span>
|
||
</label>
|
||
|
||
<!-- Toggle to expand nested items with link to index page -->
|
||
|
||
|
||
<!-- Nested navigation -->
|
||
<nav
|
||
class="md-nav"
|
||
data-md-level="2"
|
||
aria-labelledby="__nav_2_1_label"
|
||
aria-expanded="false"
|
||
>
|
||
<label class="md-nav__title" for="__nav_2_1">
|
||
<span class="md-nav__icon md-icon"></span>
|
||
Fundamentals Series
|
||
</label>
|
||
<ul class="md-nav__list" data-md-scrollfix>
|
||
|
||
<!-- Nested navigation item -->
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
|
||
<!-- Determine all nested items that are index pages -->
|
||
|
||
|
||
|
||
<!-- Navigation tabs -->
|
||
|
||
|
||
<!-- Render 1st level items with nested items as sections -->
|
||
|
||
|
||
|
||
<!-- Navigation pruning -->
|
||
|
||
|
||
<!-- Nested navigation item -->
|
||
<li class="md-nav__item md-nav__item--nested">
|
||
|
||
|
||
|
||
<!-- Determine checked and indeterminate state -->
|
||
|
||
|
||
<!-- Active checkbox expands items contained within nested section -->
|
||
<input
|
||
class="md-nav__toggle md-toggle "
|
||
type="checkbox"
|
||
id="__nav_2_1_1"
|
||
|
||
/>
|
||
|
||
<!-- Toggle to expand nested items -->
|
||
|
||
|
||
<label
|
||
class="md-nav__link"
|
||
for="__nav_2_1_1"
|
||
id="__nav_2_1_1_label"
|
||
tabindex="0"
|
||
>
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Linux Basics
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
<span class="md-nav__icon md-icon"></span>
|
||
</label>
|
||
|
||
<!-- Toggle to expand nested items with link to index page -->
|
||
|
||
|
||
<!-- Nested navigation -->
|
||
<nav
|
||
class="md-nav"
|
||
data-md-level="3"
|
||
aria-labelledby="__nav_2_1_1_label"
|
||
aria-expanded="false"
|
||
>
|
||
<label class="md-nav__title" for="__nav_2_1_1">
|
||
<span class="md-nav__icon md-icon"></span>
|
||
Linux Basics
|
||
</label>
|
||
<ul class="md-nav__list" data-md-scrollfix>
|
||
|
||
<!-- Nested navigation item -->
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../linux_basics/intro/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Introduction
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../linux_basics/command_line_basics/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Command Line Basics
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../linux_basics/linux_server_administration/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Server Administration
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../linux_basics/conclusion/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Conclusion
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
</ul>
|
||
</nav>
|
||
|
||
<!-- Pruned navigation item -->
|
||
|
||
</li>
|
||
|
||
<!-- Currently active page -->
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
|
||
<!-- Determine all nested items that are index pages -->
|
||
|
||
|
||
|
||
<!-- Navigation tabs -->
|
||
|
||
|
||
<!-- Render 1st level items with nested items as sections -->
|
||
|
||
|
||
|
||
<!-- Navigation pruning -->
|
||
|
||
|
||
<!-- Nested navigation item -->
|
||
<li class="md-nav__item md-nav__item--nested">
|
||
|
||
|
||
|
||
<!-- Determine checked and indeterminate state -->
|
||
|
||
|
||
<!-- Active checkbox expands items contained within nested section -->
|
||
<input
|
||
class="md-nav__toggle md-toggle "
|
||
type="checkbox"
|
||
id="__nav_2_1_2"
|
||
|
||
/>
|
||
|
||
<!-- Toggle to expand nested items -->
|
||
|
||
|
||
<label
|
||
class="md-nav__link"
|
||
for="__nav_2_1_2"
|
||
id="__nav_2_1_2_label"
|
||
tabindex="0"
|
||
>
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Git
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
<span class="md-nav__icon md-icon"></span>
|
||
</label>
|
||
|
||
<!-- Toggle to expand nested items with link to index page -->
|
||
|
||
|
||
<!-- Nested navigation -->
|
||
<nav
|
||
class="md-nav"
|
||
data-md-level="3"
|
||
aria-labelledby="__nav_2_1_2_label"
|
||
aria-expanded="false"
|
||
>
|
||
<label class="md-nav__title" for="__nav_2_1_2">
|
||
<span class="md-nav__icon md-icon"></span>
|
||
Git
|
||
</label>
|
||
<ul class="md-nav__list" data-md-scrollfix>
|
||
|
||
<!-- Nested navigation item -->
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../git/git-basics/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Git Basics
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../git/branches/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Working With Branches
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../git/github-hooks/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Github and Hooks
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../git/conclusion/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Conclusion
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
</ul>
|
||
</nav>
|
||
|
||
<!-- Pruned navigation item -->
|
||
|
||
</li>
|
||
|
||
<!-- Currently active page -->
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
|
||
<!-- Determine all nested items that are index pages -->
|
||
|
||
|
||
|
||
<!-- Navigation tabs -->
|
||
|
||
|
||
<!-- Render 1st level items with nested items as sections -->
|
||
|
||
|
||
|
||
<!-- Navigation pruning -->
|
||
|
||
|
||
<!-- Nested navigation item -->
|
||
<li class="md-nav__item md-nav__item--nested">
|
||
|
||
|
||
|
||
<!-- Determine checked and indeterminate state -->
|
||
|
||
|
||
<!-- Active checkbox expands items contained within nested section -->
|
||
<input
|
||
class="md-nav__toggle md-toggle "
|
||
type="checkbox"
|
||
id="__nav_2_1_3"
|
||
|
||
/>
|
||
|
||
<!-- Toggle to expand nested items -->
|
||
|
||
|
||
<label
|
||
class="md-nav__link"
|
||
for="__nav_2_1_3"
|
||
id="__nav_2_1_3_label"
|
||
tabindex="0"
|
||
>
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Linux Networking
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
<span class="md-nav__icon md-icon"></span>
|
||
</label>
|
||
|
||
<!-- Toggle to expand nested items with link to index page -->
|
||
|
||
|
||
<!-- Nested navigation -->
|
||
<nav
|
||
class="md-nav"
|
||
data-md-level="3"
|
||
aria-labelledby="__nav_2_1_3_label"
|
||
aria-expanded="false"
|
||
>
|
||
<label class="md-nav__title" for="__nav_2_1_3">
|
||
<span class="md-nav__icon md-icon"></span>
|
||
Linux Networking
|
||
</label>
|
||
<ul class="md-nav__list" data-md-scrollfix>
|
||
|
||
<!-- Nested navigation item -->
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../linux_networking/intro/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Introduction
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../linux_networking/dns/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
DNS
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../linux_networking/udp/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
UDP
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../linux_networking/http/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
HTTP
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../linux_networking/tcp/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
TCP
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../linux_networking/ipr/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Routing
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../linux_networking/conclusion/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Conclusion
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
</ul>
|
||
</nav>
|
||
|
||
<!-- Pruned navigation item -->
|
||
|
||
</li>
|
||
|
||
<!-- Currently active page -->
|
||
|
||
|
||
|
||
|
||
</ul>
|
||
</nav>
|
||
|
||
<!-- Pruned navigation item -->
|
||
|
||
</li>
|
||
|
||
<!-- Currently active page -->
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
|
||
<!-- Determine all nested items that are index pages -->
|
||
|
||
|
||
|
||
<!-- Navigation tabs -->
|
||
|
||
|
||
<!-- Render 1st level items with nested items as sections -->
|
||
|
||
|
||
|
||
<!-- Navigation pruning -->
|
||
|
||
|
||
<!-- Nested navigation item -->
|
||
<li class="md-nav__item md-nav__item--nested">
|
||
|
||
|
||
|
||
<!-- Determine checked and indeterminate state -->
|
||
|
||
|
||
<!-- Active checkbox expands items contained within nested section -->
|
||
<input
|
||
class="md-nav__toggle md-toggle "
|
||
type="checkbox"
|
||
id="__nav_2_2"
|
||
|
||
/>
|
||
|
||
<!-- Toggle to expand nested items -->
|
||
|
||
|
||
<label
|
||
class="md-nav__link"
|
||
for="__nav_2_2"
|
||
id="__nav_2_2_label"
|
||
tabindex="0"
|
||
>
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Python and Web
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
<span class="md-nav__icon md-icon"></span>
|
||
</label>
|
||
|
||
<!-- Toggle to expand nested items with link to index page -->
|
||
|
||
|
||
<!-- Nested navigation -->
|
||
<nav
|
||
class="md-nav"
|
||
data-md-level="2"
|
||
aria-labelledby="__nav_2_2_label"
|
||
aria-expanded="false"
|
||
>
|
||
<label class="md-nav__title" for="__nav_2_2">
|
||
<span class="md-nav__icon md-icon"></span>
|
||
Python and Web
|
||
</label>
|
||
<ul class="md-nav__list" data-md-scrollfix>
|
||
|
||
<!-- Nested navigation item -->
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../python_web/intro/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Introduction
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../python_web/python-concepts/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Some Python Concepts
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../python_web/python-web-flask/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Python, Web and Flask
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../python_web/url-shorten-app/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
The URL Shortening App
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../python_web/sre-conclusion/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Conclusion
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
</ul>
|
||
</nav>
|
||
|
||
<!-- Pruned navigation item -->
|
||
|
||
</li>
|
||
|
||
<!-- Currently active page -->
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
|
||
<!-- Determine all nested items that are index pages -->
|
||
|
||
|
||
|
||
<!-- Navigation tabs -->
|
||
|
||
|
||
<!-- Render 1st level items with nested items as sections -->
|
||
|
||
|
||
|
||
<!-- Navigation pruning -->
|
||
|
||
|
||
<!-- Nested navigation item -->
|
||
<li class="md-nav__item md-nav__item--active md-nav__item--nested">
|
||
|
||
|
||
|
||
<!-- Determine checked and indeterminate state -->
|
||
|
||
|
||
<!-- Active checkbox expands items contained within nested section -->
|
||
<input
|
||
class="md-nav__toggle md-toggle "
|
||
type="checkbox"
|
||
id="__nav_2_3"
|
||
checked
|
||
/>
|
||
|
||
<!-- Toggle to expand nested items -->
|
||
|
||
|
||
<label
|
||
class="md-nav__link"
|
||
for="__nav_2_3"
|
||
id="__nav_2_3_label"
|
||
tabindex="0"
|
||
>
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Data
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
<span class="md-nav__icon md-icon"></span>
|
||
</label>
|
||
|
||
<!-- Toggle to expand nested items with link to index page -->
|
||
|
||
|
||
<!-- Nested navigation -->
|
||
<nav
|
||
class="md-nav"
|
||
data-md-level="2"
|
||
aria-labelledby="__nav_2_3_label"
|
||
aria-expanded="true"
|
||
>
|
||
<label class="md-nav__title" for="__nav_2_3">
|
||
<span class="md-nav__icon md-icon"></span>
|
||
Data
|
||
</label>
|
||
<ul class="md-nav__list" data-md-scrollfix>
|
||
|
||
<!-- Nested navigation item -->
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
|
||
<!-- Determine all nested items that are index pages -->
|
||
|
||
|
||
|
||
<!-- Navigation tabs -->
|
||
|
||
|
||
<!-- Render 1st level items with nested items as sections -->
|
||
|
||
|
||
|
||
<!-- Navigation pruning -->
|
||
|
||
|
||
<!-- Nested navigation item -->
|
||
<li class="md-nav__item md-nav__item--active md-nav__item--nested">
|
||
|
||
|
||
|
||
<!-- Determine checked and indeterminate state -->
|
||
|
||
|
||
<!-- Active checkbox expands items contained within nested section -->
|
||
<input
|
||
class="md-nav__toggle md-toggle "
|
||
type="checkbox"
|
||
id="__nav_2_3_1"
|
||
checked
|
||
/>
|
||
|
||
<!-- Toggle to expand nested items -->
|
||
|
||
|
||
<label
|
||
class="md-nav__link"
|
||
for="__nav_2_3_1"
|
||
id="__nav_2_3_1_label"
|
||
tabindex="0"
|
||
>
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Relational Databases
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
<span class="md-nav__icon md-icon"></span>
|
||
</label>
|
||
|
||
<!-- Toggle to expand nested items with link to index page -->
|
||
|
||
|
||
<!-- Nested navigation -->
|
||
<nav
|
||
class="md-nav"
|
||
data-md-level="3"
|
||
aria-labelledby="__nav_2_3_1_label"
|
||
aria-expanded="true"
|
||
>
|
||
<label class="md-nav__title" for="__nav_2_3_1">
|
||
<span class="md-nav__icon md-icon"></span>
|
||
Relational Databases
|
||
</label>
|
||
<ul class="md-nav__list" data-md-scrollfix>
|
||
|
||
<!-- Nested navigation item -->
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../intro/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Introduction
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../concepts/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Key Concepts
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../mysql/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
MySQL
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../innodb/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
InnoDB
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../backup_recovery/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Backup and Recovery
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item md-nav__item--active">
|
||
|
||
|
||
<!-- State toggle -->
|
||
<input
|
||
class="md-nav__toggle md-toggle"
|
||
type="checkbox"
|
||
id="__toc"
|
||
/>
|
||
|
||
<!-- Hack: see partials/toc.html for more information -->
|
||
|
||
|
||
|
||
<!-- Navigation link to table of contents -->
|
||
|
||
<label class="md-nav__link md-nav__link--active" for="__toc">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
MySQL Replication
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
<span class="md-nav__icon md-icon"></span>
|
||
</label>
|
||
|
||
<a
|
||
href="./"
|
||
class="md-nav__link md-nav__link--active"
|
||
>
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
MySQL Replication
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
|
||
<!-- Table of contents -->
|
||
|
||
|
||
|
||
<nav class="md-nav md-nav--secondary" aria-label="Table of contents">
|
||
|
||
|
||
|
||
|
||
<label class="md-nav__title" for="__toc">
|
||
<span class="md-nav__icon md-icon"></span>
|
||
Table of contents
|
||
</label>
|
||
<ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>
|
||
|
||
<li class="md-nav__item">
|
||
<a href="#mysql-replication" class="md-nav__link">
|
||
<span class="md-ellipsis">
|
||
MySQL Replication
|
||
</span>
|
||
</a>
|
||
|
||
<nav class="md-nav" aria-label="MySQL Replication">
|
||
<ul class="md-nav__list">
|
||
|
||
<li class="md-nav__item">
|
||
<a href="#setting-up-replication" class="md-nav__link">
|
||
<span class="md-ellipsis">
|
||
Setting up Replication
|
||
</span>
|
||
</a>
|
||
|
||
</li>
|
||
|
||
<li class="md-nav__item">
|
||
<a href="#further-reading" class="md-nav__link">
|
||
<span class="md-ellipsis">
|
||
Further Reading
|
||
</span>
|
||
</a>
|
||
|
||
</li>
|
||
|
||
</ul>
|
||
</nav>
|
||
|
||
</li>
|
||
|
||
</ul>
|
||
|
||
</nav>
|
||
|
||
</li>
|
||
|
||
<!-- Navigation item -->
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../operations/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Operational Concepts
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../select_query/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Select Query
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../query_performance/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Query Performance
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../lab/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Lab
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../conclusion/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Conclusion
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
</ul>
|
||
</nav>
|
||
|
||
<!-- Pruned navigation item -->
|
||
|
||
</li>
|
||
|
||
<!-- Currently active page -->
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
|
||
<!-- Determine all nested items that are index pages -->
|
||
|
||
|
||
|
||
<!-- Navigation tabs -->
|
||
|
||
|
||
<!-- Render 1st level items with nested items as sections -->
|
||
|
||
|
||
|
||
<!-- Navigation pruning -->
|
||
|
||
|
||
<!-- Nested navigation item -->
|
||
<li class="md-nav__item md-nav__item--nested">
|
||
|
||
|
||
|
||
<!-- Determine checked and indeterminate state -->
|
||
|
||
|
||
<!-- Active checkbox expands items contained within nested section -->
|
||
<input
|
||
class="md-nav__toggle md-toggle "
|
||
type="checkbox"
|
||
id="__nav_2_3_2"
|
||
|
||
/>
|
||
|
||
<!-- Toggle to expand nested items -->
|
||
|
||
|
||
<label
|
||
class="md-nav__link"
|
||
for="__nav_2_3_2"
|
||
id="__nav_2_3_2_label"
|
||
tabindex="0"
|
||
>
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
NoSQL
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
<span class="md-nav__icon md-icon"></span>
|
||
</label>
|
||
|
||
<!-- Toggle to expand nested items with link to index page -->
|
||
|
||
|
||
<!-- Nested navigation -->
|
||
<nav
|
||
class="md-nav"
|
||
data-md-level="3"
|
||
aria-labelledby="__nav_2_3_2_label"
|
||
aria-expanded="false"
|
||
>
|
||
<label class="md-nav__title" for="__nav_2_3_2">
|
||
<span class="md-nav__icon md-icon"></span>
|
||
NoSQL
|
||
</label>
|
||
<ul class="md-nav__list" data-md-scrollfix>
|
||
|
||
<!-- Nested navigation item -->
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../databases_nosql/intro/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Introduction
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../databases_nosql/key_concepts/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Key Concepts
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../databases_nosql/further_reading/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Conclusion
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
</ul>
|
||
</nav>
|
||
|
||
<!-- Pruned navigation item -->
|
||
|
||
</li>
|
||
|
||
<!-- Currently active page -->
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
|
||
<!-- Determine all nested items that are index pages -->
|
||
|
||
|
||
|
||
<!-- Navigation tabs -->
|
||
|
||
|
||
<!-- Render 1st level items with nested items as sections -->
|
||
|
||
|
||
|
||
<!-- Navigation pruning -->
|
||
|
||
|
||
<!-- Nested navigation item -->
|
||
<li class="md-nav__item md-nav__item--nested">
|
||
|
||
|
||
|
||
<!-- Determine checked and indeterminate state -->
|
||
|
||
|
||
<!-- Active checkbox expands items contained within nested section -->
|
||
<input
|
||
class="md-nav__toggle md-toggle "
|
||
type="checkbox"
|
||
id="__nav_2_3_3"
|
||
|
||
/>
|
||
|
||
<!-- Toggle to expand nested items -->
|
||
|
||
|
||
<label
|
||
class="md-nav__link"
|
||
for="__nav_2_3_3"
|
||
id="__nav_2_3_3_label"
|
||
tabindex="0"
|
||
>
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Message Queue
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
<span class="md-nav__icon md-icon"></span>
|
||
</label>
|
||
|
||
<!-- Toggle to expand nested items with link to index page -->
|
||
|
||
|
||
<!-- Nested navigation -->
|
||
<nav
|
||
class="md-nav"
|
||
data-md-level="3"
|
||
aria-labelledby="__nav_2_3_3_label"
|
||
aria-expanded="false"
|
||
>
|
||
<label class="md-nav__title" for="__nav_2_3_3">
|
||
<span class="md-nav__icon md-icon"></span>
|
||
Message Queue
|
||
</label>
|
||
<ul class="md-nav__list" data-md-scrollfix>
|
||
|
||
<!-- Nested navigation item -->
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../messagequeue/intro/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Introduction
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../messagequeue/key_concepts/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Key Concepts
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../messagequeue/further_reading/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Conclusion
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
</ul>
|
||
</nav>
|
||
|
||
<!-- Pruned navigation item -->
|
||
|
||
</li>
|
||
|
||
<!-- Currently active page -->
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
|
||
<!-- Determine all nested items that are index pages -->
|
||
|
||
|
||
|
||
<!-- Navigation tabs -->
|
||
|
||
|
||
<!-- Render 1st level items with nested items as sections -->
|
||
|
||
|
||
|
||
<!-- Navigation pruning -->
|
||
|
||
|
||
<!-- Nested navigation item -->
|
||
<li class="md-nav__item md-nav__item--nested">
|
||
|
||
|
||
|
||
<!-- Determine checked and indeterminate state -->
|
||
|
||
|
||
<!-- Active checkbox expands items contained within nested section -->
|
||
<input
|
||
class="md-nav__toggle md-toggle "
|
||
type="checkbox"
|
||
id="__nav_2_3_4"
|
||
|
||
/>
|
||
|
||
<!-- Toggle to expand nested items -->
|
||
|
||
|
||
<label
|
||
class="md-nav__link"
|
||
for="__nav_2_3_4"
|
||
id="__nav_2_3_4_label"
|
||
tabindex="0"
|
||
>
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Big Data
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
<span class="md-nav__icon md-icon"></span>
|
||
</label>
|
||
|
||
<!-- Toggle to expand nested items with link to index page -->
|
||
|
||
|
||
<!-- Nested navigation -->
|
||
<nav
|
||
class="md-nav"
|
||
data-md-level="3"
|
||
aria-labelledby="__nav_2_3_4_label"
|
||
aria-expanded="false"
|
||
>
|
||
<label class="md-nav__title" for="__nav_2_3_4">
|
||
<span class="md-nav__icon md-icon"></span>
|
||
Big Data
|
||
</label>
|
||
<ul class="md-nav__list" data-md-scrollfix>
|
||
|
||
<!-- Nested navigation item -->
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../big_data/intro/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Introduction
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../big_data/evolution/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Evolution and Architecture of Hadoop
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../big_data/tasks/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Conclusion
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
</ul>
|
||
</nav>
|
||
|
||
<!-- Pruned navigation item -->
|
||
|
||
</li>
|
||
|
||
<!-- Currently active page -->
|
||
|
||
|
||
|
||
|
||
</ul>
|
||
</nav>
|
||
|
||
<!-- Pruned navigation item -->
|
||
|
||
</li>
|
||
|
||
<!-- Currently active page -->
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
|
||
<!-- Determine all nested items that are index pages -->
|
||
|
||
|
||
|
||
<!-- Navigation tabs -->
|
||
|
||
|
||
<!-- Render 1st level items with nested items as sections -->
|
||
|
||
|
||
|
||
<!-- Navigation pruning -->
|
||
|
||
|
||
<!-- Nested navigation item -->
|
||
<li class="md-nav__item md-nav__item--nested">
|
||
|
||
|
||
|
||
<!-- Determine checked and indeterminate state -->
|
||
|
||
|
||
<!-- Active checkbox expands items contained within nested section -->
|
||
<input
|
||
class="md-nav__toggle md-toggle "
|
||
type="checkbox"
|
||
id="__nav_2_4"
|
||
|
||
/>
|
||
|
||
<!-- Toggle to expand nested items -->
|
||
|
||
|
||
<label
|
||
class="md-nav__link"
|
||
for="__nav_2_4"
|
||
id="__nav_2_4_label"
|
||
tabindex="0"
|
||
>
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Systems Design
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
<span class="md-nav__icon md-icon"></span>
|
||
</label>
|
||
|
||
<!-- Toggle to expand nested items with link to index page -->
|
||
|
||
|
||
<!-- Nested navigation -->
|
||
<nav
|
||
class="md-nav"
|
||
data-md-level="2"
|
||
aria-labelledby="__nav_2_4_label"
|
||
aria-expanded="false"
|
||
>
|
||
<label class="md-nav__title" for="__nav_2_4">
|
||
<span class="md-nav__icon md-icon"></span>
|
||
Systems Design
|
||
</label>
|
||
<ul class="md-nav__list" data-md-scrollfix>
|
||
|
||
<!-- Nested navigation item -->
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../systems_design/intro/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Introduction
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../systems_design/scalability/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Scalability
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../systems_design/availability/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Availability
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../systems_design/fault-tolerance/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Fault Tolerance
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../systems_design/conclusion/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Conclusion
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
</ul>
|
||
</nav>
|
||
|
||
<!-- Pruned navigation item -->
|
||
|
||
</li>
|
||
|
||
<!-- Currently active page -->
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
|
||
<!-- Determine all nested items that are index pages -->
|
||
|
||
|
||
|
||
<!-- Navigation tabs -->
|
||
|
||
|
||
<!-- Render 1st level items with nested items as sections -->
|
||
|
||
|
||
|
||
<!-- Navigation pruning -->
|
||
|
||
|
||
<!-- Nested navigation item -->
|
||
<li class="md-nav__item md-nav__item--nested">
|
||
|
||
|
||
|
||
<!-- Determine checked and indeterminate state -->
|
||
|
||
|
||
<!-- Active checkbox expands items contained within nested section -->
|
||
<input
|
||
class="md-nav__toggle md-toggle "
|
||
type="checkbox"
|
||
id="__nav_2_5"
|
||
|
||
/>
|
||
|
||
<!-- Toggle to expand nested items -->
|
||
|
||
|
||
<label
|
||
class="md-nav__link"
|
||
for="__nav_2_5"
|
||
id="__nav_2_5_label"
|
||
tabindex="0"
|
||
>
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Metrics and Monitoring
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
<span class="md-nav__icon md-icon"></span>
|
||
</label>
|
||
|
||
<!-- Toggle to expand nested items with link to index page -->
|
||
|
||
|
||
<!-- Nested navigation -->
|
||
<nav
|
||
class="md-nav"
|
||
data-md-level="2"
|
||
aria-labelledby="__nav_2_5_label"
|
||
aria-expanded="false"
|
||
>
|
||
<label class="md-nav__title" for="__nav_2_5">
|
||
<span class="md-nav__icon md-icon"></span>
|
||
Metrics and Monitoring
|
||
</label>
|
||
<ul class="md-nav__list" data-md-scrollfix>
|
||
|
||
<!-- Nested navigation item -->
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../metrics_and_monitoring/introduction/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Introduction
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../metrics_and_monitoring/command-line_tools/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Command-line Tools
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../metrics_and_monitoring/third-party_monitoring/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Third-party Monitoring
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../metrics_and_monitoring/alerts/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Proactive Monitoring with Alerts
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../metrics_and_monitoring/best_practices/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Best Practices for Monitoring
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../metrics_and_monitoring/observability/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Observability
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../metrics_and_monitoring/conclusion/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Conclusion
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
</ul>
|
||
</nav>
|
||
|
||
<!-- Pruned navigation item -->
|
||
|
||
</li>
|
||
|
||
<!-- Currently active page -->
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
|
||
<!-- Determine all nested items that are index pages -->
|
||
|
||
|
||
|
||
<!-- Navigation tabs -->
|
||
|
||
|
||
<!-- Render 1st level items with nested items as sections -->
|
||
|
||
|
||
|
||
<!-- Navigation pruning -->
|
||
|
||
|
||
<!-- Nested navigation item -->
|
||
<li class="md-nav__item md-nav__item--nested">
|
||
|
||
|
||
|
||
<!-- Determine checked and indeterminate state -->
|
||
|
||
|
||
<!-- Active checkbox expands items contained within nested section -->
|
||
<input
|
||
class="md-nav__toggle md-toggle "
|
||
type="checkbox"
|
||
id="__nav_2_6"
|
||
|
||
/>
|
||
|
||
<!-- Toggle to expand nested items -->
|
||
|
||
|
||
<label
|
||
class="md-nav__link"
|
||
for="__nav_2_6"
|
||
id="__nav_2_6_label"
|
||
tabindex="0"
|
||
>
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Security
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
<span class="md-nav__icon md-icon"></span>
|
||
</label>
|
||
|
||
<!-- Toggle to expand nested items with link to index page -->
|
||
|
||
|
||
<!-- Nested navigation -->
|
||
<nav
|
||
class="md-nav"
|
||
data-md-level="2"
|
||
aria-labelledby="__nav_2_6_label"
|
||
aria-expanded="false"
|
||
>
|
||
<label class="md-nav__title" for="__nav_2_6">
|
||
<span class="md-nav__icon md-icon"></span>
|
||
Security
|
||
</label>
|
||
<ul class="md-nav__list" data-md-scrollfix>
|
||
|
||
<!-- Nested navigation item -->
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../security/intro/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Introduction
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../security/fundamentals/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Fundamentals of Security
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../security/network_security/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Network Security
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../security/threats_attacks_defences/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Threat, Attacks & Defences
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../security/writing_secure_code/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Writing Secure code
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../security/conclusion/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Conclusion
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
</ul>
|
||
</nav>
|
||
|
||
<!-- Pruned navigation item -->
|
||
|
||
</li>
|
||
|
||
<!-- Currently active page -->
|
||
|
||
|
||
|
||
|
||
</ul>
|
||
</nav>
|
||
|
||
<!-- Pruned navigation item -->
|
||
|
||
</li>
|
||
|
||
<!-- Currently active page -->
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
|
||
<!-- Determine all nested items that are index pages -->
|
||
|
||
|
||
|
||
<!-- Navigation tabs -->
|
||
|
||
|
||
<!-- Render 1st level items with nested items as sections -->
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Navigation pruning -->
|
||
|
||
|
||
<!-- Nested navigation item -->
|
||
<li class="md-nav__item md-nav__item--section md-nav__item--nested">
|
||
|
||
|
||
|
||
<!-- Determine checked and indeterminate state -->
|
||
|
||
|
||
<!-- Active checkbox expands items contained within nested section -->
|
||
<input
|
||
class="md-nav__toggle md-toggle "
|
||
type="checkbox"
|
||
id="__nav_3"
|
||
|
||
/>
|
||
|
||
<!-- Toggle to expand nested items -->
|
||
|
||
|
||
<label
|
||
class="md-nav__link"
|
||
for="__nav_3"
|
||
id="__nav_3_label"
|
||
tabindex=""
|
||
>
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Level 102
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
<span class="md-nav__icon md-icon"></span>
|
||
</label>
|
||
|
||
<!-- Toggle to expand nested items with link to index page -->
|
||
|
||
|
||
<!-- Nested navigation -->
|
||
<nav
|
||
class="md-nav"
|
||
data-md-level="1"
|
||
aria-labelledby="__nav_3_label"
|
||
aria-expanded="false"
|
||
>
|
||
<label class="md-nav__title" for="__nav_3">
|
||
<span class="md-nav__icon md-icon"></span>
|
||
Level 102
|
||
</label>
|
||
<ul class="md-nav__list" data-md-scrollfix>
|
||
|
||
<!-- Nested navigation item -->
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
|
||
<!-- Determine all nested items that are index pages -->
|
||
|
||
|
||
|
||
<!-- Navigation tabs -->
|
||
|
||
|
||
<!-- Render 1st level items with nested items as sections -->
|
||
|
||
|
||
|
||
<!-- Navigation pruning -->
|
||
|
||
|
||
<!-- Nested navigation item -->
|
||
<li class="md-nav__item md-nav__item--nested">
|
||
|
||
|
||
|
||
<!-- Determine checked and indeterminate state -->
|
||
|
||
|
||
<!-- Active checkbox expands items contained within nested section -->
|
||
<input
|
||
class="md-nav__toggle md-toggle "
|
||
type="checkbox"
|
||
id="__nav_3_1"
|
||
|
||
/>
|
||
|
||
<!-- Toggle to expand nested items -->
|
||
|
||
|
||
<label
|
||
class="md-nav__link"
|
||
for="__nav_3_1"
|
||
id="__nav_3_1_label"
|
||
tabindex="0"
|
||
>
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Linux Intermediate
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
<span class="md-nav__icon md-icon"></span>
|
||
</label>
|
||
|
||
<!-- Toggle to expand nested items with link to index page -->
|
||
|
||
|
||
<!-- Nested navigation -->
|
||
<nav
|
||
class="md-nav"
|
||
data-md-level="2"
|
||
aria-labelledby="__nav_3_1_label"
|
||
aria-expanded="false"
|
||
>
|
||
<label class="md-nav__title" for="__nav_3_1">
|
||
<span class="md-nav__icon md-icon"></span>
|
||
Linux Intermediate
|
||
</label>
|
||
<ul class="md-nav__list" data-md-scrollfix>
|
||
|
||
<!-- Nested navigation item -->
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../../level102/linux_intermediate/introduction/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Introduction
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../../level102/linux_intermediate/package_management/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Package Management
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../../level102/linux_intermediate/storage_media/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Storage Media
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../../level102/linux_intermediate/archiving_backup/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Archiving and Backup
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../../level102/linux_intermediate/introvim/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Introduction to Vim
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../../level102/linux_intermediate/bashscripting/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Bash Scripting
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../../level102/linux_intermediate/conclusion/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Conclusion
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
</ul>
|
||
</nav>
|
||
|
||
<!-- Pruned navigation item -->
|
||
|
||
</li>
|
||
|
||
<!-- Currently active page -->
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
|
||
<!-- Determine all nested items that are index pages -->
|
||
|
||
|
||
|
||
<!-- Navigation tabs -->
|
||
|
||
|
||
<!-- Render 1st level items with nested items as sections -->
|
||
|
||
|
||
|
||
<!-- Navigation pruning -->
|
||
|
||
|
||
<!-- Nested navigation item -->
|
||
<li class="md-nav__item md-nav__item--nested">
|
||
|
||
|
||
|
||
<!-- Determine checked and indeterminate state -->
|
||
|
||
|
||
<!-- Active checkbox expands items contained within nested section -->
|
||
<input
|
||
class="md-nav__toggle md-toggle "
|
||
type="checkbox"
|
||
id="__nav_3_2"
|
||
|
||
/>
|
||
|
||
<!-- Toggle to expand nested items -->
|
||
|
||
|
||
<label
|
||
class="md-nav__link"
|
||
for="__nav_3_2"
|
||
id="__nav_3_2_label"
|
||
tabindex="0"
|
||
>
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Linux Advanced
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
<span class="md-nav__icon md-icon"></span>
|
||
</label>
|
||
|
||
<!-- Toggle to expand nested items with link to index page -->
|
||
|
||
|
||
<!-- Nested navigation -->
|
||
<nav
|
||
class="md-nav"
|
||
data-md-level="2"
|
||
aria-labelledby="__nav_3_2_label"
|
||
aria-expanded="false"
|
||
>
|
||
<label class="md-nav__title" for="__nav_3_2">
|
||
<span class="md-nav__icon md-icon"></span>
|
||
Linux Advanced
|
||
</label>
|
||
<ul class="md-nav__list" data-md-scrollfix>
|
||
|
||
<!-- Nested navigation item -->
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
|
||
<!-- Determine all nested items that are index pages -->
|
||
|
||
|
||
|
||
<!-- Navigation tabs -->
|
||
|
||
|
||
<!-- Render 1st level items with nested items as sections -->
|
||
|
||
|
||
|
||
<!-- Navigation pruning -->
|
||
|
||
|
||
<!-- Nested navigation item -->
|
||
<li class="md-nav__item md-nav__item--nested">
|
||
|
||
|
||
|
||
<!-- Determine checked and indeterminate state -->
|
||
|
||
|
||
<!-- Active checkbox expands items contained within nested section -->
|
||
<input
|
||
class="md-nav__toggle md-toggle "
|
||
type="checkbox"
|
||
id="__nav_3_2_1"
|
||
|
||
/>
|
||
|
||
<!-- Toggle to expand nested items -->
|
||
|
||
|
||
<label
|
||
class="md-nav__link"
|
||
for="__nav_3_2_1"
|
||
id="__nav_3_2_1_label"
|
||
tabindex="0"
|
||
>
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Containerization And Orchestration
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
<span class="md-nav__icon md-icon"></span>
|
||
</label>
|
||
|
||
<!-- Toggle to expand nested items with link to index page -->
|
||
|
||
|
||
<!-- Nested navigation -->
|
||
<nav
|
||
class="md-nav"
|
||
data-md-level="3"
|
||
aria-labelledby="__nav_3_2_1_label"
|
||
aria-expanded="false"
|
||
>
|
||
<label class="md-nav__title" for="__nav_3_2_1">
|
||
<span class="md-nav__icon md-icon"></span>
|
||
Containerization And Orchestration
|
||
</label>
|
||
<ul class="md-nav__list" data-md-scrollfix>
|
||
|
||
<!-- Nested navigation item -->
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../../level102/containerization_and_orchestration/intro/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Introduction
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../../level102/containerization_and_orchestration/intro_to_containers/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Introduction To Containers
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../../level102/containerization_and_orchestration/containerization_with_docker/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Containerization With Docker
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../../level102/containerization_and_orchestration/orchestration_with_kubernetes/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Orchestration With Kubernetes
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../../level102/containerization_and_orchestration/conclusion/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Conclusion
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
</ul>
|
||
</nav>
|
||
|
||
<!-- Pruned navigation item -->
|
||
|
||
</li>
|
||
|
||
<!-- Currently active page -->
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
|
||
<!-- Determine all nested items that are index pages -->
|
||
|
||
|
||
|
||
<!-- Navigation tabs -->
|
||
|
||
|
||
<!-- Render 1st level items with nested items as sections -->
|
||
|
||
|
||
|
||
<!-- Navigation pruning -->
|
||
|
||
|
||
<!-- Nested navigation item -->
|
||
<li class="md-nav__item md-nav__item--nested">
|
||
|
||
|
||
|
||
<!-- Determine checked and indeterminate state -->
|
||
|
||
|
||
<!-- Active checkbox expands items contained within nested section -->
|
||
<input
|
||
class="md-nav__toggle md-toggle "
|
||
type="checkbox"
|
||
id="__nav_3_2_2"
|
||
|
||
/>
|
||
|
||
<!-- Toggle to expand nested items -->
|
||
|
||
|
||
<label
|
||
class="md-nav__link"
|
||
for="__nav_3_2_2"
|
||
id="__nav_3_2_2_label"
|
||
tabindex="0"
|
||
>
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
System Calls and Signals
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
<span class="md-nav__icon md-icon"></span>
|
||
</label>
|
||
|
||
<!-- Toggle to expand nested items with link to index page -->
|
||
|
||
|
||
<!-- Nested navigation -->
|
||
<nav
|
||
class="md-nav"
|
||
data-md-level="3"
|
||
aria-labelledby="__nav_3_2_2_label"
|
||
aria-expanded="false"
|
||
>
|
||
<label class="md-nav__title" for="__nav_3_2_2">
|
||
<span class="md-nav__icon md-icon"></span>
|
||
System Calls and Signals
|
||
</label>
|
||
<ul class="md-nav__list" data-md-scrollfix>
|
||
|
||
<!-- Nested navigation item -->
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../../level102/system_calls_and_signals/intro/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Introduction
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../../level102/system_calls_and_signals/signals/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Signals
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../../level102/system_calls_and_signals/system_calls/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
System Calls
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../../level102/system_calls_and_signals/conclusion/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Conclusion
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
</ul>
|
||
</nav>
|
||
|
||
<!-- Pruned navigation item -->
|
||
|
||
</li>
|
||
|
||
<!-- Currently active page -->
|
||
|
||
|
||
|
||
|
||
</ul>
|
||
</nav>
|
||
|
||
<!-- Pruned navigation item -->
|
||
|
||
</li>
|
||
|
||
<!-- Currently active page -->
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
|
||
<!-- Determine all nested items that are index pages -->
|
||
|
||
|
||
|
||
<!-- Navigation tabs -->
|
||
|
||
|
||
<!-- Render 1st level items with nested items as sections -->
|
||
|
||
|
||
|
||
<!-- Navigation pruning -->
|
||
|
||
|
||
<!-- Nested navigation item -->
|
||
<li class="md-nav__item md-nav__item--nested">
|
||
|
||
|
||
|
||
<!-- Determine checked and indeterminate state -->
|
||
|
||
|
||
<!-- Active checkbox expands items contained within nested section -->
|
||
<input
|
||
class="md-nav__toggle md-toggle "
|
||
type="checkbox"
|
||
id="__nav_3_3"
|
||
|
||
/>
|
||
|
||
<!-- Toggle to expand nested items -->
|
||
|
||
|
||
<label
|
||
class="md-nav__link"
|
||
for="__nav_3_3"
|
||
id="__nav_3_3_label"
|
||
tabindex="0"
|
||
>
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Networking
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
<span class="md-nav__icon md-icon"></span>
|
||
</label>
|
||
|
||
<!-- Toggle to expand nested items with link to index page -->
|
||
|
||
|
||
<!-- Nested navigation -->
|
||
<nav
|
||
class="md-nav"
|
||
data-md-level="2"
|
||
aria-labelledby="__nav_3_3_label"
|
||
aria-expanded="false"
|
||
>
|
||
<label class="md-nav__title" for="__nav_3_3">
|
||
<span class="md-nav__icon md-icon"></span>
|
||
Networking
|
||
</label>
|
||
<ul class="md-nav__list" data-md-scrollfix>
|
||
|
||
<!-- Nested navigation item -->
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../../level102/networking/introduction/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Introduction
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../../level102/networking/security/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Security
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../../level102/networking/scale/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Scale
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../../level102/networking/rtt/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
RTT
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../../level102/networking/infrastructure-features/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Infrastructure Services
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../../level102/networking/conclusion/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Conclusion
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
</ul>
|
||
</nav>
|
||
|
||
<!-- Pruned navigation item -->
|
||
|
||
</li>
|
||
|
||
<!-- Currently active page -->
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
|
||
<!-- Determine all nested items that are index pages -->
|
||
|
||
|
||
|
||
<!-- Navigation tabs -->
|
||
|
||
|
||
<!-- Render 1st level items with nested items as sections -->
|
||
|
||
|
||
|
||
<!-- Navigation pruning -->
|
||
|
||
|
||
<!-- Nested navigation item -->
|
||
<li class="md-nav__item md-nav__item--nested">
|
||
|
||
|
||
|
||
<!-- Determine checked and indeterminate state -->
|
||
|
||
|
||
<!-- Active checkbox expands items contained within nested section -->
|
||
<input
|
||
class="md-nav__toggle md-toggle "
|
||
type="checkbox"
|
||
id="__nav_3_4"
|
||
|
||
/>
|
||
|
||
<!-- Toggle to expand nested items -->
|
||
|
||
|
||
<label
|
||
class="md-nav__link"
|
||
for="__nav_3_4"
|
||
id="__nav_3_4_label"
|
||
tabindex="0"
|
||
>
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
System Design
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
<span class="md-nav__icon md-icon"></span>
|
||
</label>
|
||
|
||
<!-- Toggle to expand nested items with link to index page -->
|
||
|
||
|
||
<!-- Nested navigation -->
|
||
<nav
|
||
class="md-nav"
|
||
data-md-level="2"
|
||
aria-labelledby="__nav_3_4_label"
|
||
aria-expanded="false"
|
||
>
|
||
<label class="md-nav__title" for="__nav_3_4">
|
||
<span class="md-nav__icon md-icon"></span>
|
||
System Design
|
||
</label>
|
||
<ul class="md-nav__list" data-md-scrollfix>
|
||
|
||
<!-- Nested navigation item -->
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../../level102/system_design/intro/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Introduction
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../../level102/system_design/large-system-design/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Large System Design
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../../level102/system_design/scaling/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Scaling
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../../level102/system_design/scaling-beyond-the-datacenter/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Scaling Beyond the Data Center
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../../level102/system_design/resiliency/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Resiliency
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../../level102/system_design/conclusion/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Conclusion
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
</ul>
|
||
</nav>
|
||
|
||
<!-- Pruned navigation item -->
|
||
|
||
</li>
|
||
|
||
<!-- Currently active page -->
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
|
||
<!-- Determine all nested items that are index pages -->
|
||
|
||
|
||
|
||
<!-- Navigation tabs -->
|
||
|
||
|
||
<!-- Render 1st level items with nested items as sections -->
|
||
|
||
|
||
|
||
<!-- Navigation pruning -->
|
||
|
||
|
||
<!-- Nested navigation item -->
|
||
<li class="md-nav__item md-nav__item--nested">
|
||
|
||
|
||
|
||
<!-- Determine checked and indeterminate state -->
|
||
|
||
|
||
<!-- Active checkbox expands items contained within nested section -->
|
||
<input
|
||
class="md-nav__toggle md-toggle "
|
||
type="checkbox"
|
||
id="__nav_3_5"
|
||
|
||
/>
|
||
|
||
<!-- Toggle to expand nested items -->
|
||
|
||
|
||
<label
|
||
class="md-nav__link"
|
||
for="__nav_3_5"
|
||
id="__nav_3_5_label"
|
||
tabindex="0"
|
||
>
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
System Troubleshooting and Performance Improvements
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
<span class="md-nav__icon md-icon"></span>
|
||
</label>
|
||
|
||
<!-- Toggle to expand nested items with link to index page -->
|
||
|
||
|
||
<!-- Nested navigation -->
|
||
<nav
|
||
class="md-nav"
|
||
data-md-level="2"
|
||
aria-labelledby="__nav_3_5_label"
|
||
aria-expanded="false"
|
||
>
|
||
<label class="md-nav__title" for="__nav_3_5">
|
||
<span class="md-nav__icon md-icon"></span>
|
||
System Troubleshooting and Performance Improvements
|
||
</label>
|
||
<ul class="md-nav__list" data-md-scrollfix>
|
||
|
||
<!-- Nested navigation item -->
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../../level102/system_troubleshooting_and_performance/introduction/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Introduction
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../../level102/system_troubleshooting_and_performance/troubleshooting/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Troubleshooting
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../../level102/system_troubleshooting_and_performance/important-tools/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Important Tools
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../../level102/system_troubleshooting_and_performance/performance-improvements/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Performance Improvements
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../../level102/system_troubleshooting_and_performance/troubleshooting-example/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Troubleshooting Example
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../../level102/system_troubleshooting_and_performance/conclusion/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Conclusion
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
</ul>
|
||
</nav>
|
||
|
||
<!-- Pruned navigation item -->
|
||
|
||
</li>
|
||
|
||
<!-- Currently active page -->
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
|
||
<!-- Determine all nested items that are index pages -->
|
||
|
||
|
||
|
||
<!-- Navigation tabs -->
|
||
|
||
|
||
<!-- Render 1st level items with nested items as sections -->
|
||
|
||
|
||
|
||
<!-- Navigation pruning -->
|
||
|
||
|
||
<!-- Nested navigation item -->
|
||
<li class="md-nav__item md-nav__item--nested">
|
||
|
||
|
||
|
||
<!-- Determine checked and indeterminate state -->
|
||
|
||
|
||
<!-- Active checkbox expands items contained within nested section -->
|
||
<input
|
||
class="md-nav__toggle md-toggle "
|
||
type="checkbox"
|
||
id="__nav_3_6"
|
||
|
||
/>
|
||
|
||
<!-- Toggle to expand nested items -->
|
||
|
||
|
||
<label
|
||
class="md-nav__link"
|
||
for="__nav_3_6"
|
||
id="__nav_3_6_label"
|
||
tabindex="0"
|
||
>
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Continuous Integration and Continuous Delivery
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
<span class="md-nav__icon md-icon"></span>
|
||
</label>
|
||
|
||
<!-- Toggle to expand nested items with link to index page -->
|
||
|
||
|
||
<!-- Nested navigation -->
|
||
<nav
|
||
class="md-nav"
|
||
data-md-level="2"
|
||
aria-labelledby="__nav_3_6_label"
|
||
aria-expanded="false"
|
||
>
|
||
<label class="md-nav__title" for="__nav_3_6">
|
||
<span class="md-nav__icon md-icon"></span>
|
||
Continuous Integration and Continuous Delivery
|
||
</label>
|
||
<ul class="md-nav__list" data-md-scrollfix>
|
||
|
||
<!-- Nested navigation item -->
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../../level102/continuous_integration_and_continuous_delivery/introduction/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Introduction
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../../level102/continuous_integration_and_continuous_delivery/introduction_to_cicd/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
What is CI/CD?
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../../level102/continuous_integration_and_continuous_delivery/cicd_brief_history/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Brief History
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../../level102/continuous_integration_and_continuous_delivery/continuous_integration_build_pipeline/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Continuous Integration
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../../level102/continuous_integration_and_continuous_delivery/continuous_delivery_release_pipeline/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Continuous Delivery and Deployment
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../../level102/continuous_integration_and_continuous_delivery/jenkins_cicd_pipeline_hands_on_lab/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
CI/CD Pipeline - Hands-on
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../../level102/continuous_integration_and_continuous_delivery/conclusion/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Conclusion
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
</ul>
|
||
</nav>
|
||
|
||
<!-- Pruned navigation item -->
|
||
|
||
</li>
|
||
|
||
<!-- Currently active page -->
|
||
|
||
|
||
|
||
|
||
</ul>
|
||
</nav>
|
||
|
||
<!-- Pruned navigation item -->
|
||
|
||
</li>
|
||
|
||
<!-- Currently active page -->
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../../CONTRIBUTING/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Contribute
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../../CODE_OF_CONDUCT/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
Code of Conduct
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Determine classes -->
|
||
|
||
|
||
|
||
<!-- Determine active page for paginated views -->
|
||
|
||
|
||
<!-- Navigation item with nested items -->
|
||
|
||
<li class="md-nav__item">
|
||
<a href="../../../sre_community/" class="md-nav__link">
|
||
|
||
|
||
<!-- Navigation link icon -->
|
||
|
||
|
||
<!-- Navigation link title -->
|
||
<span class="md-ellipsis">
|
||
SRE Community
|
||
</span>
|
||
|
||
<!-- Navigation link status -->
|
||
|
||
|
||
</a>
|
||
</li>
|
||
|
||
|
||
|
||
</ul>
|
||
</nav>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
|
||
|
||
<div class="md-sidebar md-sidebar--secondary" data-md-component="sidebar" data-md-type="toc" >
|
||
<div class="md-sidebar__scrollwrap">
|
||
<div class="md-sidebar__inner">
|
||
|
||
|
||
<nav class="md-nav md-nav--secondary" aria-label="Table of contents">
|
||
|
||
|
||
|
||
|
||
<label class="md-nav__title" for="__toc">
|
||
<span class="md-nav__icon md-icon"></span>
|
||
Table of contents
|
||
</label>
|
||
<ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>
|
||
|
||
<li class="md-nav__item">
|
||
<a href="#mysql-replication" class="md-nav__link">
|
||
<span class="md-ellipsis">
|
||
MySQL Replication
|
||
</span>
|
||
</a>
|
||
|
||
<nav class="md-nav" aria-label="MySQL Replication">
|
||
<ul class="md-nav__list">
|
||
|
||
<li class="md-nav__item">
|
||
<a href="#setting-up-replication" class="md-nav__link">
|
||
<span class="md-ellipsis">
|
||
Setting up Replication
|
||
</span>
|
||
</a>
|
||
|
||
</li>
|
||
|
||
<li class="md-nav__item">
|
||
<a href="#further-reading" class="md-nav__link">
|
||
<span class="md-ellipsis">
|
||
Further Reading
|
||
</span>
|
||
</a>
|
||
|
||
</li>
|
||
|
||
</ul>
|
||
</nav>
|
||
|
||
</li>
|
||
|
||
</ul>
|
||
|
||
</nav>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
|
||
|
||
<div class="md-content" data-md-component="content">
|
||
<article class="md-content__inner md-typeset">
|
||
|
||
|
||
|
||
|
||
<h1>MySQL Replication</h1>
|
||
|
||
<h3 id="mysql-replication">MySQL Replication</h3>
|
||
<p>Replication enables data from one MySQL host (termed as Primary) to be copied to another MySQL host (termed as Replica). MySQL Replication is asynchronous in nature by default, but it can be changed to semi-synchronous with some configurations.</p>
|
||
<p>Some common applications of MySQL replication are:</p>
|
||
<ul>
|
||
<li><strong>Read-scaling</strong> - as multiple hosts can replicate the data from a single primary host, we can set up as many replicas as we need and scale reads through them, i.e. application writes will go to a single primary host and the reads can balance between all the replicas that are there. Such a setup can improve the write performance as well, as the primary is dedicated to only updates and not reads.</li>
|
||
<li><strong>Backups using replicas</strong> - the backup process can sometimes be a little heavy. But if we have replicas configured, then we can use one of them to get the backup without affecting the primary data at all.</li>
|
||
<li><strong>Disaster Recovery</strong> - a replica in some other geographical region paves a proper path to configure disaster recovery.</li>
|
||
</ul>
|
||
<p>MySQL supports different types of synchronizations as well:</p>
|
||
<ul>
|
||
<li><strong>Asynchronous</strong> - this is the default synchronization method. It is one-way, i.e. one host serves as primary and one or more hosts as replica. We will discuss this method throughout the replication topic.</li>
|
||
</ul>
|
||
<p><img alt="replication topologies" src="../images/replication_topologies.png" title="Different Replication Scenarios" /></p>
|
||
<ul>
|
||
<li><strong>Semi-Synchronous</strong> - in this type of synchronization, a commit performed on the primary host is blocked until at least one replica acknowledges it. Post the acknowledgement from any one replica, the control is returned to the session that performed the transaction. This ensures strong consistency but the replication is slower than asynchronous.</li>
|
||
<li><strong>Delayed</strong> - we can deliberately lag the replica in a typical MySQL replication by the number of seconds desired by the use case. This type of replication safeguards from severe human errors of dropping or corrupting the data on the primary, for example, in the above diagram for Delayed Replication, if a <code>DROP DATABASE</code> is executed by mistake on the primary, we still have 30 minutes to recover the data from R2 as that command has not been replicated on R2 yet.</li>
|
||
</ul>
|
||
<p><strong>Pre-Requisites</strong></p>
|
||
<p>Before we dive into setting up replication, we should know about the binary logs. Binary logs play a very important role in MySQL replication. Binary logs, or commonly known as <em>binlogs</em> contain events about the changes done to the database, like table structure changes, data changes via DML operations, etc. They are not used to log <code>SELECT</code> statements. For replication, the primary sends the information to the replicas using its <code>binlogs</code> about the changes done to the database, and the replicas make the same data changes. </p>
|
||
<p>With respect to MySQL replication, the binary log format can be of two types that decides the main type of replication:</p>
|
||
<ul>
|
||
<li>Statement-Based Replication or SBR</li>
|
||
<li>Row-Based Replication or RBR</li>
|
||
</ul>
|
||
<p><strong>Statement-Based Binlog Format</strong></p>
|
||
<p>Originally, the replication in MySQL was based on SQL statements getting replicated and executed on the replica from the primary. This is called statement-based logging. The <code>binlog</code> contains the exact SQL statement run by the session. </p>
|
||
<p><img alt="SBR update example" src="../images/sbr_example_update_1.png" title="SBR update example" /></p>
|
||
<p>So, if we run the above statements to insert 3 records and the update 3 in a single update statement, they will be logged exactly the same as when we executed them.</p>
|
||
<p><img alt="SBR binlog" src="../images/sbr_binlog_view_1.png" title="SBR binlog" /></p>
|
||
<p><strong>Row-Based Binlog Format</strong></p>
|
||
<p>The row-based is the default one in the latest MySQL releases. This is a lot different from the Statement format as here, row events are logged instead of statements. By that we mean, in the above example one update statement affected 3 records, but <code>binlog</code> had only one <code>UPDATE</code> statement; if it is a row-based format, <code>binlog</code> will have an event for each record updated.</p>
|
||
<p><img alt="RBR update example" src="../images/rbr_example_update_1.png" title="RBR update example" /></p>
|
||
<p><img alt="RBR binlog" src="../images/rbr_binlog_view_1.png" title="RBR binlog" /></p>
|
||
<p><strong>Statement-Based v/s Row-Based binlogs</strong></p>
|
||
<p>Let’s have a look at the operational differences between statement-based and row-based binlogs. </p>
|
||
<table>
|
||
<thead>
|
||
<tr>
|
||
<th>Statement-Based</th>
|
||
<th>Row-Based</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody>
|
||
<tr>
|
||
<td>Logs SQL statements as executed</td>
|
||
<td>Logs row events based on SQL statements executed</td>
|
||
</tr>
|
||
<tr>
|
||
<td>Takes lesser disk space</td>
|
||
<td>Takes more disk space</td>
|
||
</tr>
|
||
<tr>
|
||
<td>Restoring using binlogs is faster</td>
|
||
<td>Restoring using binlogs is slower</td>
|
||
</tr>
|
||
<tr>
|
||
<td>When used for replication, if any statement has a predefined function that has its own value, like <code>sysdate()</code>, <code>uuid()</code> etc, the output could be different on the replica which makes it inconsistent.</td>
|
||
<td>Whatever is executed becomes a row event with values, so there will be no problem if such functions are used in SQL statements.</td>
|
||
</tr>
|
||
<tr>
|
||
<td>Only statements are logged so no other row events are generated.</td>
|
||
<td>A lot of events are generated when a table is copied into another using <code>INSERT INTO SELECT</code>.</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
<p><strong>Note</strong>: There is another type of <code>binlog</code> format called <strong>Mixed</strong>. With mixed logging, statement-based is used by default but it switches to row-based in certain cases. If MySQL cannot guarantee that statement-based logging is safe for the statements executed, it issues a warning and switches to row-based for those statements.</p>
|
||
<p>We will be using binary log format as Row for the entire replication topic.</p>
|
||
<p><strong>Replication in Motion</strong></p>
|
||
<p><img alt="replication in motion" src="../images/replication_function.png" title="Replication in motion" /></p>
|
||
<p>The above figure indicates how a typical MySQL replication works.</p>
|
||
<ol>
|
||
<li><code>Replica_IO_Thread</code> is responsible to fetch the binlog events from the primary binary logs to the replica.</li>
|
||
<li>On the Replica host, relay logs are created which are exact copies of the binary logs. If the binary logs on primary are in row format, the relay logs will be the same.</li>
|
||
<li><code>Replica_SQL_Thread</code> applies the relay logs on the replica MySQL server.</li>
|
||
<li>If <code>log-bin</code> is enabled on the replica, then the replica will have its own binary logs as well. If <code>log-slave-updates</code> is enabled, then it will have the updates from the primary logged in the binlogs as well.</li>
|
||
</ol>
|
||
<h4 id="setting-up-replication">Setting up Replication</h4>
|
||
<p>In this section, we will set up a simple asynchronous replication. The binlogs will be in row-based format. The replication will be set up on two fresh hosts with no prior data present. There are two different ways in which we can set up replication. </p>
|
||
<ul>
|
||
<li><strong>Binlog based</strong> - Each replica keeps a record of the binlog coordinates on the primary - current binlog and position in the binlog till where it has read and processed. So, at a time different replicas might be reading different parts of the same binlog.</li>
|
||
<li><strong>GTID based</strong> - Every transaction gets an identifier called global transaction identifier or GTID. There is no need to keep the record of binlog coordinates, as long as the replica has all the GTIDs executed on the primary, it is consistent with the primary. A typical GTID is the <code>server_uuid:#</code> positive integer.</li>
|
||
</ul>
|
||
<p>We will set up a GTID-based replication in the following section but will also discuss binlog-based replication setup as well.</p>
|
||
<p><strong>Primary Host Configurations</strong></p>
|
||
<p>The following config parameters should be present in the primary <code>my.cnf</code> file for setting up GTID-based replication.</p>
|
||
<pre><code>server-id - a unique ID for the mysql server
|
||
log-bin - the binlog location
|
||
binlog-format - ROW | STATEMENT (we will use ROW)
|
||
gtid-mode - ON
|
||
enforce-gtid-consistency - ON (allows execution of only those statements which can be logged using GTIDs)
|
||
</code></pre>
|
||
<p><strong>Replica Host Configurations</strong></p>
|
||
<p>The following config parameters should be present in the replica <code>my.cnf</code> file for setting up replication.</p>
|
||
<pre><code>server-id - different than the primary host
|
||
log-bin - (optional, if you want replica to log its own changes as well)
|
||
binlog-format - depends on the above
|
||
gtid-mode - ON
|
||
enforce-gtid-consistency - ON
|
||
log-slave-updates - ON (if binlog is enabled, then we can enable this. This enables the replica to log the changes coming from the primary along with its own changes. Helps in setting up chain replication)
|
||
</code></pre>
|
||
<p><strong>Replication User</strong></p>
|
||
<p>Every replica connects to the primary using a <code>mysql</code> user for replicating. So there must be a <code>mysql</code> user account for the same on the primary host. Any user can be used for this purpose provided it has <code>REPLICATION SLAVE</code> privilege. If the sole purpose is replication, then we can have a user with only the required privilege.</p>
|
||
<p>On the primary host:</p>
|
||
<pre><code class="language-shell">mysql> CREATE USER repl_user@<replica_IP> IDENTIFIED BY 'xxxxx';
|
||
|
||
mysql> GRANT REPLICATION SLAVE ON *.* TO repl_user@'<replica_IP>';
|
||
</code></pre>
|
||
<p><strong>Obtaining Starting position from Primary</strong></p>
|
||
<p>Run the following command on the primary host:</p>
|
||
<pre><code class="language-shell">mysql> SHOW MASTER STATUS\G
|
||
*************************** 1. row ***************************
|
||
File: mysql-bin.000001
|
||
Position: 73
|
||
Binlog_Do_DB:
|
||
Binlog_Ignore_DB:
|
||
Executed_Gtid_Set: e17d0920-d00e-11eb-a3e6-000d3aa00f87:1-3
|
||
1 row in set (0.00 sec)
|
||
</code></pre>
|
||
<p>If we are working with binary log-based replication, the top two output lines are the most important ones. That tells the current binlog on the primary host and till what position it has written. For fresh hosts we know that no data is written, so we can directly set up replication using the very first <code>binlog</code> file and position 4. If we are setting up a replication from a backup, then that changes the way we obtain the starting position. For GTIDs, the <code>executed_gtid_set</code> is the value where primary is right now. Again, for a fresh setup, we don’t have to specify anything about the starting point and it will start from the transaction id 1, but when we set up from a backup, the backup will contain the GTID positions till where backup has been taken.</p>
|
||
<p><strong>Setting up Replica</strong></p>
|
||
<p>The replication setup must know about the primary host, the user and password to connect, the binlog coordinates (for binlog-based replication) or the GTID auto-position parameter.
|
||
The following command is used for setting up:</p>
|
||
<pre><code class="language-SQL">CHANGE MASTER TO
|
||
master_host = '<primary host IP>',
|
||
master_port = <primary host port - default=3306>,
|
||
master_user = 'repl_user',
|
||
master_password = 'xxxxx',
|
||
master_auto_position = 1;
|
||
</code></pre>
|
||
<p><strong>Note</strong>: The <code>CHANGE MASTER TO</code> command has been replaced with <code>CHANGE REPLICATION SOURCE TO</code> from Mysql 8.0.23 onwards, also all the <em>master</em> and <em>slave</em> keywords are replaced with <em>source</em> and <em>replica</em>.</p>
|
||
<p>If it is binlog-based replication, then instead of <code>master_auto_position</code>, we need to specify the binlog coordinates.</p>
|
||
<pre><code>master_log_file = 'mysql-bin.000001',
|
||
master_log_pos = 4
|
||
</code></pre>
|
||
<p><strong>Starting Replication and Check Status</strong></p>
|
||
<p>Now that everything is configured, we just need to start the replication on the replica via the following command</p>
|
||
<pre><code class="language-SQL">START SLAVE;
|
||
</code></pre>
|
||
<p>OR from MySQL 8.0.23 onwards,</p>
|
||
<pre><code class="language-SQL">START REPLICA;
|
||
</code></pre>
|
||
<p>Whether or not the replication is running successfully, we can determine by running the following command:</p>
|
||
<pre><code class="language-SQL">SHOW SLAVE STATUS\G
|
||
</code></pre>
|
||
<p>OR from MySQL 8.0.23 onwards,</p>
|
||
<pre><code class="language-SQL">SHOW REPLICA STATUS\G
|
||
</code></pre>
|
||
<pre><code class="language-shell">mysql> SHOW REPLICA STATUS\G
|
||
*************************** 1. row ***************************
|
||
Replica_IO_State: Waiting for master to send event
|
||
Source_Host: <primary IP>
|
||
Source_User: repl_user
|
||
Source_Port: <primary port>
|
||
Connect_Retry: 60
|
||
Source_Log_File: mysql-bin.000001
|
||
Read_Source_Log_Pos: 852
|
||
Relay_Log_File: mysql-relay-bin.000002
|
||
Relay_Log_Pos: 1067
|
||
Relay_Source_Log_File: mysql-bin.000001
|
||
Replica_IO_Running: Yes
|
||
Replica_SQL_Running: Yes
|
||
Replicate_Do_DB:
|
||
Replicate_Ignore_DB:
|
||
Replicate_Do_Table:
|
||
Replicate_Ignore_Table:
|
||
Replicate_Wild_Do_Table:
|
||
Replicate_Wild_Ignore_Table:
|
||
Last_Errno: 0
|
||
Last_Error:
|
||
Skip_Counter: 0
|
||
Exec_Source_Log_Pos: 852
|
||
Relay_Log_Space: 1283
|
||
Until_Condition: None
|
||
Until_Log_File:
|
||
Until_Log_Pos: 0
|
||
Source_SSL_Allowed: No
|
||
Source_SSL_CA_File:
|
||
Source_SSL_CA_Path:
|
||
Source_SSL_Cert:
|
||
Source_SSL_Cipher:
|
||
Source_SSL_Key:
|
||
Seconds_Behind_Source: 0
|
||
Source_SSL_Verify_Server_Cert: No
|
||
Last_IO_Errno: 0
|
||
Last_IO_Error:
|
||
Last_SQL_Errno: 0
|
||
Last_SQL_Error:
|
||
Replicate_Ignore_Server_Ids:
|
||
Source_Server_Id: 1
|
||
Source_UUID: e17d0920-d00e-11eb-a3e6-000d3aa00f87
|
||
Source_Info_File: mysql.slave_master_info
|
||
SQL_Delay: 0
|
||
SQL_Remaining_Delay: NULL
|
||
Replica_SQL_Running_State: Slave has read all relay log; waiting for more updates
|
||
Source_Retry_Count: 86400
|
||
Source_Bind:
|
||
Last_IO_Error_Timestamp:
|
||
Last_SQL_Error_Timestamp:
|
||
Source_SSL_Crl:
|
||
Source_SSL_Crlpath:
|
||
Retrieved_Gtid_Set: e17d0920-d00e-11eb-a3e6-000d3aa00f87:1-3
|
||
Executed_Gtid_Set: e17d0920-d00e-11eb-a3e6-000d3aa00f87:1-3
|
||
Auto_Position: 1
|
||
Replicate_Rewrite_DB:
|
||
Channel_Name:
|
||
Source_TLS_Version:
|
||
Source_public_key_path:
|
||
Get_Source_public_key: 0
|
||
Network_Namespace:
|
||
1 row in set (0.00 sec)
|
||
</code></pre>
|
||
<p>Some of the parameters are explained below:</p>
|
||
<table>
|
||
<thead>
|
||
<tr>
|
||
<th>Parameters</th>
|
||
<th>Description</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody>
|
||
<tr>
|
||
<td>Relay_Source_Log_File</td>
|
||
<td>the primary’s file where replica is currently reading from</td>
|
||
</tr>
|
||
<tr>
|
||
<td>Execute_Source_Log_Pos</td>
|
||
<td>for the above file on which position is the replica reading currently from. These two parameters are of utmost importance when binlog based replication is used</td>
|
||
</tr>
|
||
<tr>
|
||
<td>Replica_IO_Running</td>
|
||
<td>IO thread of replica is running or not</td>
|
||
</tr>
|
||
<tr>
|
||
<td>Replica_SQL_Running</td>
|
||
<td>SQL thread of replica is running or not</td>
|
||
</tr>
|
||
<tr>
|
||
<td>Seconds_Behind_Source</td>
|
||
<td>the difference of seconds when a statement was executed on Primary and then on Replica. This indicates how much replication lag is there</td>
|
||
</tr>
|
||
<tr>
|
||
<td>Source_UUID</td>
|
||
<td>the uuid of the primary host</td>
|
||
</tr>
|
||
<tr>
|
||
<td>Retrieved_Gtid_Set</td>
|
||
<td>the GTIDs fetched from the primary host by the replica to be executed</td>
|
||
</tr>
|
||
<tr>
|
||
<td>Executed_Gtid_Set</td>
|
||
<td>the GTIDs executed on the replica. This set remains the same for the entire cluster if the replicas are in sync</td>
|
||
</tr>
|
||
<tr>
|
||
<td>Auto_Position</td>
|
||
<td>it directs the replica to fetch the next GTID automatically</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
<p><strong>Create a Replica for the already setup cluster</strong></p>
|
||
<p>The steps discussed in the previous section talks about the setting up replication on two fresh hosts. When we have to set up a replica for a host which is already serving applications, then the backup of the primary is used, either fresh backup taken for the replica (should only be done if the traffic it is serving is less) or use a recently taken backup.</p>
|
||
<p>If the size of the databases on the MySQL primary server is small, less than 100G recommended, then <code>mysqldump</code> can be used to take backup along with the following options.</p>
|
||
<pre><code class="language-shell">mysqldump -uroot -p -hhost_ip -P3306 --all-databases --single-transaction --master-data=1 > primary_host.bkp
|
||
</code></pre>
|
||
<ul>
|
||
<li><code>--single-transaction</code> - this option starts a transaction before taking the backup which ensures it is consistent. As transactions are isolated from each other, so no other writes affect the backup.</li>
|
||
<li><code>--master-data</code> - this option is required if binlog-based replication is desired to be set up. It includes the binary log file and log file position in the backup file.</li>
|
||
</ul>
|
||
<p>When GTID mode is enabled and <code>mysqldump</code> is executed, it includes the GTID executed to be used to start the replica after the backup position. The contents of the <code>mysqldump</code> output file will have the following</p>
|
||
<p><img alt="GTID info in mysqldump" src="../images/mysqldump_gtid_text.png" title="GTID info in mysqldump" /></p>
|
||
<p>It is recommended to comment these before restoring otherwise they could throw errors. Also, using <code>master-data=2</code> will automatically comment the <code>master_log_file</code> line.</p>
|
||
<p>Similarly, when taking backup of the host using <code>xtrabackup</code>, the file <code>xtrabckup_info</code> file contains the information about binlog file and file position, as well as the GTID executed set.</p>
|
||
<pre><code>server_version = 8.0.25
|
||
start_time = 2021-06-22 03:45:17
|
||
end_time = 2021-06-22 03:45:20
|
||
lock_time = 0
|
||
binlog_pos = filename 'mysql-bin.000007', position '196', GTID of the last change 'e17d0920-d00e-11eb-a3e6-000d3aa00f87:1-5'
|
||
innodb_from_lsn = 0
|
||
innodb_to_lsn = 18153149
|
||
partial = N
|
||
incremental = N
|
||
format = file
|
||
compressed = N
|
||
encrypted = N
|
||
</code></pre>
|
||
<p>Now, after setting MySQL server on the desired host, restore the backup taken from any one of the above methods. If the intended way is binlog-based replication, then use the binlog file and position info in the following command:</p>
|
||
<pre><code>CHANGE REPLICATION SOURCE TO
|
||
source_host = ‘primary_ip’,
|
||
source_port = 3306,
|
||
source_user = ‘repl_user’,
|
||
source_password = ‘xxxxx’,
|
||
source_log_file = ‘mysql-bin.000007’,
|
||
source_log_pos = ‘196’;
|
||
</code></pre>
|
||
<p>If the replication needs to be set via GITDs, then run the below command to tell the replica about the GTIDs already executed. On the Replica host, run the following commands:</p>
|
||
<pre><code>RESET MASTER;
|
||
|
||
set global gtid_purged = ‘e17d0920-d00e-11eb-a3e6-000d3aa00f87:1-5’
|
||
|
||
CHANGE REPLICATION SOURCE TO
|
||
source_host = ‘primary_ip’,
|
||
source_port = 3306,
|
||
source_user = ‘repl_user’,
|
||
source_password = ‘xxxxx’,
|
||
source_auto_position = 1
|
||
</code></pre>
|
||
<p>The reset master command resets the position of the binary log to initial. It can be skipped if the host is a freshly installed MySQL, but we restored a backup so it is necessary. The <code>gtid_purged</code> global variable lets the replica know the GTIDs that have already been executed, so that the replication can start after that. Then in the change source command, we set the <code>auto-position</code> to 1 which automatically gets the next GTID to proceed.</p>
|
||
<h4 id="further-reading">Further Reading</h4>
|
||
<ul>
|
||
<li><a href="https://dev.mysql.com/doc/refman/8.0/en/replication-solutions.html">More applications of Replication</a></li>
|
||
<li><a href="https://github.com/openark/orchestrator/tree/master/docs">Automtaed Failovers using MySQL Orchestrator</a></li>
|
||
</ul>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
</article>
|
||
</div>
|
||
|
||
|
||
<script>var target=document.getElementById(location.hash.slice(1));target&&target.name&&(target.checked=target.name.startsWith("__tabbed_"))</script>
|
||
</div>
|
||
|
||
</main>
|
||
|
||
<footer class="md-footer">
|
||
|
||
<div class="md-footer-meta md-typeset">
|
||
<div class="md-footer-meta__inner md-grid">
|
||
<div class="md-copyright">
|
||
|
||
<div class="md-copyright__highlight">
|
||
Copyright 2020 LinkedIn Corporation. All Rights Reserved. Licensed under the Creative Commons Attribution 4.0 International Public License
|
||
</div>
|
||
|
||
|
||
Made with
|
||
<a href="https://squidfunk.github.io/mkdocs-material/" target="_blank" rel="noopener">
|
||
Material for MkDocs
|
||
</a>
|
||
|
||
</div>
|
||
|
||
<div class="md-social">
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a href="https://github.com/linkedin/school-of-sre" target="_blank" rel="noopener" title="github.com" class="md-social__link">
|
||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><!--! Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2023 Fonticons, Inc.--><path d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"/></svg>
|
||
</a>
|
||
|
||
</div>
|
||
|
||
</div>
|
||
</div>
|
||
</footer>
|
||
|
||
</div>
|
||
<div class="md-dialog" data-md-component="dialog">
|
||
<div class="md-dialog__inner md-typeset"></div>
|
||
</div>
|
||
|
||
|
||
<script id="__config" type="application/json">{"base": "../../..", "features": ["navigation.sections"], "search": "../../../assets/javascripts/workers/search.b8dbb3d2.min.js", "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version": "Select version"}}</script>
|
||
|
||
|
||
<script src="../../../assets/javascripts/bundle.c8d2eff1.min.js"></script>
|
||
|
||
|
||
</body>
|
||
</html> |