<?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>Steve Karam :: The Oracle Alchemist &#187; Fun</title>
	<atom:link href="http://www.oraclealchemist.com/category/fun/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.oraclealchemist.com</link>
	<description>Steve Karam's Oracle Blog</description>
	<lastBuildDate>Fri, 14 Aug 2009 05:01:32 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>A million kernels, a million I tell you!</title>
		<link>http://www.oraclealchemist.com/oracle/a-million-kernels-a-million-i-tell-you/</link>
		<comments>http://www.oraclealchemist.com/oracle/a-million-kernels-a-million-i-tell-you/#comments</comments>
		<pubDate>Wed, 05 Aug 2009 00:13:56 +0000</pubDate>
		<dc:creator>The Oracle Alchemist</dc:creator>
		<br />
<b>Warning</b>:  Invalid argument supplied for foreach() in <b>/home/steve/domains/oraclealchemist.com/public_html/wp-content/plugins/autometa/autometa.php</b> on line <b>300</b><br />
		<category><![CDATA[Fun]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Science]]></category>
		<category><![CDATA[Technology]]></category>

	<!-- AutoMeta Start -->
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://www.oraclealchemist.com/?p=174</guid>
		<description><![CDATA[This article describes how scientists at Sandia National Laboratories in Livermore were able to run a million linux kernels on a single system as virtual machines.
That&#8217;s a whole mess of VMs.  Given the enormous amount of growth the computing world has gone through in the last few decades, you have to wonder whether one [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.tgdaily.com/content/view/43480/108/">This article</a> describes how scientists at Sandia National Laboratories in Livermore were able to run a million linux kernels on a single system as virtual machines.</p>
<div id="attachment_175" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.oraclealchemist.com/wp-content/uploads/2009/08/dr-evil.jpg"><img src="http://www.oraclealchemist.com/wp-content/uploads/2009/08/dr-evil-300x241.jpg" alt="One million kernels!" title="dr-evil" width="300" height="241" class="size-medium wp-image-175" /></a><p class="wp-caption-text">One million kernels!</p></div>
<p>That&#8217;s a whole mess of VMs.  Given the enormous amount of growth the computing world has gone through in the last few decades, you have to wonder whether one day we will be able to duplicate the internet as we know it today onto one single machine hosting millions (or billions) of VMs.  It&#8217;s an interesting concept, at the least!</p>
<p>Perhaps Oracle will find a niche in the million-VM-system world.  Oracle 15N &#8211; The Neuronetworked Database.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oraclealchemist.com/oracle/a-million-kernels-a-million-i-tell-you/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Ultimate Class!  Learn Oracle at Sea</title>
		<link>http://www.oraclealchemist.com/oracle/the-ultimate-class-learn-oracle-at-sea/</link>
		<comments>http://www.oraclealchemist.com/oracle/the-ultimate-class-learn-oracle-at-sea/#comments</comments>
		<pubDate>Thu, 30 Oct 2008 18:04:15 +0000</pubDate>
		<dc:creator>The Oracle Alchemist</dc:creator>
		<br />
<b>Warning</b>:  Invalid argument supplied for foreach() in <b>/home/steve/domains/oraclealchemist.com/public_html/wp-content/plugins/autometa/autometa.php</b> on line <b>300</b><br />
		<category><![CDATA[Fun]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[cruise]]></category>
		<category><![CDATA[dataguard]]></category>
		<category><![CDATA[rac]]></category>
		<category><![CDATA[streams]]></category>

	<!-- AutoMeta Start -->
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://www.oraclealchemist.com/?p=104</guid>
		<description><![CDATA[In the Steve Karam Philosophy, every DBA deserves a few things:

Access to Metalink
Loads of good coffee
At least two computers
A yearly cruise on which they can learn Oracle

There&#8217;s only one thing better than an Oracle class, and that&#8217;s an Oracle class taught by top notch instructors aboard a cruise ship sailing the western Caribbean.  I&#8217;ve [...]]]></description>
			<content:encoded><![CDATA[<p>In the Steve Karam Philosophy, every DBA deserves a few things:</p>
<ul>
<li>Access to Metalink</li>
<li>Loads of good coffee</li>
<li>At least two computers</li>
<li>A yearly cruise on which they can learn Oracle</li>
</ul>
<p>There&#8217;s only one thing better than an Oracle class, and that&#8217;s an Oracle class taught by top notch instructors aboard a cruise ship sailing the western Caribbean.  I&#8217;ve been on two such cruises, and they&#8217;re getting better every year.</p>
<p>Last year, I taught aboard the Carnival Glory in a three day RAC at Sea blitz.  This year I was joined by John Garmany and Don Burleson in our Oracle Tuning TechBlast at Sea aboard the Royal Caribbean Liberty of the Seas, where we explored many advanced Oracle topics: everything from object storage to backups to the optimizer.</p>
<p>In March of 2009, we&#8217;ll be setting sail again with the Oracle TechBlast at sea on the new Independence of the Seas, a veritable floating city.  One day of class will be held in the <a href="http://www.fortlauderdalegrande.com/">Ft. Lauderdale Grande Hotel and Yacht Club</a>, with the two remaining days being at-sea days aboard the ship.  Stops this year include Belize, Costa Maya, and Cozumel, with no class on port days!  Topics include Oracle RAC, Tuning, Streams, Dataguard, and more.</p>
<p>You can read all about <a href="http://www.dba-oracle.com/BC_cruise.htm">the 2009 TechBlast here</a>.</p>
<p>I hope that you can join myself, John Garmany, Andy Kerber, and Don Burleson as we run through a wide array of important Oracle topics.</p>
<p>Having a hard time convincing your boss?  <a href="http://www.dba-oracle.com/oracle_cruise_convince_boss.htm">Try these tactics!</a></p>
<p>It&#8217;s a great opportunity and a lot of fun.  Bring your friends, your family, and enjoy joining a group of fellow Oracle professionals in one of the best training opportunities out there.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oraclealchemist.com/oracle/the-ultimate-class-learn-oracle-at-sea/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Learn Databases from Tico the Fairy!</title>
		<link>http://www.oraclealchemist.com/oracle/learn-databases-from-tico-the-fairy/</link>
		<comments>http://www.oraclealchemist.com/oracle/learn-databases-from-tico-the-fairy/#comments</comments>
		<pubDate>Fri, 10 Oct 2008 17:44:07 +0000</pubDate>
		<dc:creator>The Oracle Alchemist</dc:creator>
				<category><![CDATA[Fun]]></category>
		<category><![CDATA[Oracle]]></category>

	<!-- AutoMeta Start -->
	<category></category>
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://www.oraclealchemist.com/?p=101</guid>
		<description><![CDATA[It seems I&#8217;m not the only one who has thought to use cartoons to explain databases to others.  On Amazon, you can now pre-order The Manga Guide to Databases, a graphic novel about database technology.
Follow Tico the Fairy as she teaches Princess Ruruna how to simply management of her nation with a well made [...]]]></description>
			<content:encoded><![CDATA[<p>It seems I&#8217;m not the only one who has thought to <a href="http://www.oraclealchemist.com/wp-content/uploads/2007/01/developers-and-dbas.ppt">use cartoons to explain databases</a> to others.  On Amazon, you can now pre-order <a href="http://www.amazon.com/gp/product/1593271905?ie=UTF8&#038;tag=alchemist-20&#038;linkCode=as2&#038;camp=1789&#038;creative=9325&#038;creativeASIN=1593271905">The Manga Guide to Databases</a><img src="http://www.assoc-amazon.com/e/ir?t=alchemist-20&#038;l=as2&#038;o=1&#038;a=1593271905" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />, a graphic novel about database technology.</p>
<p>Follow Tico the Fairy as she teaches Princess Ruruna how to simply management of her nation with a well made database.</p>
<p>Why not?  <a href="http://www.macworld.com/article/135304/2008/09/google_chrome.html?lsrc=rss_main">Google used a comic</a> to sell their new <a href="http://www.google.com/chrome">Chrome browser</a>, after all!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oraclealchemist.com/oracle/learn-databases-from-tico-the-fairy/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>The Best Oracle Headline You&#039;ll See All Year</title>
		<link>http://www.oraclealchemist.com/oracle/the-best-oracle-headline-youll-see-all-year/</link>
		<comments>http://www.oraclealchemist.com/oracle/the-best-oracle-headline-youll-see-all-year/#comments</comments>
		<pubDate>Thu, 09 Oct 2008 15:44:30 +0000</pubDate>
		<dc:creator>The Oracle Alchemist</dc:creator>
				<category><![CDATA[Fun]]></category>
		<category><![CDATA[Oracle]]></category>

	<!-- AutoMeta Start -->
	<category></category>
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://www.oraclealchemist.com/?p=96</guid>
		<description><![CDATA[For those of you who know me, you know that I like to keep an air of professionalism both in my work and in my online communications.  However, this was just too good to pass up&#8230;The Register has given us the best double entendre I&#8217;ve ever seen in an Oracle related article:
Actual Headline:  [...]]]></description>
			<content:encoded><![CDATA[<p>For those of you who know me, you know that I like to keep an air of professionalism both in my work and in my online communications.  However, this was just too good to pass up&#8230;The Register has given us the best double entendre I&#8217;ve ever seen in an Oracle related article:</p>
<p><strong>Actual Headline:</strong>  <a href="http://www.theregister.co.uk/2008/10/09/ellison_say_on_pay/" target="_blank">Oracle Shareholders Choke On Ellison&#8217;s Package</a></p>
<p>Carry on.</p>
<p>UPDATE:  Thanks to Bob Rhubart for pointing out the subtitle!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oraclealchemist.com/oracle/the-best-oracle-headline-youll-see-all-year/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Amazing &#8211; Multitouch 3D Hologram</title>
		<link>http://www.oraclealchemist.com/fun/amazing-multitouch-3d-hologram/</link>
		<comments>http://www.oraclealchemist.com/fun/amazing-multitouch-3d-hologram/#comments</comments>
		<pubDate>Tue, 05 Aug 2008 15:00:06 +0000</pubDate>
		<dc:creator>The Oracle Alchemist</dc:creator>
				<category><![CDATA[Fun]]></category>
		<category><![CDATA[Technology]]></category>

	<!-- AutoMeta Start -->
	<category></category>
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://www.oraclealchemist.com/?p=91</guid>
		<description><![CDATA[I just wanted to pop in and plug something that is absolutely incredible: a 3D holographic display with multitouch capabilities.  
Don&#8217;t you love it when sci-fi comes to life?  Imagine setting up your system architecture using technology like this!
]]></description>
			<content:encoded><![CDATA[<p>I just wanted to pop in and plug something that is absolutely incredible: <a href="http://www.techeblog.com/index.php/tech-gadget/3d-hologram">a 3D holographic display with multitouch capabilities</a>.  </p>
<p>Don&#8217;t you love it when sci-fi comes to life?  Imagine setting up your system architecture using technology like this!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oraclealchemist.com/fun/amazing-multitouch-3d-hologram/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>The Adventures of Ace, DBA</title>
		<link>http://www.oraclealchemist.com/oracle/the-adventures-of-ace-dba/</link>
		<comments>http://www.oraclealchemist.com/oracle/the-adventures-of-ace-dba/#comments</comments>
		<pubDate>Sat, 26 Jul 2008 03:51:40 +0000</pubDate>
		<dc:creator>The Oracle Alchemist</dc:creator>
				<category><![CDATA[Fun]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[ace dba comic]]></category>

	<!-- AutoMeta Start -->
	<category></category>
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://www.oraclealchemist.com/?p=89</guid>
		<description><![CDATA[So I was reading through some of my favorite xkcd comics, and I decided it might be fun to make my own comics about Oracle.
And so I&#8217;d like to introduce The Adventures of Ace, DBA.  Ace is a Jr. DBA trying to make it in a tough corporate world.  The comic is about [...]]]></description>
			<content:encoded><![CDATA[<p>So I was reading through some of my favorite <a href="http://xkcd.com" target="_blank">xkcd</a> comics, and I decided it might be fun to make my own comics about Oracle.</p>
<p>And so I&#8217;d like to introduce <a href="http://www.orcldba.com/ace/">The Adventures of Ace, DBA</a>.  Ace is a Jr. DBA trying to make it in a tough corporate world.  The comic is about his trials and tribulations, imaginings, and other fun experiences as a highly stressed DBA.</p>
<p>Enjoy!</p>
<p><a href="http://www.orcldba.com/ace/">http://www.orcldba.com/ace/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.oraclealchemist.com/oracle/the-adventures-of-ace-dba/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Ladies and Gentlemen, Meet Hellraiser</title>
		<link>http://www.oraclealchemist.com/news/ladies-and-gentlemen-meet-hellraiser/</link>
		<comments>http://www.oraclealchemist.com/news/ladies-and-gentlemen-meet-hellraiser/#comments</comments>
		<pubDate>Wed, 18 Jun 2008 03:48:57 +0000</pubDate>
		<dc:creator>The Oracle Alchemist</dc:creator>
				<category><![CDATA[Fun]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[CyberpowerPC]]></category>
		<category><![CDATA[Gamer Infinity]]></category>

	<!-- AutoMeta Start -->
	<category></category>
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://www.oraclealchemist.com/?p=79</guid>
		<description><![CDATA[Sometimes you just need to take a moment and appreciate the things you have in life.  And while I always appreciate my lovely wife and my darling kids, this time my appreciation is for something a little more material.
Hellraiser
Okay, so Hellraiser is just a computer, but what a fine computer it is.

The CyberpowerPC Gamer [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes you just need to take a moment and appreciate the things you have in life.  And while I always appreciate my <a href="http://www.oraclealchemist.com/wp-content/uploads/2008/06/darling_wife2.jpg" class="thickbox" rel="post79">lovely wife</a> and <a href="http://www.oraclealchemist.com/wp-content/uploads/2008/06/my_kids.jpg" class="thickbox" rel="post79">my darling kids</a>, this time my appreciation is for something a little more material.</p>
<p><center><a href='http://www.oraclealchemist.com/wp-content/uploads/2008/06/hellraiser.jpg' class="thickbox" rel="post79"><img src="http://www.oraclealchemist.com/wp-content/uploads/2008/06/hellraiser-150x150.jpg" alt="Hellraiser" title="Hellraiser" width="150" height="150" class="aligncenter size-thumbnail wp-image-82" /></a><br /><strong>Hellraiser</strong></center></p>
<p>Okay, so Hellraiser is just a computer, but what a fine computer it is.</p>
<ul>
<h3>The CyberpowerPC Gamer Infinity 9310</h3>
<li>Quad Core 2.4GHz 64-bit processor</li>
<li>8GB DDR2 800 RAM</li>
<li>6 SATA drive bays, RAID configurable</li>
<li>Dual NVIDIA GeForce 8800GT 512MB 16X PCI Express Video Cards</li>
<li>and all the usual fixins</li>
</ul>
<p>If you&#8217;re ever in the market for a machine that will act something like a server when you run Oracle, this one does the trick.  Not only that, but it comes with a price tag of only $1,719.99 <a href="http://www.newegg.com/product/product.aspx?item=N82E16883229013" target="_blank">from NewEgg.com</a> (note that price includes only 4GB RAM and one 500GB 7200RPM SATA drive).</p>
<p>It is extremely quiet, lightning fast, very powerful, and highly recommended.  The graphics are overkill for Oracle, but great for whatever graphic intensive software you might also be running.  However, I will say that it is HUGE.  The system in box weighs 72 pounds, and stands a little higher than my knee.  But with that comes the thrill of knowing that your home computer can probably run Oracle better than many of your clients&#8217; servers!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oraclealchemist.com/news/ladies-and-gentlemen-meet-hellraiser/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>An Oracle Schema Filesystem</title>
		<link>http://www.oraclealchemist.com/oracle/an-oracle-schema-filesystem/</link>
		<comments>http://www.oraclealchemist.com/oracle/an-oracle-schema-filesystem/#comments</comments>
		<pubDate>Sun, 15 Jun 2008 05:43:29 +0000</pubDate>
		<dc:creator>The Oracle Alchemist</dc:creator>
				<category><![CDATA[Fun]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[filesystem]]></category>
		<category><![CDATA[fuse]]></category>
		<category><![CDATA[orafs]]></category>

	<!-- AutoMeta Start -->
	<category></category>
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://www.oraclealchemist.com/?p=76</guid>
		<description><![CDATA[I&#8217;m one of those types that always needs a project.  If I run out of projects using the things I know, I take on a project that involves something I don&#8217;t know whatsoever.
For instance, building a filesystem in C that connects to Oracle and uses queries in order to create inode structures.
It&#8217;s not done [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m one of those types that always needs a project.  If I run out of projects using the things I know, I take on a project that involves something I don&#8217;t know whatsoever.</p>
<p>For instance, building a filesystem in C that connects to Oracle and uses queries in order to create inode structures.</p>
<p>It&#8217;s not done by a long shot; hell, it&#8217;s not even presentable, but I&#8217;m still kind of proud of it since:</p>
<ul>
<li>I didn&#8217;t know C when I started it</li>
<li>It&#8217;s a neat concept</li>
<li>If I can remember how I did it, it could be an interesting piece of software</li>
</ul>
<p>I won&#8217;t pretend that I know how to do complex filesystem work.  I did have some help.</p>
<h3>FUSE &#8211; Filesystems In Userspace</h3>
<p>The main component (other than C itself and the OCI) is a software package called <a href="http://fuse.sourceforge.net/">FUSE</a>.  Basically it is an interface to the kernel that allows user created pass-through filesystems.  Instead of creating a filesystem that maps only to disk, you can create directory structures, files, etc. that map to anything you can imagine.  I have seen a Wikipedia Filesystem, a Zip Filesystem, and several others that are very interesting.  One in particular struck me as a good idea: <a href="http://www.thesaguaros.com/beta/newsag/products/dbtoyfs/">DBToy from thesaguaros.com</a>.  DBToy is a database browser for use with MySQL or Postgres.  Using that tool as a guide, I was able to hack out a version for Oracle.</p>
<h3>Example Usage</h3>
<div id="76code1">
<pre><code>[root@615349 orafs]# ls -ltr
total 148
-rw-r--r--  1 oracle dba   1542 Sep 23  2007 orafs.h
drwxr-xr-x  2 root   root  4096 Sep 23  2007 old
-rw-r--r--  1 oracle dba    804 Jun 15 00:13 makeit
-rw-r--r--  1 oracle dba   5824 Jun 15 00:17 orafs.c
drwxr-xr-x  2 root   root  4096 Jun 15 00:19 mount
drwxr-xr-x  5 root   root  4096 Jun 15 01:21 backup
-rw-r--r--  1 oracle dba  14070 Jun 15 01:21 ora_driver.c
-rw-r--r--  1 root   root 15084 Jun 15 01:21 ora_driver.o
-rw-r--r--  1 root   root 13972 Jun 15 01:21 orafs.o
-rwxr-xr-x  1 root   root 29612 Jun 15 01:21 orafs
[root@615349 orafs]# ls -ltr mountdir
total 0
[root@615349 orafs]# ./orafs mountdir
[root@615349 orafs]# cd mountdir
[root@615349 mountdir]# ls -ltr
total 0
drwxr-xr-x  2 root root 0 Dec 31  1969 TSMSYS
drwxr-xr-x  2 root root 0 Dec 31  1969 SCOTT
drwxr-xr-x  2 root root 0 Dec 31  1969 OUTLN
drwxr-xr-x  2 root root 0 Dec 31  1969 HR
drwxr-xr-x  2 root root 0 Dec 31  1969 FLOWS_FILES
drwxr-xr-x  2 root root 0 Dec 31  1969 FLOWS_020100
drwxr-xr-x  2 root root 0 Dec 31  1969 DIP
drwxr-xr-x  2 root root 0 Dec 31  1969 DBSNMP
drwxr-xr-x  2 root root 0 Dec 31  1969 CTXSYS
drwxr-xr-x  2 root root 0 Dec 31  1969 ANONYMOUS
[root@615349 mountdir]# cd HR
[root@615349 HR]# ls -ltr
total 0
drwxr-xr-x  2 root root 0 Dec 31  1969 REGIONS
drwxr-xr-x  2 root root 0 Dec 31  1969 LOCATIONS
drwxr-xr-x  2 root root 0 Dec 31  1969 JOBS
drwxr-xr-x  2 root root 0 Dec 31  1969 JOB_HISTORY
drwxr-xr-x  2 root root 0 Dec 31  1969 EMPLOYEES
drwxr-xr-x  2 root root 0 Dec 31  1969 DEPARTMENTS
drwxr-xr-x  2 root root 0 Dec 31  1969 COUNTRIES
drwxr-xr-x  2 root root 0 Dec 31  1969 CDEMO81_EMP
drwxr-xr-x  2 root root 0 Dec 31  1969 CDEMO81_DEPT
drwxr-xr-x  2 root root 0 Dec 31  1969 CAR
[root@615349 HR]# cd EMPLOYEES
[root@615349 EMPLOYEES]# ls -ltr
total 0
-r--r--r--  1 root root 0 Dec 31  1969 data.csv
[root@615349 EMPLOYEES]# cd ../COUNTRIES
[root@615349 COUNTRIES]# ls -ltr
total 0
-r--r--r--  1 root root 0 Dec 31  1969 data.csv
[root@615349 COUNTRIES]# cd ../../..
[root@615349 orafs]# umount mountdir</code></pre>
</div>
<input alt="#TB_inline?height=600&amp;width=620&amp;inlineId=76code1" title="" class="thickbox" type="button" value="A Black on White View" />
<p>&nbsp;</p>
<h3>But What Did It Do?</h3>
<p>When I ran the <em>orafs</em> program, two things happened:</p>
<ol>
<li>A connection to Oracle was made as SYSTEM</li>
<li>A FUSE filesystem was mounted on the <em>mountdir</em> directory using API calls</li>
</ol>
<p>This allowed me to <em>cd</em> to the <em>mountdir</em> directory and use standard OS commands like <em>ls -ltr</em>.  The first level directory is schema names.  In each schema directory are directories for each table.  In each table directory is a file called data.csv.  It doesn&#8217;t actually contain anything yet, but hey, it&#8217;s a start.  Just being able to navigate through Oracle&#8217;s data dictionary at the OS level is neat enough.</p>
<p>Also notice that to remove it, I had to use the umount command.  This isn&#8217;t a fake mounting of any kind, it truly did get mounted at the OS level!</p>
<h3>Nothing On Disk</h3>
<p>One of the coolest features of FUSE is that nothing had to be written at all to disk.  The data from the data dictionary was not written to disk at any time.  The <em>orafs</em> program used no flat files or anything of the sort.  When <em>ls -ltr</em> is called, it actually did a query on the fly.  For instance, <em>select table_name from dba_tables where owner = ?</em>.  My code passes results to FUSE, and FUSE makes it understandable to the OS.</p>
<h3>Great, But Why?</h3>
<p>Yeah, that&#8217;s the big question.  The reason I even did it in the first place was that I thought it would be a neat concept.  Then it was a challenge.  Now it&#8217;s something for which I have absolutely no time!</p>
<p>But if I had things my way, here&#8217;s what I&#8217;d love to do with it:</p>
<ul>
<li>Have 3 files in each table subdirectory: data.xml, data.csv, and ddl.sql.  The data.xml and data.csv files would have all of the rows from the table arranged in the proper format.  This table would not actually be queried until you opened the file in some way.  Imagine, simply doing <em>cp data.csv /home/oracle/table.csv</em> to get a comma delimited dump of your data!  ddl.sql would, of course, contain the DDL to regenerate the object.</li>
<li>Create symbolic links to child tables based on constraints</li>
<li>Use the creation date from DBA_OBJECTS and DBA_USERS to set the dates when browsing the directory</li>
<li>Allow command line args for login/password instead of hardcoding.  I had this at one point but got rid of it due to coding issues</li>
<li>Figure out how to use malloc() and calloc() properly so I don&#8217;t waste memory</li>
</ul>
<p>It&#8217;s a big list that I&#8217;ll probably never get through; however, it doesn&#8217;t hurt to have goals.</p>
<p>In fact, imagine some other uses for FUSE with Oracle (maybe I&#8217;ll tackle them one day):</p>
<ul>
<li>Mount an ASM diskgroup, allowing ASMCMD-like commands for browsing, but also allowing cp commands to a normal filesystem using RMAN commands in the code</li>
<li>Mount a table that contains a BLOB and a column containing the file name of each row.  You could actually see the BLOBs on disk with the proper filename, all dynamic from the DB without duplicating space usage</li>
</ul>
<p>I may actually try to learn some of the FUSE bindings I&#8217;ve seen.  FUSE-J for instance is a Java binding, which would probably make the coding MUCH easier.  However, the thought of rewriting all the code I&#8217;ve done so far for orafs makes my head hurt.</p>
<p>Anyone good with C and OCI that would like to see the code?  I&#8217;d be happy to share, maybe someone else can do something with it.  After you fix all my horrible code, of course.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oraclealchemist.com/oracle/an-oracle-schema-filesystem/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Oracle Parameters You&#8217;d Love to See</title>
		<link>http://www.oraclealchemist.com/oracle/oracle-parameters-youd-love-to-see/</link>
		<comments>http://www.oraclealchemist.com/oracle/oracle-parameters-youd-love-to-see/#comments</comments>
		<pubDate>Tue, 01 May 2007 15:02:08 +0000</pubDate>
		<dc:creator>The Oracle Alchemist</dc:creator>
				<category><![CDATA[Fun]]></category>
		<category><![CDATA[Oracle]]></category>

	<!-- AutoMeta Start -->
	<category>hoped</category>
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://www.oraclealchemist.com/oracle/oracle-parameters-youd-love-to-see/</guid>
		<description><![CDATA[Have you ever just WISHED that a parameter existed in Oracle?  I know I have, and old coworkers of mine have long joked about the need for things like the &#8220;fix_database.sh&#8221; script.
So I ask you, what parameters would you just LOVE to see show up by Oracle 20rr (Really Robust)?  I&#8217;ll start:

_allow_all_corruption = [...]]]></description>
			<content:encoded><![CDATA[<p>Have you ever just WISHED that a parameter existed in Oracle?  I know I have, and old coworkers of mine have long joked about the need for things like the &#8220;fix_database.sh&#8221; script.</p>
<p>So I ask you, what parameters would you just LOVE to see show up by Oracle 20rr (Really Robust)?  I&#8217;ll start:</p>
<ol>
<li><strong>_allow_all_corruption</strong> = TRUE|FALSE</li>
<li><strong>make_cbo_work</strong> = TRUE|FALSE</li>
<li><strong>ignore_bad_queries</strong> = TRUE|FALSE</li>
<li><strong>ignore_user_list</strong> = (comma delimited list of users)</li>
<li><strong>auto_create_sr_on_error</strong> = TRUE|FALSE</li>
</ol>
<p>Oh, and also two SQL*Plus commands I&#8217;d like:</p>
<ol>
<li><strong>set alias for select</strong> = sleect</li>
<li><strong>set tab complete</strong> on</li>
</ol>
<p>Any other ideas?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oraclealchemist.com/oracle/oracle-parameters-youd-love-to-see/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>The Shining &#8211; Feel Good Movie of the Year</title>
		<link>http://www.oraclealchemist.com/fun/the-shining-feel-good-movie-of-the-year/</link>
		<comments>http://www.oraclealchemist.com/fun/the-shining-feel-good-movie-of-the-year/#comments</comments>
		<pubDate>Mon, 19 Feb 2007 18:31:57 +0000</pubDate>
		<dc:creator>The Oracle Alchemist</dc:creator>
				<category><![CDATA[Fun]]></category>

	<!-- AutoMeta Start -->
	<category>trailer</category>
	<category>shining</category>
	<category>movie</category>
	<category>genre</category>
	<category>film</category>
	<category>contest</category>
	<category>goal</category>
	<category>park</category>
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://www.oraclealchemist.com/fun/the-shining-feel-good-movie-of-the-year/</guid>
		<description><![CDATA[If you&#8217;ve ever seen the movie The Shining, you have to see this trailer!
The story, so I hear, is that a film student did this for a contest called Trailer Park.  The goal is to take a movie and create a trailer for that movie that makes it seem like a completely different genre. [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve ever seen the movie The Shining, you have to see this trailer!</p>
<p>The story, so I hear, is that a film student did this for a contest called Trailer Park.  The goal is to take a movie and create a trailer for that movie that makes it seem like a completely different genre.  Whatever the case, it is absolutely excellent!</p>
<p><object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/sfout_rgPSA"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/sfout_rgPSA" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.oraclealchemist.com/fun/the-shining-feel-good-movie-of-the-year/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
