<?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>Technical Diary &#187; oracle</title>
	<atom:link href="http://andriigrytsenko.net/tag/oracle/feed/" rel="self" type="application/rss+xml" />
	<link>http://andriigrytsenko.net</link>
	<description>With Andrii Grytsenko</description>
	<lastBuildDate>Tue, 17 Aug 2010 08:25:33 +0000</lastBuildDate>
	
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to print all tables at Oracle database.</title>
		<link>http://andriigrytsenko.net/2009/06/how-to-print-all-tables-at-oracle-database/</link>
		<comments>http://andriigrytsenko.net/2009/06/how-to-print-all-tables-at-oracle-database/#comments</comments>
		<pubDate>Fri, 12 Jun 2009 14:58:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Databases]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://localhost/?p=12</guid>
		<description><![CDATA[If you want to get all avaible tables in Oracle database you need a run this simple sql query: 







SQL> select table_name from user_tables order by table_name;
]]></description>
			<content:encoded><![CDATA[<p>If you want to get all avaible tables in Oracle database you need a run this simple sql query: </p>
<p><span id="more-12"></span></p>
<pre>SQL> select table_name from user_tables order by table_name;</pre>
]]></content:encoded>
			<wfw:commentRss>http://andriigrytsenko.net/2009/06/how-to-print-all-tables-at-oracle-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Print space utilization at Oracle</title>
		<link>http://andriigrytsenko.net/2009/06/print-space-utilization-at-oracle/</link>
		<comments>http://andriigrytsenko.net/2009/06/print-space-utilization-at-oracle/#comments</comments>
		<pubDate>Fri, 12 Jun 2009 14:48:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Databases]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://localhost/?p=6</guid>
		<description><![CDATA[To print total and available space of Oracle database you can use next sql query. It&#8217;s a pretty good tool for monitoring.

select t1.tablespace_name, t1.fs/1024/1024/1024 as free_space_GB, t2.ts/1024/1024/1024 as total_space_GB
from (select tablespace_name,sum(bytes) as fs from dba_free_space group by tablespace_name) t1
join (select TABLESPACE_NAME,sum(BYTES) ts from dba_data_files group by TABLESPACE_NAME) t2
on t2.TABLESPACE_NAME=t1.TABLESPACE_NAME ;

its should be look like this:
TABLESPACE_NAME [...]]]></description>
			<content:encoded><![CDATA[<p>To print total and available space of Oracle database you can use next sql query. It&#8217;s a pretty good tool for monitoring.</p>
<p><span id="more-6"></span></p>
<pre>select t1.tablespace_name, t1.fs/1024/1024/1024 as free_space_GB, t2.ts/1024/1024/1024 as total_space_GB
from (select tablespace_name,sum(bytes) as fs from dba_free_space group by tablespace_name) t1
join (select TABLESPACE_NAME,sum(BYTES) ts from dba_data_files group by TABLESPACE_NAME) t2
on t2.TABLESPACE_NAME=t1.TABLESPACE_NAME ;
</pre>
<p>its should be look like this:</p>
<pre>TABLESPACE_NAME                               FREE_SPACE_GB TOTAL_SPACE_GB
--------------------------------------------- ------------- --------------
BASDAT                                      87.7402954     325.765625
BASIDX                                      96.0326538     294.882813
RPTADMINDAT                               .488220215      .48828125
RPTADMINIDX                               .488220215      .48828125
RPTBASDAT                                  .488220215      .48828125
RPTBASIDX                                   .488220215      .48828125
RPTCBFDAT                                   .488220215      .48828125
RPTCBFIDX                                  .488220215      .48828125
SYSAUX                                     2.82495117              5
SYSTEM                                     29.7844849     30.5859375
UNDOTBS1                                   21.7189941     107.324219
USERS                                      4.55554199     5.27929688</pre>
<p>12 rows selected.</p>
]]></content:encoded>
			<wfw:commentRss>http://andriigrytsenko.net/2009/06/print-space-utilization-at-oracle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
