<?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 Tip</title>
	<atom:link href="http://www.squaredba.com/category/oracle-tip/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>Mon, 18 Jul 2011 17:24:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Remove non-ASCII characters from a column</title>
		<link>http://www.squaredba.com/remove-non-ascii-characters-from-a-column-255.html</link>
		<comments>http://www.squaredba.com/remove-non-ascii-characters-from-a-column-255.html#comments</comments>
		<pubDate>Tue, 14 Jun 2011 18:53:04 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Oracle How-To]]></category>
		<category><![CDATA[Oracle Tip]]></category>
		<category><![CDATA[ASCII]]></category>
		<category><![CDATA[non-ASCII]]></category>
		<category><![CDATA[special]]></category>
		<category><![CDATA[VarChar2]]></category>

		<guid isPermaLink="false">http://www.squaredba.com/?p=255</guid>
		<description><![CDATA[Do you need to remove special (non-ASCII) characters from a VarChar2 column in Oracle? Create this function: CREATE OR REPLACE FUNCTION O1DW.RECTIFY_NON_ASCII(INPUT_STR IN VARCHAR2) RETURN VARCHAR2 IS str VARCHAR2(2000); act number :=0; cnt number :=0; askey number :=0; OUTPUT_STR VARCHAR2(2000); begin str:=&#8217;^'&#124;&#124;TO_CHAR(INPUT_STR)&#124;&#124;&#8217;^'; cnt:=length(str); for i in 1 .. cnt loop askey :=0; select ascii(substr(str,i,1)) into [...]]]></description>
		<wfw:commentRss>http://www.squaredba.com/remove-non-ascii-characters-from-a-column-255.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Finding Large Directories</title>
		<link>http://www.squaredba.com/finding-large-directories-244.html</link>
		<comments>http://www.squaredba.com/finding-large-directories-244.html#comments</comments>
		<pubDate>Mon, 30 May 2011 08:01:45 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[DBA Thoughts]]></category>
		<category><![CDATA[Oracle How-To]]></category>
		<category><![CDATA[Oracle Tip]]></category>
		<category><![CDATA[large directories]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.squaredba.com/?p=244</guid>
		<description><![CDATA[Recently I was looking to clear some space on one of my Oracle servers. I looked for large files with this command: find . -type f -size +100000k -exec ls -lh {} \; &#124; awk &#8216;{ print $9 &#8220;: &#8221; $5 }&#8217; This looks for files over 100MB, but other than datafiles there were very [...]]]></description>
		<wfw:commentRss>http://www.squaredba.com/finding-large-directories-244.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>What are cvutrace.log.* files</title>
		<link>http://www.squaredba.com/what-are-cvutrace-log-files-242.html</link>
		<comments>http://www.squaredba.com/what-are-cvutrace-log-files-242.html#comments</comments>
		<pubDate>Mon, 23 May 2011 07:54:31 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Oracle How-To]]></category>
		<category><![CDATA[Oracle Tip]]></category>
		<category><![CDATA[cvutrace.log]]></category>
		<category><![CDATA[SRVM_TRACE]]></category>

		<guid isPermaLink="false">http://www.squaredba.com/?p=242</guid>
		<description><![CDATA[I was looking to clear some space recently and ran across a 14G directory (/u01/app/grid/product/11.2.0/grid/cv/log). Inside there were a lot of files like &#8220;cvutrace.log.0_20100720015347&#8243;. These files are log files related to a RAC installaation. They can safely be deleted. To stop the files from being generated is add the following at the top of the [...]]]></description>
		<wfw:commentRss>http://www.squaredba.com/what-are-cvutrace-log-files-242.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Backing up your CRONTAB</title>
		<link>http://www.squaredba.com/backing-up-your-crontab-230.html</link>
		<comments>http://www.squaredba.com/backing-up-your-crontab-230.html#comments</comments>
		<pubDate>Mon, 18 Apr 2011 18:52:00 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Oracle How-To]]></category>
		<category><![CDATA[Oracle Tip]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[CRON]]></category>
		<category><![CDATA[CRONTAB]]></category>

		<guid isPermaLink="false">http://www.squaredba.com/?p=230</guid>
		<description><![CDATA[If you are running a lot of scripts through CRON you may want to have a current backup.  Since your CRON is simply a text schedule I prefer a daily email backup.  It&#8217;s simple and does what I need.  I add this line to my CRON: 00 0 * * * crontab -l &#62; crontablist.txt; [...]]]></description>
		<wfw:commentRss>http://www.squaredba.com/backing-up-your-crontab-230.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ORA-30926: unable to get a stable set of rows in the source tables</title>
		<link>http://www.squaredba.com/ora-30926-unable-to-get-a-stable-set-of-rows-in-the-source-tables-197.html</link>
		<comments>http://www.squaredba.com/ora-30926-unable-to-get-a-stable-set-of-rows-in-the-source-tables-197.html#comments</comments>
		<pubDate>Mon, 14 Jun 2010 21:21:19 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Oracle Tip]]></category>
		<category><![CDATA[merge]]></category>
		<category><![CDATA[ORA-30926]]></category>

		<guid isPermaLink="false">http://www.squaredba.com/?p=197</guid>
		<description><![CDATA[I received the error &#8220;ORA-30926: unable to get a stable set of rows in the source tables&#8221;. It&#8217;s the first time I have seen this error. I was doing a merge statement affecting about 1K rows. The problem was I was not fully matching on all the of the columns that would make the update [...]]]></description>
		<wfw:commentRss>http://www.squaredba.com/ora-30926-unable-to-get-a-stable-set-of-rows-in-the-source-tables-197.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ORA-00845: MEMORY_TARGET not supported on this system</title>
		<link>http://www.squaredba.com/ora-00845-memory_target-not-supported-on-this-system-187.html</link>
		<comments>http://www.squaredba.com/ora-00845-memory_target-not-supported-on-this-system-187.html#comments</comments>
		<pubDate>Tue, 09 Feb 2010 23:46:29 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Oracle Tip]]></category>
		<category><![CDATA[ORA-00845]]></category>

		<guid isPermaLink="false">http://www.squaredba.com/?p=187</guid>
		<description><![CDATA[Today I ran into the error &#8220;ORA-00845: MEMORY_TARGET not supported on this system&#8221;. I am still not sure exactly why. I shutdown the instance on a Oracle 11g R2 RAC node. Then a short time later I issued the startup command. The other instance on the other node was running fine and made no changes. [...]]]></description>
		<wfw:commentRss>http://www.squaredba.com/ora-00845-memory_target-not-supported-on-this-system-187.html/feed</wfw:commentRss>
		<slash:comments>0</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>Killing your own session</title>
		<link>http://www.squaredba.com/killing-your-own-session-141.html</link>
		<comments>http://www.squaredba.com/killing-your-own-session-141.html#comments</comments>
		<pubDate>Wed, 29 Jul 2009 19:59:32 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Oracle Tip]]></category>
		<category><![CDATA[kill session]]></category>
		<category><![CDATA[ORA-03113]]></category>

		<guid isPermaLink="false">http://www.squaredba.com/?p=141</guid>
		<description><![CDATA[Ever wanted to kill your own session? You know commit suicide; This works nicely: alter session set events 'immediate crash'; Nothing like a ORA-03113: end-of-file on communication channel to brighten your day.]]></description>
		<wfw:commentRss>http://www.squaredba.com/killing-your-own-session-141.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Starting the Oracle Enterprise Manager agent in 11g</title>
		<link>http://www.squaredba.com/starting-the-oracle-enterprise-manager-agent-in-11g-138.html</link>
		<comments>http://www.squaredba.com/starting-the-oracle-enterprise-manager-agent-in-11g-138.html#comments</comments>
		<pubDate>Wed, 22 Jul 2009 19:54:11 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Oracle Tip]]></category>
		<category><![CDATA[agent]]></category>
		<category><![CDATA[emctl]]></category>
		<category><![CDATA[grid control]]></category>
		<category><![CDATA[OEM]]></category>
		<category><![CDATA[Oracle Enterprise Manager]]></category>

		<guid isPermaLink="false">http://www.squaredba.com/?p=138</guid>
		<description><![CDATA[Do you need to start the Oracle Enterprise Manager agent in an 11g grid control environment? It&#8217;s pretty simple, here is the command. emctl start agent The biggest issue I see with this is people using the wrong emctl executable. Very often you will have a multiple executables. You may possibly have an emctl in [...]]]></description>
		<wfw:commentRss>http://www.squaredba.com/starting-the-oracle-enterprise-manager-agent-in-11g-138.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Finding currently running SQL</title>
		<link>http://www.squaredba.com/finding-currently-running-sql-135.html</link>
		<comments>http://www.squaredba.com/finding-currently-running-sql-135.html#comments</comments>
		<pubDate>Tue, 14 Jul 2009 15:58:53 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Oracle How-To]]></category>
		<category><![CDATA[Oracle Tip]]></category>
		<category><![CDATA[executing]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[V$SESSION]]></category>
		<category><![CDATA[V$SESS_IO]]></category>
		<category><![CDATA[V$SQLAREA]]></category>
		<category><![CDATA[V$SQLTEXT]]></category>

		<guid isPermaLink="false">http://www.squaredba.com/?p=135</guid>
		<description><![CDATA[Have you needed to find out what SQL was running in the database? Much of my time is spent on out data warehouse where long expensive queries may be running. When someone calls to ask why things are running slow one area to look is what SQL are they running. The database may not be [...]]]></description>
		<wfw:commentRss>http://www.squaredba.com/finding-currently-running-sql-135.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced
Object Caching 545/634 objects using disk: basic

Served from: www.squaredba.com @ 2012-02-10 12:56:31 -->
