<?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>reindex &#8211; Database Research &amp; Development</title>
	<atom:link href="https://www.dbrnd.com/tag/reindex/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>Thu, 05 Jan 2017 18:34:36 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.6</generator>
	<item>
		<title>PostgreSQL: Rebuild all Indexes using REINDEXDB utility and REINDEX command</title>
		<link>https://www.dbrnd.com/2017/01/postgresql-rebuild-all-indexes-using-reindexdb-utility-and-reindex-command-remove-fragmentation-improve-performance/</link>
					<comments>https://www.dbrnd.com/2017/01/postgresql-rebuild-all-indexes-using-reindexdb-utility-and-reindex-command-remove-fragmentation-improve-performance/#comments</comments>
		
		<dc:creator><![CDATA[Anvesh Patel]]></dc:creator>
		<pubDate>Thu, 05 Jan 2017 18:34:36 +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[index]]></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 Programming]]></category>
		<category><![CDATA[PostgreSQL Tips and Tricks]]></category>
		<category><![CDATA[Rebuild Index]]></category>
		<category><![CDATA[reindex]]></category>
		<category><![CDATA[reindexdb]]></category>
		<guid isPermaLink="false">https://www.dbrnd.com/?p=3645</guid>

					<description><![CDATA[The Index Rebuilding is a very common and routine task for a Database Administrator. All types of RDBMS system have various types of Reindexing option. The Index Rebuilding is necessary periodically to remove fragmentation of Indexes. PostgreSQL provides two ways to perform Reindexing on Database. Using REINDEX command: You can execute REINDEX command on Database, [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a class="a2a_button_facebook" href="https://www.addtoany.com/add_to/facebook?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2017%2F01%2Fpostgresql-rebuild-all-indexes-using-reindexdb-utility-and-reindex-command-remove-fragmentation-improve-performance%2F&amp;linkname=PostgreSQL%3A%20Rebuild%20all%20Indexes%20using%20REINDEXDB%20utility%20and%20REINDEX%20command" 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%2F2017%2F01%2Fpostgresql-rebuild-all-indexes-using-reindexdb-utility-and-reindex-command-remove-fragmentation-improve-performance%2F&amp;linkname=PostgreSQL%3A%20Rebuild%20all%20Indexes%20using%20REINDEXDB%20utility%20and%20REINDEX%20command" 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%2F2017%2F01%2Fpostgresql-rebuild-all-indexes-using-reindexdb-utility-and-reindex-command-remove-fragmentation-improve-performance%2F&amp;linkname=PostgreSQL%3A%20Rebuild%20all%20Indexes%20using%20REINDEXDB%20utility%20and%20REINDEX%20command" 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%2F2017%2F01%2Fpostgresql-rebuild-all-indexes-using-reindexdb-utility-and-reindex-command-remove-fragmentation-improve-performance%2F&amp;linkname=PostgreSQL%3A%20Rebuild%20all%20Indexes%20using%20REINDEXDB%20utility%20and%20REINDEX%20command" 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%2F2017%2F01%2Fpostgresql-rebuild-all-indexes-using-reindexdb-utility-and-reindex-command-remove-fragmentation-improve-performance%2F&amp;linkname=PostgreSQL%3A%20Rebuild%20all%20Indexes%20using%20REINDEXDB%20utility%20and%20REINDEX%20command" 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%2F2017%2F01%2Fpostgresql-rebuild-all-indexes-using-reindexdb-utility-and-reindex-command-remove-fragmentation-improve-performance%2F&amp;linkname=PostgreSQL%3A%20Rebuild%20all%20Indexes%20using%20REINDEXDB%20utility%20and%20REINDEX%20command" 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%2F2017%2F01%2Fpostgresql-rebuild-all-indexes-using-reindexdb-utility-and-reindex-command-remove-fragmentation-improve-performance%2F&#038;title=PostgreSQL%3A%20Rebuild%20all%20Indexes%20using%20REINDEXDB%20utility%20and%20REINDEX%20command" data-a2a-url="https://www.dbrnd.com/2017/01/postgresql-rebuild-all-indexes-using-reindexdb-utility-and-reindex-command-remove-fragmentation-improve-performance/" data-a2a-title="PostgreSQL: Rebuild all Indexes using REINDEXDB utility and REINDEX command"></a></p><p>The Index Rebuilding is a very common and routine task for a Database Administrator. </p>
<blockquote><p>All types of RDBMS system have various types of Reindexing option.<br />
The Index Rebuilding is necessary periodically to remove fragmentation of Indexes. </p></blockquote>
<p>PostgreSQL provides two ways to perform Reindexing on Database.</p>
<p><strong>Using REINDEX command:</strong></p>
<blockquote><p>You can execute REINDEX command on Database, Table and Index.<br />
You can connect PostgreSQL using PGAdmin or PSQL tools to execute this command. </p></blockquote>
<p><strong>Reindex all indexes of Database:</strong></p>
<pre class="crayon-plain-tag">REINDEX DATABASE Database_Name;</pre> </p>
<p><strong>Reindex on particular Index:</strong></p>
<pre class="crayon-plain-tag">REINDEX INDEX Index_Name;</pre> </p>
<p><strong>Reindex on particular Table:</strong></p>
<pre class="crayon-plain-tag">REINDEX TABLE Table_Name;</pre> </p>
<p><strong>Using REINDEXDB.EXE utility:</strong></p>
<blockquote><p>A REINDEXDB is a one type of utility of PostgreSQL. It is an executable file which we can run without connect to database server.</p></blockquote>
<blockquote><p>A REINDEXDB requires command line arguments like database_username, database_name.<br />
We can execute REINDEXDB using command prompt of the Operating System. </p></blockquote>
<p>Below an example of Windows Command Prompt, the same way you can also execute in Linux.</p>
<p><strong>Reindex all Database of PostgreSQL Server:</strong></p>
<pre class="crayon-plain-tag">C:\Program Files\PostgreSQL\9.5\bin&gt; reindexdb.exe -U user_name -a
Password:****</pre> </p>
<p><strong>Reindex on particular Database:</strong></p>
<pre class="crayon-plain-tag">C:\Program Files\PostgreSQL\9.5\bin&gt; reindexdb.exe -d database -U user_name
Password:****</pre> </p>
<p><strong>Reindex on particular Table:</strong></p>
<pre class="crayon-plain-tag">C:\Program Files\PostgreSQL\9.5\bin&gt; reindexdb.exe -d database_name -U user_name -t table_name
Password:****</pre> </p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.dbrnd.com/2017/01/postgresql-rebuild-all-indexes-using-reindexdb-utility-and-reindex-command-remove-fragmentation-improve-performance/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
	</channel>
</rss>
