<?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>Square DBA - Oracle DBA Talk &#187; Oracle How-To</title>
	<atom:link href="http://www.squaredba.com/category/oracle-how-to/feed" rel="self" type="application/rss+xml" />
	<link>http://www.squaredba.com</link>
	<description>Oracle DBA Forum, Articles, FAQs, Scripts, OCP Test Papers, Free Blog, DBA Training</description>
	<lastBuildDate>Fri, 18 Jun 2010 16:21:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Compressing Partitioned Tables</title>
		<link>http://www.squaredba.com/compressing-partitioned-tables-193.html</link>
		<comments>http://www.squaredba.com/compressing-partitioned-tables-193.html#comments</comments>
		<pubDate>Mon, 08 Mar 2010 14:08:48 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[DBA Thoughts]]></category>
		<category><![CDATA[Oracle How-To]]></category>

		<guid isPermaLink="false">http://www.squaredba.com/?p=193</guid>
		<description><![CDATA[I recently wrote a script to compress certain partitions in a table. Basically any partition that was loaded and analyzed I wanted to move to a new tablespace and compress the data. The script basically spools out the SQL into a file and then runs that file. Here is the code specifically related to the [...]]]></description>
		<wfw:commentRss>http://www.squaredba.com/compressing-partitioned-tables-193.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Resetting an Enterprise Manager Agent</title>
		<link>http://www.squaredba.com/resetting-an-enterprise-manager-agent-191.html</link>
		<comments>http://www.squaredba.com/resetting-an-enterprise-manager-agent-191.html#comments</comments>
		<pubDate>Fri, 05 Mar 2010 00:07:06 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Oracle How-To]]></category>
		<category><![CDATA[agent]]></category>
		<category><![CDATA[EM]]></category>
		<category><![CDATA[OEM]]></category>
		<category><![CDATA[OMS]]></category>

		<guid isPermaLink="false">http://www.squaredba.com/?p=191</guid>
		<description><![CDATA[There are times when your Enterprise Manager Agent needs to be cleared out and rest. Here are some very simple steps. Set your agent home. This is specific to you configuration. export AGENT_HOME=/app/oracle/product/gc10.2/agent10g/ Stop the agent $AGENT_HOME/bin/emctl stop agent Clean up an pending files rm -r $AGENT_HOME/sysman/emd/state/* rm -r $AGENT_HOME/sysman/emd/upload/* rm $AGENT_HOME/sysman/emd/lastupld.xml rm $AGENT_HOME/sysman/emd/agntstmp.txt rm [...]]]></description>
		<wfw:commentRss>http://www.squaredba.com/resetting-an-enterprise-manager-agent-191.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Script to shrink a tablespace</title>
		<link>http://www.squaredba.com/script-to-shrink-a-tablespace-189.html</link>
		<comments>http://www.squaredba.com/script-to-shrink-a-tablespace-189.html#comments</comments>
		<pubDate>Fri, 12 Feb 2010 16:50:24 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Oracle How-To]]></category>
		<category><![CDATA[datafiles]]></category>
		<category><![CDATA[High Water Mark]]></category>
		<category><![CDATA[HWM]]></category>
		<category><![CDATA[space]]></category>
		<category><![CDATA[tablespace]]></category>

		<guid isPermaLink="false">http://www.squaredba.com/?p=189</guid>
		<description><![CDATA[To shrink a tablespace in Oracle you actually need to shrink the datafiles that make up the tablespace. You can only shrink a datafile down to the high water mark (HWM). There are several methods to reduce the HWM, but I am not going to address those in this post. If you want to return [...]]]></description>
		<wfw:commentRss>http://www.squaredba.com/script-to-shrink-a-tablespace-189.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Purge the Recyclebin in Oracle</title>
		<link>http://www.squaredba.com/purge-the-recyclebin-in-oracle-185.html</link>
		<comments>http://www.squaredba.com/purge-the-recyclebin-in-oracle-185.html#comments</comments>
		<pubDate>Tue, 02 Feb 2010 20:51:02 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Oracle How-To]]></category>
		<category><![CDATA[DBA_RECYCLEBIN]]></category>
		<category><![CDATA[drop]]></category>
		<category><![CDATA[PURGE]]></category>
		<category><![CDATA[RECYCLEBIN]]></category>

		<guid isPermaLink="false">http://www.squaredba.com/?p=185</guid>
		<description><![CDATA[Did you know Oracle has a recycle bin? When you drop a table it goes into the recycle bin assuming you have the feature turned on. If you are trying to reclaim space simply dropping a table will not do it. You need to also purge the table from the recycle bin. You can purge [...]]]></description>
		<wfw:commentRss>http://www.squaredba.com/purge-the-recyclebin-in-oracle-185.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to export with data pump</title>
		<link>http://www.squaredba.com/how-to-export-with-data-pump-183.html</link>
		<comments>http://www.squaredba.com/how-to-export-with-data-pump-183.html#comments</comments>
		<pubDate>Mon, 01 Feb 2010 20:13:15 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Oracle How-To]]></category>
		<category><![CDATA[directory]]></category>
		<category><![CDATA[exp]]></category>
		<category><![CDATA[expdm]]></category>
		<category><![CDATA[export]]></category>

		<guid isPermaLink="false">http://www.squaredba.com/?p=183</guid>
		<description><![CDATA[I have always used Oracle good old export utility to backup the logical definition of all my databases. In addition to using RMAN backup I feel a logical dump of the database is a good idea. I have now started using Oracle&#8217;s data pump utility. I work quite well, but does operate a bit differently [...]]]></description>
		<wfw:commentRss>http://www.squaredba.com/how-to-export-with-data-pump-183.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Strip carriage return from varchar2 column</title>
		<link>http://www.squaredba.com/strip-carriage-return-179.html</link>
		<comments>http://www.squaredba.com/strip-carriage-return-179.html#comments</comments>
		<pubDate>Fri, 08 Jan 2010 20:04:50 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Oracle How-To]]></category>
		<category><![CDATA[Oracle Tip]]></category>
		<category><![CDATA[carriage return]]></category>
		<category><![CDATA[datatypes]]></category>
		<category><![CDATA[special characters]]></category>

		<guid isPermaLink="false">http://www.squaredba.com/?p=179</guid>
		<description><![CDATA[Have you ever needed to strip a carriage return from varchar2 column? Sometime when loading data from different sources I run into these non-printable characters. SQLLDR loaded them just fine, but I try to move the data into another table with specific datatypes it fails. Why? Because there are character that I cannot see and [...]]]></description>
		<wfw:commentRss>http://www.squaredba.com/strip-carriage-return-179.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oracle’s Analytic Functions to Process CDRs</title>
		<link>http://www.squaredba.com/oracle%e2%80%99s-analytic-functions-to-process-cdrs-158.html</link>
		<comments>http://www.squaredba.com/oracle%e2%80%99s-analytic-functions-to-process-cdrs-158.html#comments</comments>
		<pubDate>Thu, 29 Oct 2009 18:22:13 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Oracle How-To]]></category>
		<category><![CDATA[Analytic Functions]]></category>
		<category><![CDATA[CDR]]></category>

		<guid isPermaLink="false">http://www.squaredba.com/?p=158</guid>
		<description><![CDATA[I love Oracle’s analytic functions. Today I needed to process call records (CDRs) from a phone switch. I needed to find telephone numbers that had 5 or more 20 minute calls within any 60 minute period of time. I needed to scan a month’s worth of calls, so about 200 million records. My first inclination [...]]]></description>
		<wfw:commentRss>http://www.squaredba.com/oracle%e2%80%99s-analytic-functions-to-process-cdrs-158.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Truncate date range partitions</title>
		<link>http://www.squaredba.com/truncate-date-range-partitions-150.html</link>
		<comments>http://www.squaredba.com/truncate-date-range-partitions-150.html#comments</comments>
		<pubDate>Tue, 29 Sep 2009 18:09:37 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Oracle How-To]]></category>
		<category><![CDATA[Partitioned Tables]]></category>
		<category><![CDATA[truncate]]></category>

		<guid isPermaLink="false">http://www.squaredba.com/?p=150</guid>
		<description><![CDATA[Have you ever needed to truncate old range partitions that are broken up by day? I do all the time. Much of my data warehouse data is located in range partitioned tables. These are generally partitioned by day. I put together the following script to take care of the job for me. CREATE OR REPLACE [...]]]></description>
		<wfw:commentRss>http://www.squaredba.com/truncate-date-range-partitions-150.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Finding large files in Linux</title>
		<link>http://www.squaredba.com/finding-large-files-in-linux-147.html</link>
		<comments>http://www.squaredba.com/finding-large-files-in-linux-147.html#comments</comments>
		<pubDate>Tue, 22 Sep 2009 17:41:37 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Oracle How-To]]></category>
		<category><![CDATA[large files]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.squaredba.com/?p=147</guid>
		<description><![CDATA[It&#8217;s easy to track down your Oracle datafiles. select BYTES, NAME from v$datafile; Will tell the size of each datafile and it&#8217;s location on the server. If your server is like mine you will large non-Oracle files on the server as well. From time to time I need to find these large files to see [...]]]></description>
		<wfw:commentRss>http://www.squaredba.com/finding-large-files-in-linux-147.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ORA-01502: index or partition of such index is in unusable state</title>
		<link>http://www.squaredba.com/ora-01502-index-or-partition-of-such-index-is-in-unusable-state-145.html</link>
		<comments>http://www.squaredba.com/ora-01502-index-or-partition-of-such-index-is-in-unusable-state-145.html#comments</comments>
		<pubDate>Wed, 26 Aug 2009 18:05:56 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Oracle How-To]]></category>
		<category><![CDATA[index]]></category>
		<category><![CDATA[ORA-01502]]></category>
		<category><![CDATA[unusable state]]></category>

		<guid isPermaLink="false">http://www.squaredba.com/?p=145</guid>
		<description><![CDATA[Do you ever get and ORA-01502? This error code says your index is in an unusable state. It&#8217;s easy to find these indexes. select index_name, status, owner from dba_indexes where STATUS = 'UNUSABLE'; If you want to build the rebuild SQL that is easy too. select 'alter index '&#124;&#124;owner&#124;&#124;'.'&#124;&#124;index_name&#124;&#124;' rebuild;' from dba_indexes where STATUS = [...]]]></description>
		<wfw:commentRss>http://www.squaredba.com/ora-01502-index-or-partition-of-such-index-is-in-unusable-state-145.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
