<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Christoph&#039;s 2 Oracle Cents</title>
	<atom:link href="http://ruepprich.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://ruepprich.wordpress.com</link>
	<description>Oracle from a developer&#039;s point of view.</description>
	<lastBuildDate>Fri, 20 Jan 2012 20:06:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='ruepprich.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Christoph&#039;s 2 Oracle Cents</title>
		<link>http://ruepprich.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://ruepprich.wordpress.com/osd.xml" title="Christoph&#039;s 2 Oracle Cents" />
	<atom:link rel='hub' href='http://ruepprich.wordpress.com/?pushpress=hub'/>
		<item>
		<title>The Quest for the CPU Patch</title>
		<link>http://ruepprich.wordpress.com/2012/01/20/the-quest-for-the-cpu-patch/</link>
		<comments>http://ruepprich.wordpress.com/2012/01/20/the-quest-for-the-cpu-patch/#comments</comments>
		<pubDate>Fri, 20 Jan 2012 20:06:14 +0000</pubDate>
		<dc:creator>Christoph Ruepprich</dc:creator>
				<category><![CDATA[Oracle Developement]]></category>

		<guid isPermaLink="false">http://ruepprich.wordpress.com/?p=487</guid>
		<description><![CDATA[So I get an email from Oracle Support telling me that I need to patch my database with the latest and greatest Critical Patch Update: CPUJAN2012. Ok. No problem. I log into My Oracle Support, go to the patch page and search for CPUJAN2012. What does the search return? Nothing! Ugh! So I start searching [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ruepprich.wordpress.com&amp;blog=12765658&amp;post=487&amp;subd=ruepprich&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>So I get an email from Oracle Support telling me that I need to patch my database with the latest and greatest Critical Patch Update: CPUJAN2012. Ok. No problem.</p>
<p>I log into My Oracle Support, go to the patch page and search for CPUJAN2012. What does the search return? Nothing! Ugh! So I start searching by &#8220;Product or Family&#8221;, and get 108 hits. But where is CPUJAN2012?</p>
<p>Well, usually when I try to find something on a web page I hit CTRL-F, but that doesn&#8217;t work on My Oracle Support! Now I&#8217;m supposed to read through all of the search results? Aaaaargh!</p>
<p>Why can&#8217;t Oracle just provide a link inside the notification email to the patch?</p>
<p>After opening and SR on this issue I was asked to look at Doc. ID 1119703.1, the Database PSU-CPU Cross-Reference List. This document actually had the link to the patch and I found it right away.</p>
<p>Am I missing something here? Shouldn&#8217;t locating a critical patch be a lot easier? Am I the only one not aware of document 1119703.1?</p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ruepprich.wordpress.com/487/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ruepprich.wordpress.com/487/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ruepprich.wordpress.com/487/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ruepprich.wordpress.com/487/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ruepprich.wordpress.com/487/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ruepprich.wordpress.com/487/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ruepprich.wordpress.com/487/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ruepprich.wordpress.com/487/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ruepprich.wordpress.com/487/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ruepprich.wordpress.com/487/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ruepprich.wordpress.com/487/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ruepprich.wordpress.com/487/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ruepprich.wordpress.com/487/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ruepprich.wordpress.com/487/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ruepprich.wordpress.com&amp;blog=12765658&amp;post=487&amp;subd=ruepprich&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ruepprich.wordpress.com/2012/01/20/the-quest-for-the-cpu-patch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bff983872829c1390c4cd49eba617931?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Christoph</media:title>
		</media:content>
	</item>
		<item>
		<title></title>
		<link>http://ruepprich.wordpress.com/2011/12/30/480/</link>
		<comments>http://ruepprich.wordpress.com/2011/12/30/480/#comments</comments>
		<pubDate>Fri, 30 Dec 2011 14:51:02 +0000</pubDate>
		<dc:creator>Christoph Ruepprich</dc:creator>
				<category><![CDATA[Oracle Developement]]></category>

		<guid isPermaLink="false">http://ruepprich.wordpress.com/?p=480</guid>
		<description><![CDATA[Free counters<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ruepprich.wordpress.com&amp;blog=12765658&amp;post=480&amp;subd=ruepprich&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img style="visibility:hidden;width:0;height:0;" border="0" width="0" height="0" src="http://c.gigcount.com/wildfire/IMP/CXNID=2000002.0NXC/bHQ9MTMyNTI1NjYzNTQ1OCZwdD*xMzI1MjU2NjU4OTQwJnA9MTQ2NDgxJmQ9Jm49d29yZHByZXNzJmc9MSZvPTU4YmE*MGRjZGQx/YjQzMWE5MjgzZThhZjI5MTJiMTczJm9mPTA=.gif" /><a href="http://s10.flagcounter.com/more/wk2F"><img src="http://s10.flagcounter.com/count/wk2F/bg_FFFFFF/txt_000000/border_CCCCCC/columns_2/maxflags_12/viewers_0/labels_0/pageviews_0/flags_0/" alt="free counters" border="0"/></a><br /><a href="http://www.flagcounter.com/">Free counters</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ruepprich.wordpress.com/480/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ruepprich.wordpress.com/480/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ruepprich.wordpress.com/480/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ruepprich.wordpress.com/480/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ruepprich.wordpress.com/480/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ruepprich.wordpress.com/480/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ruepprich.wordpress.com/480/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ruepprich.wordpress.com/480/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ruepprich.wordpress.com/480/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ruepprich.wordpress.com/480/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ruepprich.wordpress.com/480/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ruepprich.wordpress.com/480/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ruepprich.wordpress.com/480/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ruepprich.wordpress.com/480/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ruepprich.wordpress.com&amp;blog=12765658&amp;post=480&amp;subd=ruepprich&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ruepprich.wordpress.com/2011/12/30/480/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bff983872829c1390c4cd49eba617931?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Christoph</media:title>
		</media:content>

		<media:content url="http://c.gigcount.com/wildfire/IMP/CXNID=2000002.0NXC/bHQ9MTMyNTI1NjYzNTQ1OCZwdD*xMzI1MjU2NjU4OTQwJnA9MTQ2NDgxJmQ9Jm49d29yZHByZXNzJmc9MSZvPTU4YmE*MGRjZGQx/YjQzMWE5MjgzZThhZjI5MTJiMTczJm9mPTA=.gif" medium="image" />

		<media:content url="http://s10.flagcounter.com/count/wk2F/bg_FFFFFF/txt_000000/border_CCCCCC/columns_2/maxflags_12/viewers_0/labels_0/pageviews_0/flags_0/" medium="image">
			<media:title type="html">free counters</media:title>
		</media:content>
	</item>
		<item>
		<title>Query up a list of files from OS directory</title>
		<link>http://ruepprich.wordpress.com/2011/12/16/query-up-a-list-of-files-from-os-directory/</link>
		<comments>http://ruepprich.wordpress.com/2011/12/16/query-up-a-list-of-files-from-os-directory/#comments</comments>
		<pubDate>Fri, 16 Dec 2011 17:18:36 +0000</pubDate>
		<dc:creator>Christoph Ruepprich</dc:creator>
				<category><![CDATA[Oracle Developement]]></category>

		<guid isPermaLink="false">http://ruepprich.wordpress.com/?p=473</guid>
		<description><![CDATA[Ever wish you could get a list of file from your server simply by executing a SELECT statement? Here is a list of PL/SQL and Java programs that allow you to do just that in your Oracle database. For this example I used an Oracle 11.2.0.1.0 Standard Edition database on Red Hat Linux 6. To [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ruepprich.wordpress.com&amp;blog=12765658&amp;post=473&amp;subd=ruepprich&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Ever wish you could get a list of file from your server simply by executing a SELECT statement? Here is a list of PL/SQL and Java programs that allow you to do just that in your Oracle database. For this example I used an Oracle 11.2.0.1.0 Standard Edition database on Red Hat Linux 6.</p>
<p>To get access to a directory on the server on which the database is installed, you need to utilize a Java stored procedure. Not being much of a Java programmer, I took an example from <a title="AskTom" href="http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:439619916584" target="_blank">AskTom </a>for that, and made a few modifications. This procedure uses the File class to retrieve directory information, and then writes the file details to a database table. I then used a <a title="Using a pipelined function for a flexible view." href="http://ruepprich.wordpress.com/2010/08/11/using-a-pipelined-function-for-a-flexible-view/" target="_blank">pipelined </a>function to call the Java code. The piplined function makes it possible to then use the function call in a select statement:</p>
<pre>SELECT * FROM TABLE(dir_list_fn('/home/oracle/'));</pre>
<p>In Tom&#8217;s example, the Java procedure writes the file list to a global temporary table. I found that I couldn&#8217;t do that with this method. Since the Java procedure executes DML and piplelined functions do not allow for DML inside them, I had to create a work-around: I had my pipelined function call another function that runs as an autonomous transaction. That function then calls the Java that does the DML. Since now the DML was one session removed from the pipelined function, I had to use a regular table to hold the file list.</p>
<p>The columns returned in the query are:</p>
<ul>
<li>FILENAME- name of the OS file/directory</li>
<li>MOD_DATE &#8211; file modification date</li>
<li>TYPE &#8211; File type: f = file or pipe, d = directory</li>
</ul>
<p>Take a look at the code and try it.</p>
<p><pre class="brush: sql;">
-- Create objects to support SELECT statemtents against server directories.
-- Make sure that the user as the JAVAUSERPRIV
-- Christoph Ruepprich http://ruepprich.wordpress.com
-- cruepprich@gmail.com

create table DIRECTORY_LIST
(
  filename VARCHAR2(255),
  length   NUMBER,
  mod_date DATE,
  type     VARCHAR2(1)
);

CREATE OR REPLACE TYPE t_dir_list_rec AS OBJECT
(
  filename VARCHAR2(255),
  length   NUMBER,
  mod_date DATE,
  TYPE     VARCHAR2(1)
);
/

CREATE OR REPLACE TYPE t_dir_list_tab AS TABLE OF t_dir_list_rec;
/

create or replace and compile java source named &quot;DirList&quot; as
import java.io.*;
import java.sql.*;
import java.text.SimpleDateFormat;
import java.util.Date;

public class DirList
{
public static void getList(String directory)
                   throws SQLException
{
    //Thanks to asktom.oracle.com for initial code sample

    File path = new File( directory );
    String[] list = path.list();
    String element;

    File fileObject;
    long length;
    String dateStr, type;
    Date now = new Date();
    SimpleDateFormat format = new SimpleDateFormat(&quot;dd-MM-yyyy H:m:s&quot;);

    for(int i = 0; i &lt; list.length; i++)
    {
        element = list[i];
        fileObject = new File(directory + File.separatorChar + list[i]);
        length = fileObject.length();
        if (fileObject.isDirectory()) {
          type = &quot;d&quot;;
        } else if (fileObject.isFile()) {
          type = &quot;f&quot;;
        } else {
          type = &quot;?&quot;;
        }

        java.util.Date d = new java.util.Date(fileObject.lastModified());
        dateStr = format.format(d);

        #sql { INSERT INTO directory_list (filename,length, mod_date, type)
               VALUES (:element, :length, to_date(:dateStr,'dd-mm-yyyy hh24:mi:ss'), :type) };
    }
}

}
/

create or replace procedure get_dir_list( p_directory in varchar2 )
as language java
name 'DirList.getList( java.lang.String )';
/

CREATE OR REPLACE PROCEDURE call_get_dir_list(p_directory IN VARCHAR2) IS
  PRAGMA AUTONOMOUS_TRANSACTION;
BEGIN
  EXECUTE IMMEDIATE 'truncate table directory_list';
  get_dir_list(p_directory);
  COMMIT;
END;
/

CREATE OR REPLACE FUNCTION dir_list_fn(p_directory IN VARCHAR2)
  RETURN t_dir_list_tab
  PIPELINED IS
  TYPE l_cur_type IS REF CURSOR;
  l_cur l_cur_type;
  l_rec directory_list%ROWTYPE;
  l_sql VARCHAR2(1000);
  x     NUMBER;
BEGIN
  l_sql := 'SELECT * FROM directory_list';
  call_get_dir_list(p_directory);

  OPEN l_cur FOR l_sql;
  LOOP
    FETCH l_cur
      INTO l_rec;
    EXIT WHEN l_cur%NOTFOUND;
    PIPE ROW(t_dir_list_rec(filename =&gt; l_rec.filename,
                            length   =&gt; l_rec.length,
                            mod_date =&gt; l_rec.mod_date,
                            TYPE     =&gt; l_rec.type));
  END LOOP;

  RETURN;

END dir_list_fn;
/

col filename for a30
col type for a5
set pagesize 30
set linesize 100
set termout on feedback on

SELECT * FROM TABLE(dir_list_fn('/')) ORDER BY filename;

</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ruepprich.wordpress.com/473/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ruepprich.wordpress.com/473/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ruepprich.wordpress.com/473/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ruepprich.wordpress.com/473/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ruepprich.wordpress.com/473/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ruepprich.wordpress.com/473/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ruepprich.wordpress.com/473/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ruepprich.wordpress.com/473/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ruepprich.wordpress.com/473/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ruepprich.wordpress.com/473/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ruepprich.wordpress.com/473/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ruepprich.wordpress.com/473/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ruepprich.wordpress.com/473/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ruepprich.wordpress.com/473/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ruepprich.wordpress.com&amp;blog=12765658&amp;post=473&amp;subd=ruepprich&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ruepprich.wordpress.com/2011/12/16/query-up-a-list-of-files-from-os-directory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bff983872829c1390c4cd49eba617931?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Christoph</media:title>
		</media:content>
	</item>
		<item>
		<title>How to quickly remove those pesky line numbers from copied code.</title>
		<link>http://ruepprich.wordpress.com/2011/12/15/how-to-quickly-remove-those-pesky-line-numbers-from-copied-code/</link>
		<comments>http://ruepprich.wordpress.com/2011/12/15/how-to-quickly-remove-those-pesky-line-numbers-from-copied-code/#comments</comments>
		<pubDate>Thu, 15 Dec 2011 16:01:20 +0000</pubDate>
		<dc:creator>Christoph Ruepprich</dc:creator>
				<category><![CDATA[Oracle Developement]]></category>
		<category><![CDATA[gvim]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[sql*plus]]></category>
		<category><![CDATA[vi]]></category>

		<guid isPermaLink="false">http://ruepprich.wordpress.com/?p=440</guid>
		<description><![CDATA[If you&#8217;re like me, you cut &#38; past tons of code. Especially from sites like Ask Tom. The trouble is however, that often line numbers are included in the copied text, and you have to remove those before you can paste it into your development environment. If you use vi or gvim, you can quickly [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ruepprich.wordpress.com&amp;blog=12765658&amp;post=440&amp;subd=ruepprich&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re like me, you cut &amp; past tons of code. Especially from sites like <a href="http://asktom.oracle.com" title="Ask Tom" target="_blank">Ask Tom</a>. The trouble is however, that often line numbers are included in the copied text, and you have to remove those before you can paste it into your development environment.</p>
<p>If you use vi or gvim, you can quickly remove the line numbers and empty spaces from your code with this command:</p>
<p><code>%s/^ \{1,}[0-9]\{1,} //</code></p>
<p>Good luck!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ruepprich.wordpress.com/440/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ruepprich.wordpress.com/440/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ruepprich.wordpress.com/440/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ruepprich.wordpress.com/440/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ruepprich.wordpress.com/440/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ruepprich.wordpress.com/440/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ruepprich.wordpress.com/440/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ruepprich.wordpress.com/440/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ruepprich.wordpress.com/440/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ruepprich.wordpress.com/440/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ruepprich.wordpress.com/440/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ruepprich.wordpress.com/440/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ruepprich.wordpress.com/440/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ruepprich.wordpress.com/440/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ruepprich.wordpress.com&amp;blog=12765658&amp;post=440&amp;subd=ruepprich&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ruepprich.wordpress.com/2011/12/15/how-to-quickly-remove-those-pesky-line-numbers-from-copied-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bff983872829c1390c4cd49eba617931?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Christoph</media:title>
		</media:content>
	</item>
		<item>
		<title>An AWKward look at tkprof.</title>
		<link>http://ruepprich.wordpress.com/2011/12/01/condense-tkprof-output-with-awk/</link>
		<comments>http://ruepprich.wordpress.com/2011/12/01/condense-tkprof-output-with-awk/#comments</comments>
		<pubDate>Thu, 01 Dec 2011 18:13:26 +0000</pubDate>
		<dc:creator>Christoph Ruepprich</dc:creator>
				<category><![CDATA[Oracle Developement]]></category>
		<category><![CDATA[Oracle Performance]]></category>
		<category><![CDATA[Oracle Tools]]></category>

		<guid isPermaLink="false">http://ruepprich.wordpress.com/?p=434</guid>
		<description><![CDATA[Reading trough a tkprof file can be a long, arduous process. How do you find the things you’re looking for, without having to dredge through endless lines of trace data? Here are some awk one-liners that can help with that. What do you really care about in a trace file? Usually you are looking for [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ruepprich.wordpress.com&amp;blog=12765658&amp;post=434&amp;subd=ruepprich&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div>Reading trough a tkprof file can be a long, arduous process. How do you find the things you’re looking for, without having to dredge through endless lines of trace data?</div>
<div>Here are some awk one-liners that can help with that.</div>
<div>What do you really care about in a trace file? Usually you are looking for the SQL that either consumed the most time, or the most logical I/Os.</div>
<div>Here is a on-liner that will show you the top-5 SQL statements that took the most elapsed time: (in my examples the tkprof output file name is tk.txt)</div>
<p><code>awk '/^call/' tk.txt | head -n 1;  awk '/^total/' tk.txt | sort -k 4 -nr | head -n 5</code></p>
<div>The result looks something like this:</div>
<pre>call     count       cpu    elapsed       disk      query    current        rows
total        1      0.07     <b>332.15</b>         13         26         51           1
total        1      0.07     332.15         13         26         51           1
total   698231     48.27      72.56        478      57114    5254875     2260618
total       15     14.42      17.73         15       9249    2226312      139033
total       12     12.77      16.87         23      10983    2084232      107561</pre>
<div></div>
<div>You can see right away, that the SQL statement that took the longest, took 332.15 seconds to execute.</div>
<p><div>Explanation: The first awk statements simply displays the column headings. The second looks at all the totals, sorts them numerically descending, and displays only the first five records.</div>
<div>Notice that it sorts the fourth column, which is the elapsed time. To sort on a different column simply change the integer after the –k argument. The following columns are available:</div>
<pre>call     count       cpu    elapsed       disk      query    current        rows</pre>
<div>You can ingore the first column (call), which just tells you that we are looking at the totals for a particular SQL statement.</div>
<div>The meanings of the following columns are explained in the header of each tkprof output file:</div>
<pre>count    = number of times OCI procedure was executed
cpu      = cpu time in seconds executing
elapsed  = elapsed time in seconds executing
disk     = number of physical reads of buffers from disk
query    = number of buffers gotten for consistent read
current  = number of buffers gotten in current mode (usually for update)
rows     = number of rows processed by the fetch or execute call</pre>
<div>To find which SQL statement caused the particular elapsed time, simply search the tkprof output for that value.</div>
</p>
<hr />
<p><div>Another usefull one-liner condenses the tkprof file to where you only see the SQL statement and its execution totals. This keeps you from having to look a all the nitty gritty details:</div>
<p><code>awk 'tolower($1)~ /(^select)|(^insert)|(^update)|(^delete)|(^declare)|(^begin)/,/^$/ { print NR "\t" $0 } /^call/ { print NR "\t" $0 } /^total/ { print NR "\t" $0 "\n"}' tk.txt | less</code></p>
<div>The output looks something like this:</div>
<pre>10628   DELETE FROM SOME_TABLE
10629   WHERE
10630    STATUS = 'Q'
10631
10633   call     count       cpu    elapsed       disk      query    current        rows
10639   total        2      0.00       0.00          0          8          0           0
10646   BEGIN some_package.some_procedure; END;
10647
10649   call     count       cpu    elapsed       disk      query    current        rows
10655   total        1      0.07     332.15         13         26         51           1
10662   BEGIN
10663     MY_UTILITIES.PRC1;
10664   EXCEPTION
10665     WHEN OTHERS THEN
10666       LOG_ERROR(SYS_CONTEXT('USERENV'
10667                                      ,'SESSIONID')
10668                          ,PRC1);
10669   END;
10670
10671   call     count       cpu    elapsed       disk      query    current        rows
10677   total        2      0.00       0.00          0          0          0           1</pre>
<div></div>
<div>Explanation: This command looks for all the lines that begin with an SQL statement, then starts printing until it comes across an empty line. Then it looks for a line beginning with the word call and prints the column headings. Finally it skips down to the total line and prints the values, followed by a blank line. The output is then piped to less. You could also pipe it to another text file if you wish. The nice thing about less, however, is that you can search the output right there. So if you were looking for the SQL statement that caused the 332.15 seconds of elapsed time (see above), simple search the output with the forward slash:</div>
<pre>:/332.15</pre>
<div>The output will skip to the line with that occurance.</div>
</p>
<p></p>
<div>Conclusion: These two one-liners can help you quickly identify the SQL statements that take a long time to execute, or cause a lot of reads in your database. What they don&#8217;t do, is tell you why. To do that, you have to dive into the details of the tkprof output, or use a third party tool like the <a title="Hotsos Profiler" href="http://www.hotsos.com/profiler.html" target="_blank">Hotsos Profiler</a>. The Hotsos Profiler will actually tell you where the time went during the execution of an SQL statement, and will give you a definitive starting point for your performance optimization.</div></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ruepprich.wordpress.com/434/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ruepprich.wordpress.com/434/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ruepprich.wordpress.com/434/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ruepprich.wordpress.com/434/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ruepprich.wordpress.com/434/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ruepprich.wordpress.com/434/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ruepprich.wordpress.com/434/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ruepprich.wordpress.com/434/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ruepprich.wordpress.com/434/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ruepprich.wordpress.com/434/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ruepprich.wordpress.com/434/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ruepprich.wordpress.com/434/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ruepprich.wordpress.com/434/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ruepprich.wordpress.com/434/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ruepprich.wordpress.com&amp;blog=12765658&amp;post=434&amp;subd=ruepprich&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ruepprich.wordpress.com/2011/12/01/condense-tkprof-output-with-awk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bff983872829c1390c4cd49eba617931?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Christoph</media:title>
		</media:content>
	</item>
		<item>
		<title>Formatting a USB Drive on Linux</title>
		<link>http://ruepprich.wordpress.com/2011/11/04/formatting-a-usb-flash-drive-on-linux/</link>
		<comments>http://ruepprich.wordpress.com/2011/11/04/formatting-a-usb-flash-drive-on-linux/#comments</comments>
		<pubDate>Fri, 04 Nov 2011 15:27:39 +0000</pubDate>
		<dc:creator>Christoph Ruepprich</dc:creator>
				<category><![CDATA[Oracle Developement]]></category>

		<guid isPermaLink="false">http://ruepprich.wordpress.com/?p=404</guid>
		<description><![CDATA[This is something I just don&#8217;t do often enough to remember all the steps. So here is a little reminder for how to format a USB drive. Insert the drive into the USB port Check the bottom of /var/log/messages to see which device it is. You&#8217;ll see a message that looks something like this: Nov [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ruepprich.wordpress.com&amp;blog=12765658&amp;post=404&amp;subd=ruepprich&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is something I just don&#8217;t do often enough to remember all the steps. So here is a little reminder for how to format a USB drive.</p>
<ul>
<li>Insert the drive into the USB port</li>
<li>Check the bottom of /var/log/messages to see which device it is. You&#8217;ll see a message that looks something like this:
<pre> Nov 4 08:44:38 svr: scsi6 : SCSI emulation for USB Mass Storage devices
 Nov 4 08:44:44 svr: Vendor: PNY Model: USB 2.0 FD Rev: 1638
 Nov 4 08:44:44 svr: Type: Direct-Access ANSI SCSI revision: 00
 Nov 4 08:44:44 svr: SCSI device sdd: 31703040 512-byte hdwr sectors (16232 MB)
 Nov 4 08:44:44 svr: sdd: Write Protect is off
 Nov 4 08:44:44 svr: sdd: assuming drive cache: write through
 Nov 4 08:44:44 svr: SCSI device sdd: 31703040 512-byte hdwr sectors (16232 MB)
 Nov 4 08:44:44 svr: sdd: Write Protect is off
 Nov 4 08:44:44 svr: sdd: assuming drive cache: write through
 Nov 4 08:44:44 svr: <strong>sdd: sdd1</strong></pre>
</li>
</ul>
<p>In this case it is device sdd.</p>
<ul>
<li>Format the device (in this case sdd) with fdisk:
<pre>fdisk /dev/sdd</pre>
<ul>
<li>use &#8216;p&#8217; to print the current partition table</li>
<li>use &#8216;d&#8217; to delete partition(s)</li>
<li>use &#8216;n&#8217; to create a new primary partition (p)</li>
<li>use &#8216;p&#8217; to print the new partition table</li>
</ul>
<p>It should look something like this:</p>
<pre>Device Boot      Start         End      Blocks   Id  System
/dev/sdd1               1        2293    15849189   83  Linux</pre>
<ul>
<li>use &#8216;w&#8217; to write the new partition table</li>
</ul>
<p>&nbsp;</li>
<li>Create a new file system on the flash drive:
<pre>mkfs -t vfat /dev/sdd1</pre>
<p>In this example I use the vfat filesystem. You can choose other filesystems like ext2 or ext3. To get a list of filesystem available (maked in <span style="color:#3366ff;">blue</span> below) use:</p>
<pre>ls -l /sbin/mkfs*
-rwxr-xr-x. 1 root root 10336 May 21  2011 /sbin/mkfs
-rwxr-xr-x. 1 root root 26208 May 21  2011 /sbin/mkfs.<span style="color:#3366ff;">cramfs</span>
-rwxr-xr-x. 5 root root 66272 Mar 29  2011 /sbin/mkfs.<span style="color:#3366ff;">ext2</span>
-rwxr-xr-x. 5 root root 66272 Mar 29  2011 /sbin/mkfs.<span style="color:#3366ff;">ext3</span>
-rwxr-xr-x. 5 root root 66272 Mar 29  2011 /sbin/mkfs.<span style="color:#3366ff;">ext4</span>
-rwxr-xr-x. 5 root root 66272 Mar 29  2011 /sbin/mkfs.<span style="color:#3366ff;">ext4dev</span>
lrwxrwxrwx. 1 root root     7 Nov  6 20:17 /sbin/mkfs.<span style="color:#3366ff;">msdos</span> -&gt; mkdosfs
lrwxrwxrwx. 1 root root     7 Nov  6 20:17 /sbin/mkfs.<span style="color:#3366ff;">vfat</span> -&gt; mkdosfs</pre>
</li>
<li>Create a directory into which to mount the flash drive:
<pre>mkdir /media/usb</pre>
</li>
<li>Mount the flash drive:
<pre>mount /dev/sdd1 /media/usb</pre>
</li>
</ul>
<p>And that should do it.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ruepprich.wordpress.com/404/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ruepprich.wordpress.com/404/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ruepprich.wordpress.com/404/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ruepprich.wordpress.com/404/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ruepprich.wordpress.com/404/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ruepprich.wordpress.com/404/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ruepprich.wordpress.com/404/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ruepprich.wordpress.com/404/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ruepprich.wordpress.com/404/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ruepprich.wordpress.com/404/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ruepprich.wordpress.com/404/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ruepprich.wordpress.com/404/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ruepprich.wordpress.com/404/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ruepprich.wordpress.com/404/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ruepprich.wordpress.com&amp;blog=12765658&amp;post=404&amp;subd=ruepprich&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ruepprich.wordpress.com/2011/11/04/formatting-a-usb-flash-drive-on-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bff983872829c1390c4cd49eba617931?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Christoph</media:title>
		</media:content>
	</item>
		<item>
		<title>Renaming a database as easily as 1..23</title>
		<link>http://ruepprich.wordpress.com/2011/10/27/renaming-a-database-in-23-easy-steps/</link>
		<comments>http://ruepprich.wordpress.com/2011/10/27/renaming-a-database-in-23-easy-steps/#comments</comments>
		<pubDate>Thu, 27 Oct 2011 19:24:05 +0000</pubDate>
		<dc:creator>Christoph Ruepprich</dc:creator>
				<category><![CDATA[Oracle Developement]]></category>

		<guid isPermaLink="false">http://ruepprich.wordpress.com/?p=390</guid>
		<description><![CDATA[In this example I renamed a database from cmr1 to vrep. I also include steps to make sure that the datafiles, control files, and audit files reside in directories that contain the SID name. Log in as sysdba. Verify the database name SYS@cmr1 AS SYSDBA&#62;select name from v$database; NAME --------- CMR1 alter system switch logfile; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ruepprich.wordpress.com&amp;blog=12765658&amp;post=390&amp;subd=ruepprich&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In this example I renamed a database from cmr1 to vrep. I also include steps to make sure that the datafiles, control files, and audit files reside in directories that contain the SID name.</p>
<ol>
<li>Log in as sysdba.</li>
<li>Verify the database name</li>
<pre>SYS@cmr1 AS SYSDBA&gt;select name from v$database;

NAME
---------
CMR1</pre>
<li>alter system switch logfile;</li>
<li>create pfile from spfile;</li>
<li>alter database backup controlfile to trace;</li>
<li>shutdown immediate;</li>
<li>Edit the tracefile from step 5:<br />
Find the line reading: <strong>Set #2. RESETLOGS case</strong></li>
<li>Remove all lines above this line.</li>
<li>Change the line containing the database name from
<pre>CREATE CONTROLFILE <strong>REUSE</strong> DATABASE <strong>cmr1</strong> RESETLOGS NOARCHIVELOG</pre>
</li>
<p>to</p>
<pre>CREATE CONTROLFILE <strong>SET</strong> DATABASE <strong>vrep</strong> RESETLOGS NOARCHIVELOG</pre>
<p>Note, in my case, the database is running in noarchive log mode. The corresponding line reads ARCHIVELOG otherwise.</p>
<li>Rename all directory references from cmr1 to vrep</li>
<li>Remove the line reading RECOVER DATABASE USING BACKUP CONTROLFILE.</li>
<li>Remove lines starting with # and all unneccesary comments at the end of the file.</li>
<li>Rename this file to db_rename.sql</li>
<li>Change directories to the directory where all the datafiles are.</li>
<li>Rename the directory from cmr1 to vrep (this should reflect the path from the db_rename.sql file).cd</li>
<li>Find the control files and rename them to control01.ora.cmr1.bak</li>
<li>Create an admin directory in your $ORACLE_BASE with all the sub directories:</li>
<li>mkdir /u01/app/oracle/admin/vrep/udump|bdump|dpdump|pfile</li>
<li>Rename the pfile created in step 4 to initrep.ora (init&lt;SID&gt;.ora).</li>
<li>Edit the pifle and change all cmr1 references to vrep.</li>
<li>Set the environment to register the new database SID. (Typically this would be in the .bash_profile. You should just have to set ORACLE_SID=vrep)</li>
<li>Log into sql*plus as sysdba and run db_name.sql</li>
<li>Also make sure to reflect the new database name in the /etc/oratab file</li>
</ol>
<pre>SQL*Plus: Release 11.2.0.1.0 Production on Thu Oct 27 14:12:44 2011

Copyright (c) 1982, 2009, Oracle. All rights reserved.

Connected to an idle instance.

SYS@vtgt AS SYSDBA&gt;@db_rename
ORACLE instance started.

Total System Global Area 539848704 bytes
Fixed Size 1337748 bytes
Variable Size 411043436 bytes
Database Buffers 121634816 bytes
Redo Buffers 5832704 bytes

Control file created.

Database altered.

Tablespace altered.

SYS@vtgt AS SYSDBA&gt;select name from v$database;

NAME
---------
VTGT

SYS@vtgt AS SYSDBA&gt;</pre>
<h3>Troubleshooting:</h3>
<h3>
<p>Typically, if things go wrong, there may be a typo involved. Check the db_rename.sql and the init&lt;SID&gt;.ora file. Make sure all the paths are valid and that the directories referenced acutally exists, and that they have the correct permissions.</p>
<p>If the db_rename.sql fails, you may not be able to shut down the database. In that case you may want to find the right OS processes and kill them manually.</h3>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ruepprich.wordpress.com/390/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ruepprich.wordpress.com/390/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ruepprich.wordpress.com/390/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ruepprich.wordpress.com/390/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ruepprich.wordpress.com/390/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ruepprich.wordpress.com/390/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ruepprich.wordpress.com/390/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ruepprich.wordpress.com/390/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ruepprich.wordpress.com/390/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ruepprich.wordpress.com/390/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ruepprich.wordpress.com/390/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ruepprich.wordpress.com/390/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ruepprich.wordpress.com/390/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ruepprich.wordpress.com/390/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ruepprich.wordpress.com&amp;blog=12765658&amp;post=390&amp;subd=ruepprich&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ruepprich.wordpress.com/2011/10/27/renaming-a-database-in-23-easy-steps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bff983872829c1390c4cd49eba617931?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Christoph</media:title>
		</media:content>
	</item>
		<item>
		<title>Cloudy Days Ahead</title>
		<link>http://ruepprich.wordpress.com/2011/10/26/cloudy-days-ahead/</link>
		<comments>http://ruepprich.wordpress.com/2011/10/26/cloudy-days-ahead/#comments</comments>
		<pubDate>Wed, 26 Oct 2011 18:42:19 +0000</pubDate>
		<dc:creator>Christoph Ruepprich</dc:creator>
				<category><![CDATA[Oracle Developement]]></category>

		<guid isPermaLink="false">http://ruepprich.wordpress.com/?p=384</guid>
		<description><![CDATA[Oracle Announced the Oracle Cloud at Open World this year For more information go to cloud.oracle.com.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ruepprich.wordpress.com&amp;blog=12765658&amp;post=384&amp;subd=ruepprich&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h4>Oracle Announced the Oracle Cloud at Open World this year</h4>
<span class='embed-youtube' style='text-align:center; display: block;'><iframe class='youtube-player' type='text/html' width='550' height='340' src='http://www.youtube.com/embed/cAra36lgLxc?version=3&amp;rel=1&amp;fs=1&amp;showsearch=0&amp;showinfo=1&amp;iv_load_policy=1&amp;wmode=transparent' frameborder='0'></iframe></span>
<p>For more information go to <a title="Oracle Cloud" href="http://cloud.oracle.com" target="_blank">cloud.oracle.com</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ruepprich.wordpress.com/384/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ruepprich.wordpress.com/384/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ruepprich.wordpress.com/384/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ruepprich.wordpress.com/384/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ruepprich.wordpress.com/384/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ruepprich.wordpress.com/384/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ruepprich.wordpress.com/384/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ruepprich.wordpress.com/384/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ruepprich.wordpress.com/384/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ruepprich.wordpress.com/384/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ruepprich.wordpress.com/384/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ruepprich.wordpress.com/384/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ruepprich.wordpress.com/384/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ruepprich.wordpress.com/384/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ruepprich.wordpress.com&amp;blog=12765658&amp;post=384&amp;subd=ruepprich&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ruepprich.wordpress.com/2011/10/26/cloudy-days-ahead/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bff983872829c1390c4cd49eba617931?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Christoph</media:title>
		</media:content>
	</item>
		<item>
		<title>Datapump API Presentation at DOUG</title>
		<link>http://ruepprich.wordpress.com/2011/10/21/datapump-api-presentation-at-doug/</link>
		<comments>http://ruepprich.wordpress.com/2011/10/21/datapump-api-presentation-at-doug/#comments</comments>
		<pubDate>Fri, 21 Oct 2011 13:53:23 +0000</pubDate>
		<dc:creator>Christoph Ruepprich</dc:creator>
				<category><![CDATA[Oracle Developement]]></category>

		<guid isPermaLink="false">http://ruepprich.wordpress.com/?p=356</guid>
		<description><![CDATA[Yesterday, the Dallas Oracle Users Group (DOUG) was kind enough to allow me to give a presentation on the Oracle Datapump API. In this presentation I dove into the dbms_datapump package, talked about its procedures and functions and how to use them to perform Datapump exports and imports. I have made a copy of my presentation [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ruepprich.wordpress.com&amp;blog=12765658&amp;post=356&amp;subd=ruepprich&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Yesterday, the <a title="DOUG" href="http://www.doug.org/" target="_blank">Dallas Oracle</a><a title="DOUG" href="http://www.doug.org/" target="_blank"> Users Group</a> (DOUG) was kind enough to allow me to give a presentation on the Oracle Datapump API.</p>
<p>In this presentation I dove into the dbms_datapump package, talked about its procedures and functions and how to use them to perform Datapump exports and imports.</p>
<p>I have made a copy of my presentation slides available on <a title="DropBox" href="https://www.dropbox.com" target="_blank">DropBox</a>. There is also a zip file with some example scripts, showing how to perform various tasks using the Datapump API.I would be happy for any feedback regarding the presentation, <a title="Datapump Slides" href="http://dl.dropbox.com/u/14384334/The_Oracle_Datapump_API%20.pdf" target="_blank">slides</a>, or <a title="Datapump Demo Scripts" href="http://dl.dropbox.com/u/14384334/datapump_demo.zip" target="_blank">scripts</a>.</p>
<p><a href="https://www.dropbox.com/home/ChristophsBlog"><img class="alignleft size-medium wp-image-359" title="Datapump Presentation" src="http://ruepprich.files.wordpress.com/2011/10/datapump.png?w=300&#038;h=154" alt="" width="300" height="154" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ruepprich.wordpress.com/356/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ruepprich.wordpress.com/356/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ruepprich.wordpress.com/356/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ruepprich.wordpress.com/356/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ruepprich.wordpress.com/356/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ruepprich.wordpress.com/356/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ruepprich.wordpress.com/356/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ruepprich.wordpress.com/356/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ruepprich.wordpress.com/356/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ruepprich.wordpress.com/356/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ruepprich.wordpress.com/356/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ruepprich.wordpress.com/356/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ruepprich.wordpress.com/356/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ruepprich.wordpress.com/356/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ruepprich.wordpress.com&amp;blog=12765658&amp;post=356&amp;subd=ruepprich&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ruepprich.wordpress.com/2011/10/21/datapump-api-presentation-at-doug/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bff983872829c1390c4cd49eba617931?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Christoph</media:title>
		</media:content>

		<media:content url="http://ruepprich.files.wordpress.com/2011/10/datapump.png?w=300" medium="image">
			<media:title type="html">Datapump Presentation</media:title>
		</media:content>
	</item>
		<item>
		<title>Installing a new login screen on RHEL</title>
		<link>http://ruepprich.wordpress.com/2011/10/11/installing-a-new-login-screen-on-rhel/</link>
		<comments>http://ruepprich.wordpress.com/2011/10/11/installing-a-new-login-screen-on-rhel/#comments</comments>
		<pubDate>Tue, 11 Oct 2011 13:43:25 +0000</pubDate>
		<dc:creator>Christoph Ruepprich</dc:creator>
				<category><![CDATA[Oracle Developement]]></category>

		<guid isPermaLink="false">http://ruepprich.wordpress.com/?p=347</guid>
		<description><![CDATA[So you&#8217;re running Oracle on REHL, and you&#8217;re tired of looking at the same old, boring login screen. Or you may be running multiple VMs and want to make a visual difference between them. Here is a way to edit the GDM (Gnome Display Manager) to add a few more themes that will provide you [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ruepprich.wordpress.com&amp;blog=12765658&amp;post=347&amp;subd=ruepprich&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>So you&#8217;re running Oracle on REHL, and you&#8217;re tired of looking at the same old, boring login screen. Or you may be running multiple VMs and want to make a visual difference between them. Here is a way to edit the GDM (Gnome Display Manager) to add a few more themes that will provide you with a different login screen, and possibly, a cool looking Oracle VM.</p>
<p>To get some new GDM themes go to <a href="http://art.gnome.org%2C/" target="_blank">http://art.gnome.org,</a> select Themes&gt;GDM Greeter, and choose download the ones you like. Once downloaded, unzip them to /usr/share/gdm/themes.</p>
<p>RHEL 5 comes with a number of commands that allow you to manage the available GDM themes. To test a theme and see what it looks like, you can use:</p>
<p><span class="Apple-style-span" style="font-family:Consolas, Monaco, monospace;font-size:12px;line-height:18px;white-space:pre;">$ gdmthemetester console &lt;themename&gt;</span></p>
<p>Once you&#8217;ve decided on a theme, use the following command to select it:</p>
<pre>$ gdmsetup &lt;themename&gt;</pre>
<p>Finally, apply the theme:</p>
<pre>$ gdm-restart</pre>
<p>Have fun!</p>
<p><a href="http://ruepprich.files.wordpress.com/2011/10/manzana.png"><img class="alignleft size-medium wp-image-374" title="manzana" src="http://ruepprich.files.wordpress.com/2011/10/manzana.png?w=300&#038;h=230" alt="" width="300" height="230" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ruepprich.wordpress.com/347/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ruepprich.wordpress.com/347/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ruepprich.wordpress.com/347/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ruepprich.wordpress.com/347/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ruepprich.wordpress.com/347/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ruepprich.wordpress.com/347/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ruepprich.wordpress.com/347/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ruepprich.wordpress.com/347/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ruepprich.wordpress.com/347/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ruepprich.wordpress.com/347/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ruepprich.wordpress.com/347/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ruepprich.wordpress.com/347/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ruepprich.wordpress.com/347/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ruepprich.wordpress.com/347/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ruepprich.wordpress.com&amp;blog=12765658&amp;post=347&amp;subd=ruepprich&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ruepprich.wordpress.com/2011/10/11/installing-a-new-login-screen-on-rhel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bff983872829c1390c4cd49eba617931?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Christoph</media:title>
		</media:content>

		<media:content url="http://ruepprich.files.wordpress.com/2011/10/manzana.png?w=300" medium="image">
			<media:title type="html">manzana</media:title>
		</media:content>
	</item>
	</channel>
</rss>
