<?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>DCA &#8211; Database Research &amp; Development</title>
	<atom:link href="https://www.dbrnd.com/tag/dca/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, 20 Jul 2017 19:56:07 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.4</generator>
	<item>
		<title>Greenplum: Script to check the full disk space of DCA</title>
		<link>https://www.dbrnd.com/2017/07/greenplum-script-to-check-the-full-disk-space-of-dca/</link>
		
		<dc:creator><![CDATA[Anvesh Patel]]></dc:creator>
		<pubDate>Wed, 26 Jul 2017 16:16:28 +0000</pubDate>
				<category><![CDATA[Greenplum]]></category>
		<category><![CDATA[Greenplum DBA Script]]></category>
		<category><![CDATA[Anvesh Patel]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[database research and development]]></category>
		<category><![CDATA[dbrnd]]></category>
		<category><![CDATA[DCA]]></category>
		<category><![CDATA[diskspace_now]]></category>
		<category><![CDATA[gp_disk_free]]></category>
		<category><![CDATA[gp_toolkit]]></category>
		<category><![CDATA[Greenplum Administrator]]></category>
		<category><![CDATA[Greenplum Error]]></category>
		<category><![CDATA[Greenplum Monitoring]]></category>
		<category><![CDATA[Greenplum Performance Tuning]]></category>
		<category><![CDATA[Greenplum Programming]]></category>
		<category><![CDATA[Greenplum Query]]></category>
		<category><![CDATA[Greenplum Tips and Tricks]]></category>
		<category><![CDATA[PostgreSQL 8.2]]></category>
		<guid isPermaLink="false">https://www.dbrnd.com/?p=5705</guid>

					<description><![CDATA[In this post, I am sharing two different scripts to check the full size of Greenplum DCA. To monitor the disk space is a ubiquitous task of DBA. DBA can use below script and can automate the report on disk size notification/alert. There are different options to check the disk size of the server; below [&#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%2F07%2Fgreenplum-script-to-check-the-full-disk-space-of-dca%2F&amp;linkname=Greenplum%3A%20Script%20to%20check%20the%20full%20disk%20space%20of%20DCA" 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%2F07%2Fgreenplum-script-to-check-the-full-disk-space-of-dca%2F&amp;linkname=Greenplum%3A%20Script%20to%20check%20the%20full%20disk%20space%20of%20DCA" 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%2F07%2Fgreenplum-script-to-check-the-full-disk-space-of-dca%2F&amp;linkname=Greenplum%3A%20Script%20to%20check%20the%20full%20disk%20space%20of%20DCA" 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%2F07%2Fgreenplum-script-to-check-the-full-disk-space-of-dca%2F&amp;linkname=Greenplum%3A%20Script%20to%20check%20the%20full%20disk%20space%20of%20DCA" 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%2F07%2Fgreenplum-script-to-check-the-full-disk-space-of-dca%2F&amp;linkname=Greenplum%3A%20Script%20to%20check%20the%20full%20disk%20space%20of%20DCA" 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%2F07%2Fgreenplum-script-to-check-the-full-disk-space-of-dca%2F&amp;linkname=Greenplum%3A%20Script%20to%20check%20the%20full%20disk%20space%20of%20DCA" 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%2F07%2Fgreenplum-script-to-check-the-full-disk-space-of-dca%2F&#038;title=Greenplum%3A%20Script%20to%20check%20the%20full%20disk%20space%20of%20DCA" data-a2a-url="https://www.dbrnd.com/2017/07/greenplum-script-to-check-the-full-disk-space-of-dca/" data-a2a-title="Greenplum: Script to check the full disk space of DCA"></a></p><p>In this post, I am sharing two different scripts to check the full size of Greenplum DCA.<br />
To monitor the disk space is a ubiquitous task of DBA. DBA can use below script and can automate the report on disk size notification/alert.</p>
<p>There are different options to check the disk size of the server; below I prepared two queries using gpperfmon database and gp_toolkit schema.</p>
<p><strong>Use gpperfmon Database:</strong></p>
<pre class="crayon-plain-tag">select
	hostname
	,filesystem
	,round(total_bytes/power(1024,4)::numeric,2) as TotalSize_inTB
	,round(bytes_used/power(1024,4)::numeric,2) as UsedSize_inTB
	,round(bytes_available/power(1024,4)::numeric,2) as AvailableSize_inTB
from diskspace_now
where filesystem in ('/data1','/data2')
ORDER BY 4 DESC</pre> </p>
<p><strong>Use gp_toolkit Schema:</strong></p>
<pre class="crayon-plain-tag">select
	distinct dfhostname
	,dfdevice
	,dfspace
from gp_toolkit.gp_disk_free</pre> </p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
