<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>pgbench &#8211; Database Research &amp; Development</title>
	<atom:link href="https://www.dbrnd.com/tag/pgbench/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.dbrnd.com</link>
	<description>BIGData &#124; NoSQL &#124; MSSQL &#124; MySQL &#124; PostgreSQL</description>
	<lastBuildDate>Tue, 10 Apr 2018 20:06:29 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.5</generator>
	<item>
		<title>PostgreSQL: Use pgbench for testing the Load Performance of Server</title>
		<link>https://www.dbrnd.com/2018/04/postgresql-use-pgbench-for-testing-the-load-performance-of-server/</link>
		
		<dc:creator><![CDATA[Anvesh Patel]]></dc:creator>
		<pubDate>Thu, 12 Apr 2018 16:16:31 +0000</pubDate>
				<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[Anvesh Patel]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[database research and development]]></category>
		<category><![CDATA[dbrnd]]></category>
		<category><![CDATA[measure the performance]]></category>
		<category><![CDATA[performance testing]]></category>
		<category><![CDATA[pgbench]]></category>
		<category><![CDATA[plpgsql]]></category>
		<category><![CDATA[Postgres Query]]></category>
		<category><![CDATA[postgresql]]></category>
		<category><![CDATA[PostgreSQL Administrator]]></category>
		<category><![CDATA[PostgreSQL Error]]></category>
		<category><![CDATA[PostgreSQL load testing]]></category>
		<category><![CDATA[PostgreSQL Monitoring]]></category>
		<category><![CDATA[PostgreSQL Performance Tuning]]></category>
		<category><![CDATA[PostgreSQL Programming]]></category>
		<category><![CDATA[PostgreSQL Tips and Tricks]]></category>
		<guid isPermaLink="false">https://www.dbrnd.com/?p=7377</guid>

					<description><![CDATA[<div><img width="679" height="509" src="https://www.dbrnd.com/wp-content/uploads/2018/04/pgbench-performance-679x509.jpg" class="attachment-post-image size-post-image wp-post-image" alt="" decoding="async" fetchpriority="high" srcset="https://www.dbrnd.com/wp-content/uploads/2018/04/pgbench-performance-679x509.jpg 679w, https://www.dbrnd.com/wp-content/uploads/2018/04/pgbench-performance-1030x773.jpg 1030w, https://www.dbrnd.com/wp-content/uploads/2018/04/pgbench-performance-850x638.jpg 850w, https://www.dbrnd.com/wp-content/uploads/2018/04/pgbench-performance-1700x1275.jpg 1700w, https://www.dbrnd.com/wp-content/uploads/2018/04/pgbench-performance-1358x1019.jpg 1358w" sizes="(max-width: 679px) 100vw, 679px" /></div>Sharing a very important article on the Load testing of PostgreSQL. Since last three years, I am sharing multiple articles on PostgreSQL Database Optimization Techniques and Solutions. But for the bad performance, always database design, table design, fragmentation, indexes are not only the problem. There are lot many other things, that we can test and [&#8230;]]]></description>
										<content:encoded><![CDATA[<div><img width="679" height="509" src="https://www.dbrnd.com/wp-content/uploads/2018/04/pgbench-performance-679x509.jpg" class="attachment-post-image size-post-image wp-post-image" alt="" decoding="async" srcset="https://www.dbrnd.com/wp-content/uploads/2018/04/pgbench-performance-679x509.jpg 679w, https://www.dbrnd.com/wp-content/uploads/2018/04/pgbench-performance-1030x773.jpg 1030w, https://www.dbrnd.com/wp-content/uploads/2018/04/pgbench-performance-850x638.jpg 850w, https://www.dbrnd.com/wp-content/uploads/2018/04/pgbench-performance-1700x1275.jpg 1700w, https://www.dbrnd.com/wp-content/uploads/2018/04/pgbench-performance-1358x1019.jpg 1358w" sizes="(max-width: 679px) 100vw, 679px" /></div><p><a class="a2a_button_facebook" href="https://www.addtoany.com/add_to/facebook?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2018%2F04%2Fpostgresql-use-pgbench-for-testing-the-load-performance-of-server%2F&amp;linkname=PostgreSQL%3A%20Use%20pgbench%20for%20testing%20the%20Load%20Performance%20of%20Server" title="Facebook" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_twitter" href="https://www.addtoany.com/add_to/twitter?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2018%2F04%2Fpostgresql-use-pgbench-for-testing-the-load-performance-of-server%2F&amp;linkname=PostgreSQL%3A%20Use%20pgbench%20for%20testing%20the%20Load%20Performance%20of%20Server" title="Twitter" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_linkedin" href="https://www.addtoany.com/add_to/linkedin?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2018%2F04%2Fpostgresql-use-pgbench-for-testing-the-load-performance-of-server%2F&amp;linkname=PostgreSQL%3A%20Use%20pgbench%20for%20testing%20the%20Load%20Performance%20of%20Server" title="LinkedIn" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2018%2F04%2Fpostgresql-use-pgbench-for-testing-the-load-performance-of-server%2F&amp;linkname=PostgreSQL%3A%20Use%20pgbench%20for%20testing%20the%20Load%20Performance%20of%20Server" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_reddit" href="https://www.addtoany.com/add_to/reddit?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2018%2F04%2Fpostgresql-use-pgbench-for-testing-the-load-performance-of-server%2F&amp;linkname=PostgreSQL%3A%20Use%20pgbench%20for%20testing%20the%20Load%20Performance%20of%20Server" title="Reddit" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2018%2F04%2Fpostgresql-use-pgbench-for-testing-the-load-performance-of-server%2F&amp;linkname=PostgreSQL%3A%20Use%20pgbench%20for%20testing%20the%20Load%20Performance%20of%20Server" title="Pocket" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fwww.dbrnd.com%2F2018%2F04%2Fpostgresql-use-pgbench-for-testing-the-load-performance-of-server%2F&#038;title=PostgreSQL%3A%20Use%20pgbench%20for%20testing%20the%20Load%20Performance%20of%20Server" data-a2a-url="https://www.dbrnd.com/2018/04/postgresql-use-pgbench-for-testing-the-load-performance-of-server/" data-a2a-title="PostgreSQL: Use pgbench for testing the Load Performance of Server"></a></p><p>Sharing a very important article on the Load testing of PostgreSQL. Since last three years, I am sharing multiple articles on PostgreSQL Database Optimization Techniques and Solutions.</p>
<p>But for the bad performance, always database design, table design, fragmentation, indexes are not only the problem.<br />
There are lot many other things, that we can test and measure the Performance of PostgreSQL Database Server.</p>
<blockquote><p>First very most important is, how application or user connects to the database server, how hardware configured for the server, Is server setup for the read operation only or write operation only, there are many things that we can measure by using the PGBENCH utility.</p>
<p>Using pgbench, we can actually perform the load testing on PostgreSQL Server. For example, set number connection, process threads, time to complete and many more.</p></blockquote>
<p>This is a really very cool utility with lots of examples which you can find in this <a href="https://wiki.postgresql.org/wiki/Pgbenchtesting" target="_blank" rel="noopener">wiki</a>. For more options, please visit <a href="https://www.postgresql.org/docs/current/static/pgbench.html" target="_blank" rel="noopener">this</a>.</p>
<p>Check the different options and try it your self.</p>
<p><strong>Sharing one example:</strong><br />
I am checking the performance of concurrent 20 connections with 4 threads and max time is 60 seconds. here, &#8220;dbrnd&#8221; is my database and &#8220;postgres&#8221; is a DB User.</p><pre class="crayon-plain-tag">pgbench -U postgres -c 20 -j 4 -T 60 -N dbrnd</pre><p>
<img decoding="async" class="alignnone size-full wp-image-7379" src="https://www.dbrnd.com/wp-content/uploads/2018/04/PostgreSQL-pgbench.png" alt="" width="733" height="345" srcset="https://www.dbrnd.com/wp-content/uploads/2018/04/PostgreSQL-pgbench.png 733w, https://www.dbrnd.com/wp-content/uploads/2018/04/PostgreSQL-pgbench-679x320.png 679w" sizes="(max-width: 733px) 100vw, 733px" /></p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
