forked from docs/doc-exports
gaussdbmysql_umn_20240425
Reviewed-by: Wagner, Fabian <fabian.wagner@t-systems.com> Co-authored-by: Ru, Li Yi <liyiru7@huawei.com> Co-committed-by: Ru, Li Yi <liyiru7@huawei.com>
This commit is contained in:
parent
3d88b677fd
commit
bc47653338
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -8,7 +8,13 @@
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody><tr id="change_history__row1936968944"><td class="cellrowborder" valign="top" width="21.85%" headers="mcps1.3.1.1.3.1.1 "><p id="change_history__p16369168544">2024-02-28</p>
|
||||
<tbody><tr id="change_history__row379772773712"><td class="cellrowborder" valign="top" width="21.85%" headers="mcps1.3.1.1.3.1.1 "><p id="change_history__p1079842711374">2024-04-15</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="78.14999999999999%" headers="mcps1.3.1.1.3.1.2 "><p id="change_history__p97985277376">Modified the following content:</p>
|
||||
<p id="change_history__p135661422371">Added <a href="gaussdb_03_0069.html">Backup Space and Billing</a>.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="change_history__row1936968944"><td class="cellrowborder" valign="top" width="21.85%" headers="mcps1.3.1.1.3.1.1 "><p id="change_history__p16369168544">2024-02-28</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="78.14999999999999%" headers="mcps1.3.1.1.3.1.2 "><p id="change_history__p153691382045">Modified the following content:</p>
|
||||
<p id="change_history__p1569122210418">Modified the parameter description in <a href="gaussdb_03_0087.html">Setting Alarm Rules</a>.</p>
|
||||
|
BIN
docs/gaussdb_mysql/umn/en-us_image_0000001896928157.png
Normal file
BIN
docs/gaussdb_mysql/umn/en-us_image_0000001896928157.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
@ -6,6 +6,8 @@
|
||||
<ul class="ullinks">
|
||||
<li class="ulchildlink"><strong><a href="gaussdb_03_0056.html">Working with Backups</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="gaussdb_03_0069.html">Backup Space and Billing</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="gaussdb_03_0058.html">Creating a Manual Backup</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="gaussdb_03_0063.html">Restoring Data from a Backup</a></strong><br>
|
||||
|
29
docs/gaussdb_mysql/umn/gaussdb_03_0069.html
Normal file
29
docs/gaussdb_mysql/umn/gaussdb_03_0069.html
Normal file
@ -0,0 +1,29 @@
|
||||
<a name="gaussdb_03_0069"></a><a name="gaussdb_03_0069"></a>
|
||||
|
||||
<h1 class="topictitle1">Backup Space and Billing</h1>
|
||||
<div id="body0000001850648748"><div class="section" id="gaussdb_03_0069__section8556164183719"><h4 class="sectiontitle">Category</h4><ul id="gaussdb_03_0069__ul348833093812"><li id="gaussdb_03_0069__li248912303387">The full backup mode is used to back up all target data even if no data is updated since the last backup.</li><li id="gaussdb_03_0069__li7982341173915">Incremental backup: The system automatically backs up data that has changed since the last automated backup or incremental backup in binlogs every 5 minutes. The binlogs can be used to restore data to a specified point in time.</li><li id="gaussdb_03_0069__li248923083810">Differential backup: The system backs up data that has changed since the most recent full backup or differential backup in to physical files. Physical files cannot be used for log replay.</li><li id="gaussdb_03_0069__li1448910308385">Billable space: Backup space that you are billed for.</li><li id="gaussdb_03_0069__li748973003818">Logical space: Space occupied by full backups.</li><li id="gaussdb_03_0069__li4661143610712">Physical space: The amount of data that is backed up to OBS.<div class="note" id="gaussdb_03_0069__note1433034510713"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="gaussdb_03_0069__p833174517715">After you create a DB instance, the logical space is the same as the physical space. When a backup starts in a backup chain, the physical space stores the data of the first full backup and subsequent differential backups.</p>
|
||||
</div></div>
|
||||
</li></ul>
|
||||
</div>
|
||||
<div class="section" id="gaussdb_03_0069__section09161839161312"><h4 class="sectiontitle">Backup Space Calculation Methods</h4><p id="gaussdb_03_0069__p131441549191319">There is a default backup chain (where there are seven backups). The first automated backup is a full backup, and subsequent automated backups are differential backups.</p>
|
||||
<p id="gaussdb_03_0069__p196916594303">In a backup chain, the backup space is released only after all full backups and differential backups are deleted.</p>
|
||||
<ul id="gaussdb_03_0069__ul21071044112513"><li id="gaussdb_03_0069__li1997562163112">Logical space: Total size of the logical space – Logical size of the expired backup file</li><li id="gaussdb_03_0069__li201071443252">Physical space: Size of the first full backup file + total size of subsequent differential backup files</li><li id="gaussdb_03_0069__li151077449251">Free space: There is free backup storage up to 100% of your provisioned database storage.</li></ul>
|
||||
<p id="gaussdb_03_0069__p1151416129164">Billing is calculated as follows:</p>
|
||||
<p id="gaussdb_03_0069__p980982212218">The system deducts the free space from either the logical space or the physical space, whichever is smaller.</p>
|
||||
</div>
|
||||
<div class="section" id="gaussdb_03_0069__section166381644108"><h4 class="sectiontitle">Example</h4><p id="gaussdb_03_0069__p9920133619545">A backup line contains seven backups by default. There are 11 backups shown in the following figure. The 1st backup to the 7th belong to one backup line and the 8th to the 11th belong to another.</p>
|
||||
<div class="fignone" id="gaussdb_03_0069__fig6884164985414"><span class="figcap"><b>Figure 1 </b>Backup example</span><br><span><img id="gaussdb_03_0069__image1910533113402" src="en-us_image_0000001896928157.png"></span></div>
|
||||
<p id="gaussdb_03_0069__p1051826114118"></p>
|
||||
<p id="gaussdb_03_0069__p93611454154114">If there is 1,000 MB of backup space and the logical space is 1,000 MB each time, the physical space for the 1st backup is 1,000 MB. If the incremental data size is 100 MB each time, the physical space for the 2nd backup to 7th is 100 MB.</p>
|
||||
<p id="gaussdb_03_0069__p328419500715">A backup line contains seven backups by default. The physical space for the 8th backup is 1,000 MB because it represents a new backup line.</p>
|
||||
<p id="gaussdb_03_0069__p18503611526">Billed space includes the space of the two chains in the example.</p>
|
||||
<p id="gaussdb_03_0069__p1766095919446">Suppose that after the 11th backup was created, and the 1st, 2nd and 3rd backups expired and were automatically deleted. The size of each space is calculated as follows:</p>
|
||||
<ul id="gaussdb_03_0069__ul1616785575711"><li id="gaussdb_03_0069__li91511658115716">Total logical space size = Total logical space size – Logical size of the expired backup file (1,000 MB x 11 - 3,000 MB = 8,000 MB in this example).</li><li id="gaussdb_03_0069__li10443241030">Physical space: size of data backed up to OBS. In this example, physical space includes the sum of physical space on the two backup links: 1,000 MB + (100 MB x 6) +1,000 MB+ (100 MB X 3) =2,900 MB</li><li id="gaussdb_03_0069__li416745525719">Total billed space = Min (Total size of logical space, Total size of physical space) – free space, so the total billed space in this example = Min (8,000 MB, 2,900 MB) – 1,000 MB = 1,900 MB</li></ul>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="gaussdb_03_0055.html">Backups and Restorations</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user