update some content

This commit is contained in:
2021-10-28 14:15:01 +08:00
parent b8600ab259
commit 27b5a11382
163 changed files with 951 additions and 922 deletions

View File

@@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1634607506" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1635401692" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1634607506" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1635401692" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@@ -331,7 +331,7 @@ pgbench -i -U postgres -s 10 pgbench</p>
<p><img src="https://i.imgur.com/vQFfj6Y.png" alt="&lsquo;postgresql pgbench banchmark reults&rsquo;"></p>
<p>另外補上一個 2 cores / 2G RAM 的結果</p>
<h3 id="postgresql-10--2g-ram--hdd-on-10g-storage">postgresql 10 , 2G RAM , HDD on 10G Storage</h3>
<pre tabindex="0"><code>postgres@ubuntu:~$ pgbench -t 100 -c 100 -S -U postgres pgbench
<pre><code>postgres@ubuntu:~$ pgbench -t 100 -c 100 -S -U postgres pgbench
starting vacuum...end.
transaction type: &lt;builtin: select only&gt;
scaling factor: 10
@@ -366,7 +366,7 @@ tps = 8651.036900 (excluding connections establishing)
<li>從表格中可以看到當CPU Cores 增加pgbench的效能也明顯增加</li>
<li>而我甚至還沒有指定用多核心去執行測試,如果要用多核心去測試,要把測試指令改成</li>
</ul>
<pre tabindex="0"><code>pgbench -j 4 -t 100 -c 100 -S -U postgres pgbench
<pre><code>pgbench -j 4 -t 100 -c 100 -S -U postgres pgbench
</code></pre></li>
<li>
@@ -666,7 +666,7 @@ title="pinterest icon"></i>
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1634607506"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1635401692"></script>
</body>
</html>