<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-24139777</id><updated>2011-07-07T20:00:29.336-07:00</updated><category term='RMAN'/><title type='text'>Bill Ennis (Serverside Technology Solutons)</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://billennis.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24139777/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://billennis.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>bille67</name><uri>http://www.blogger.com/profile/02588118252628607600</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>13</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-24139777.post-3893433407022636247</id><published>2009-11-10T10:59:00.000-08:00</published><updated>2009-11-10T11:31:57.277-08:00</updated><title type='text'>Open Source Data Profilers</title><content type='html'>I've been looking into Open Source Data Profilers of late.&lt;br /&gt;These allow you to get some basic info on your data quickly.&lt;br /&gt;The 2 I like the most so far are the Talend Open Profiler&lt;br /&gt;and another called Data Cleaner. Talend is more graphical and&lt;br /&gt;Data Cleaner is a bit more intuitive so they both have their merits.&lt;br /&gt;&lt;br /&gt;http://www.talend.com&lt;br /&gt;http://datacleaner.eobjects.org&lt;br /&gt;&lt;br /&gt;Talend also sells an "Enterprise" version of the product&lt;br /&gt;&lt;br /&gt;I also came across an Open Source Data Modeling tool that has some&lt;br /&gt;basic profiling capabilities named Power Architect.&lt;br /&gt;&lt;br /&gt;http://www.sqlpower.ca&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24139777-3893433407022636247?l=billennis.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billennis.blogspot.com/feeds/3893433407022636247/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24139777&amp;postID=3893433407022636247' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24139777/posts/default/3893433407022636247'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24139777/posts/default/3893433407022636247'/><link rel='alternate' type='text/html' href='http://billennis.blogspot.com/2009/11/open-source-data-profilers.html' title='Open Source Data Profilers'/><author><name>bille67</name><uri>http://www.blogger.com/profile/02588118252628607600</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24139777.post-2131926583238469128</id><published>2009-08-18T08:50:00.000-07:00</published><updated>2009-08-18T08:57:44.577-07:00</updated><title type='text'>wwv_flow_epg_include_mod_local</title><content type='html'>At some point between Apex 2 and 3 Oracle decided tighten the security on calling stored procedures. I had a procedure that was being used to download documents from the database to the browser. This worked fine in Apex 2, but was broken after the upgrade. Upon clicking on the document link I was receiving a "Forbidden" message. This indicated a security problem. After some searching I came across others talking about a function that effectively allows you to "register" procedures that you would like allow to be called via the PL/SQL gateway. This procedure is in the APEX schema and is named &lt;strong&gt;wwv_flow_epg_include_mod_local.&lt;/strong&gt;&lt;br /&gt;I needed to comment out the return false at the beginning of the function and add the name of the procedure I wanted to allow calling to the list.&lt;br /&gt; i.e.&lt;br /&gt;&lt;br /&gt;&lt;em&gt;if upper(procedure_name) in (&lt;br /&gt;'QUANT.APEX_DOWNLOAD_NOTEBOOK_ENTRY') then&lt;br /&gt;return TRUE;&lt;br /&gt;else&lt;br /&gt;return FALSE;&lt;br /&gt;end if;&lt;/em&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24139777-2131926583238469128?l=billennis.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billennis.blogspot.com/feeds/2131926583238469128/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24139777&amp;postID=2131926583238469128' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24139777/posts/default/2131926583238469128'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24139777/posts/default/2131926583238469128'/><link rel='alternate' type='text/html' href='http://billennis.blogspot.com/2009/08/wwvflowepgincludemodlocal.html' title='wwv_flow_epg_include_mod_local'/><author><name>bille67</name><uri>http://www.blogger.com/profile/02588118252628607600</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24139777.post-6592968159151298058</id><published>2009-08-13T14:41:00.000-07:00</published><updated>2009-08-13T14:58:47.294-07:00</updated><title type='text'>RMAN switch to copy</title><content type='html'>Today I successfully used RMAN switch to copy to swap out my 500GB drives for a 1.5TB drives with minimal downtime. I have a simple setup where data resides on an E: drive and backups on the F: drive. The process was relatively simple.&lt;br /&gt;&lt;br /&gt;1) Within RMAN execute &lt;em&gt;backup as copy&lt;/em&gt; database&lt;br /&gt;2) Shutdown the database&lt;br /&gt;3) startup mount&lt;br /&gt;4) Within RMAN execute&lt;em&gt; switch database to copy&lt;/em&gt;&lt;br /&gt;5) Within RMAN execute &lt;em&gt;recover database&lt;/em&gt;&lt;br /&gt;&lt;em&gt;6) alter database open&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;/em&gt;&lt;br /&gt;At this point I had the database running from the F: drive with the exeption of the redo and control files. In my case these reside on C: which was unaffected by this execise, but something you should be aware of. Also, the Temp tablespace files was not moved from this. There may be an option to include the TEMP tablespace, however it was easy enough for me to just create a new default tempory TEMP tablespace (named FTEMP) and drop the old one.&lt;br /&gt;&lt;br /&gt;Now the move back. This really was just the same exercise in the other direction. In order to make it work I needed to first change the db_recovery_file_dest to point back to the E: drive&lt;br /&gt;&lt;br /&gt;1) alter system set db_recovery_file_dest=E:\oradata&lt;br /&gt;2) Within RMAN execute &lt;em&gt;backup as copy database&lt;br /&gt;&lt;/em&gt;3) Shutdown the database&lt;br /&gt;4) startup mount&lt;br /&gt;5) Within RMAN execute &lt;em&gt;switch database to copy&lt;/em&gt;&lt;br /&gt;6) Within RMAN execute&lt;em&gt; recover database&lt;br /&gt;&lt;/em&gt;7) alter database open&lt;br /&gt;8) Create a new default TEMP tablespace on E:&lt;br /&gt;9) alter system set db_recovery_file_dest=F:\flash_recovery_area scope=both&lt;br /&gt;&lt;br /&gt;At this point the database is back on the E: drive. However, we are vulnerable at this point so I immediately kicked off a database backup to get things back to a suitable state.&lt;br /&gt;&lt;br /&gt;One side effect of this execrise was that my datafiles were renamed. Before the move I had a naming convention for datafiles using the tablespace_name_&lt;df#&gt;.DBF. For example,&lt;br /&gt;for the QUANT tablespace QUANT_01.DBF, QUANT_02,DBF, etc... I don't know of a way to name datafiles according to this format using backup as copy database. You can use a custom format at the individual copy datafile level, but that seemed error prone since I would need to type in the file names by hand and run alot more switch commands.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24139777-6592968159151298058?l=billennis.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billennis.blogspot.com/feeds/6592968159151298058/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24139777&amp;postID=6592968159151298058' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24139777/posts/default/6592968159151298058'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24139777/posts/default/6592968159151298058'/><link rel='alternate' type='text/html' href='http://billennis.blogspot.com/2009/08/rman-switch-to-copy.html' title='RMAN switch to copy'/><author><name>bille67</name><uri>http://www.blogger.com/profile/02588118252628607600</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24139777.post-4536330370795263919</id><published>2009-07-17T14:17:00.000-07:00</published><updated>2009-07-17T14:20:20.871-07:00</updated><title type='text'>Save Outlook attachements to disk</title><content type='html'>This handy bit of Powerscript code allows you to save attachements in your Outlook inbox to disk:&lt;br /&gt;&lt;br /&gt;You need to pass a file name, not just a destination directory to SaveAsFile.The attachment has a FileName property.&lt;br /&gt;This code groups attachments with same name and saves the first attachment in each group, if the attachment is corrupt or if it can't save it the Trap handles the exception; in this sample it just writes a message.You could also iterate through each group's attachments and append a different number to the name in order to save all.&lt;br /&gt;&lt;br /&gt;$inbox=6&lt;br /&gt;$outlook = new-object -com Outlook.Application&lt;br /&gt;$inbox = $outlook.Session.GetDefaultFolder($inbox)&lt;br /&gt;foreach ($group in $inbox.items % {$_.attachments}  group filename) {&lt;br /&gt;trap {&lt;br /&gt;Write-Host There was a problem saving $fName&lt;br /&gt;continue}&lt;br /&gt;if ($group.Name.startswith("SECTSPDR")) {&lt;br /&gt;$fName = "C:\TEMP\$($group.Name)"&lt;br /&gt;$group.Group[0].saveasfile($fName)&lt;br /&gt;if ($?) {Write-Host $fName was saved succesfuly.}&lt;br /&gt;}&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24139777-4536330370795263919?l=billennis.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billennis.blogspot.com/feeds/4536330370795263919/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24139777&amp;postID=4536330370795263919' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24139777/posts/default/4536330370795263919'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24139777/posts/default/4536330370795263919'/><link rel='alternate' type='text/html' href='http://billennis.blogspot.com/2009/07/save-outlook-attachements-to-disk.html' title='Save Outlook attachements to disk'/><author><name>bille67</name><uri>http://www.blogger.com/profile/02588118252628607600</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24139777.post-8501071675642666451</id><published>2009-07-17T11:07:00.000-07:00</published><updated>2009-07-17T11:16:39.947-07:00</updated><title type='text'>Backup options on your home network</title><content type='html'>I think I have settled on a good backup option for my desktop at home. I have an external hard drive connected to my desktop. Previously, I had installed rsync via cygwin which I have successfully used in the past. However, every few days I would find the process hung and had to reboot the machine. It appeared that this was not a common problem and it's not very easy finding support for free tools like cygwin (understandably)&lt;br /&gt;&lt;br /&gt;Recently I cam across a tool similar to rsync from Microsoft named robocopy. This utility is included in the Windows resource tookit. It seems to be working well and have not yet found it hung like rsync was doing.&lt;br /&gt;&lt;br /&gt;I also added an email to the job to mail the results of the run. For this I installed blat. I also had to hook into an SMTP server (using Gmail for this). Since GMail required SSL I needed to install and configure stunnel to communicate via SSL.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24139777-8501071675642666451?l=billennis.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billennis.blogspot.com/feeds/8501071675642666451/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24139777&amp;postID=8501071675642666451' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24139777/posts/default/8501071675642666451'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24139777/posts/default/8501071675642666451'/><link rel='alternate' type='text/html' href='http://billennis.blogspot.com/2009/07/backup-options-on-your-home-network.html' title='Backup options on your home network'/><author><name>bille67</name><uri>http://www.blogger.com/profile/02588118252628607600</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24139777.post-9153484038374832903</id><published>2008-06-19T12:31:00.000-07:00</published><updated>2008-06-19T12:34:10.590-07:00</updated><title type='text'>Scientific Notation and SQL Loader</title><content type='html'>Sometimes you receive data in scientific notation. The way to handle this when using sql loader is to utilize the FLOAT EXTERNAL directive in the sql loader controlfile.&lt;br /&gt;&lt;br /&gt;ex&lt;br /&gt;STD_DEV FLOAT EXTERNAL&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24139777-9153484038374832903?l=billennis.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billennis.blogspot.com/feeds/9153484038374832903/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24139777&amp;postID=9153484038374832903' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24139777/posts/default/9153484038374832903'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24139777/posts/default/9153484038374832903'/><link rel='alternate' type='text/html' href='http://billennis.blogspot.com/2008/06/scientific-notation-and-sql-loader.html' title='Scientific Notation and SQL Loader'/><author><name>bille67</name><uri>http://www.blogger.com/profile/02588118252628607600</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24139777.post-392099192572639716</id><published>2008-05-28T06:33:00.000-07:00</published><updated>2008-05-28T12:59:08.485-07:00</updated><title type='text'>11G upgrade Heterogeneous Services quirk</title><content type='html'>&lt;a href="http://2.bp.blogspot.com/_26GiDiXo_Jw/SD25ar3gekI/AAAAAAAAAAM/oAvI7FLSB3k/s1600-h/odbc_11g.png"&gt;&lt;img id="BLOGGER_PHOTO_ID_5205520612413438530" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; CURSOR: hand" alt="" src="http://2.bp.blogspot.com/_26GiDiXo_Jw/SD25ar3gekI/AAAAAAAAAAM/oAvI7FLSB3k/s320/odbc_11g.png" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;Last week I went through an upgrade from 10G to 11G and had a problem with some dblinks I had setup to use the generic ODBC gateway. The links stopped working. The fix was to check the Enable Quoted Identifiers option in the DSN Advanced tab.&lt;br /&gt;&lt;br /&gt;Also, as I was searching I found some suggestions to add the following line to the hs/admin/init&lt;sid&gt;.ora file(s)&lt;br /&gt;&lt;br /&gt;HS_FDS_SUPPORT_STATISTICS=FALSE&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24139777-392099192572639716?l=billennis.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billennis.blogspot.com/feeds/392099192572639716/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24139777&amp;postID=392099192572639716' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24139777/posts/default/392099192572639716'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24139777/posts/default/392099192572639716'/><link rel='alternate' type='text/html' href='http://billennis.blogspot.com/2008/05/11g-upgrade-heterogeneous-services.html' title='11G upgrade Heterogeneous Services quirk'/><author><name>bille67</name><uri>http://www.blogger.com/profile/02588118252628607600</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_26GiDiXo_Jw/SD25ar3gekI/AAAAAAAAAAM/oAvI7FLSB3k/s72-c/odbc_11g.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24139777.post-2976346847027891916</id><published>2008-05-13T10:16:00.000-07:00</published><updated>2008-07-10T11:41:31.090-07:00</updated><title type='text'>Oracle on Windows nuances</title><content type='html'>Over the past year I have begun to support Oracle in a Windows environment. This experience hasn't been as horrifying as expected, however there still have been some nuances. here's my list:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Windows password changes suddenly prevent EM jobs from running. This is something you need to dicover as soon as possible&lt;/li&gt;&lt;li&gt;Restoring a database on Windows with RMAN requires there be a Windows service running for the database.&lt;/li&gt;&lt;li&gt;Removing software and Oracle Home assignments have always been tough on Windows (even for a client only install which I have worked with quite a bit). This is due to the registry mess and convoluted ways to manage environment settings in Windows.&lt;/li&gt;&lt;li&gt;"Logon as Batch' is required for Enterprise Manager jobs that will be running. This is assigned Via Control Panel  Administrative Tools  Local Security Policy  Local Policies  User Rights Assignment&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24139777-2976346847027891916?l=billennis.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billennis.blogspot.com/feeds/2976346847027891916/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24139777&amp;postID=2976346847027891916' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24139777/posts/default/2976346847027891916'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24139777/posts/default/2976346847027891916'/><link rel='alternate' type='text/html' href='http://billennis.blogspot.com/2008/05/oracle-on-windows-nuances.html' title='Oracle on Windows nuances'/><author><name>bille67</name><uri>http://www.blogger.com/profile/02588118252628607600</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24139777.post-7994704704805707996</id><published>2008-05-07T13:19:00.000-07:00</published><updated>2008-05-07T13:50:49.839-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='RMAN'/><title type='text'>RMAN switch to COPY</title><content type='html'>RMAN has a neat feature that allows you to switch the database to run on a backup copy (after recoverying it)&lt;br /&gt;&lt;br /&gt;Setup:&lt;br /&gt;-------&lt;br /&gt;In order to set this up you need a datafile copy backup setup in RMAN.&lt;br /&gt;example:&lt;br /&gt;BACKUP FOR RECOVER OF COPY DATAFILECOPY FORMAT='T:\ImageCopies\ORCL\%d_%I_%N_%f' WITH TAG '%d_image_copy' DATABASE;&lt;br /&gt;&lt;br /&gt;Make sure T:\ is independent from your current datafile(s) location&lt;br /&gt;&lt;br /&gt;SWITCH example (USERS tablespace)&lt;br /&gt;----------------------------------------&lt;br /&gt;Now let's assume we had an i/o error on the file(s) associated with the USERS tablespace and we need to restore ASAP.&lt;br /&gt;&lt;br /&gt;SQL "ALTER TABLESPACE users OFFLINE IMMEDIATE";&lt;br /&gt;SWITCH TABLESPACE users TO COPY;&lt;br /&gt;RECOVER TABLESPACE users;&lt;br /&gt;SQL "ALTER TABLESPACE users ONLINE";&lt;br /&gt;&lt;br /&gt;The above will redirect to the datafile copy, recover it, and bring it online so that the database operates with it.&lt;br /&gt;&lt;br /&gt;Now, you probably want to redirect back to the original datafile location at some point. to do so, you would need to perform a new datafile copy backup in RMAN. Here, you would direct the copy to the ORIGINAL datafile location.&lt;br /&gt;&lt;br /&gt;Here's an exmaple on how this would be done:&lt;br /&gt;backup as copy datafile 'T:\ImageCopies\ORCL\ORCL_2575401446_USERS_8' format 'D:\oradata/ORCL\USERS_01.dbf';&lt;br /&gt;&lt;br /&gt;After that run the same procedure outlined abovve to SWITCH the datafile. Oh, and assuming that all goes well, - take another backup!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24139777-7994704704805707996?l=billennis.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billennis.blogspot.com/feeds/7994704704805707996/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24139777&amp;postID=7994704704805707996' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24139777/posts/default/7994704704805707996'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24139777/posts/default/7994704704805707996'/><link rel='alternate' type='text/html' href='http://billennis.blogspot.com/2008/05/rman-switch-to-copy.html' title='RMAN switch to COPY'/><author><name>bille67</name><uri>http://www.blogger.com/profile/02588118252628607600</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24139777.post-6173506062856866786</id><published>2008-02-26T08:15:00.000-08:00</published><updated>2008-02-26T08:20:33.713-08:00</updated><title type='text'>Very busy TNSLSNR process</title><content type='html'>I encountered a problem with a listener running on a windows machine that had a 10G Oracle database and companion installed in separate ORACLE_HOMES. The ons.log file was HUGE under the companion install. And the listener was consuming the CPU. I found some posts on OTN compaining of the same. It turned out that  there was a config problem with the opmn process. Changing the ports in the ons.cnfig and in opmn.xml files solved the problem.&lt;br /&gt;&lt;br /&gt;The errrs in the ons.log file were of the form:&lt;br /&gt;Date Time Local connection 0,127.0.0.1,6100 missing form factor.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24139777-6173506062856866786?l=billennis.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billennis.blogspot.com/feeds/6173506062856866786/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24139777&amp;postID=6173506062856866786' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24139777/posts/default/6173506062856866786'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24139777/posts/default/6173506062856866786'/><link rel='alternate' type='text/html' href='http://billennis.blogspot.com/2008/02/very-busy-tnslsnr-process.html' title='Very busy TNSLSNR process'/><author><name>bille67</name><uri>http://www.blogger.com/profile/02588118252628607600</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24139777.post-3328467777571484270</id><published>2008-01-15T05:17:00.000-08:00</published><updated>2008-01-15T05:24:31.094-08:00</updated><title type='text'>Database Managed Services - 2008 Strategy for ServerSide</title><content type='html'>Over the coming year I am planning on extending my consulting services company into the area of managed services and support. More and more I am seeing companies that would like to bring these services on board to either supplement their existing staff or to bring these skills to the table for the first time. Let's face it - deep skills in database technology are both hard to come by AND expensive. Many small, medium, and even large companies would love to buy these services without having to commit to a large staff or a long term outsourcing agreement. I am in the process of drafting initial agreements for several of my current clients now and hope to extend the offer to new clients over the coming year.&lt;br /&gt;&lt;br /&gt;If you have interest let me know.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24139777-3328467777571484270?l=billennis.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billennis.blogspot.com/feeds/3328467777571484270/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24139777&amp;postID=3328467777571484270' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24139777/posts/default/3328467777571484270'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24139777/posts/default/3328467777571484270'/><link rel='alternate' type='text/html' href='http://billennis.blogspot.com/2008/01/database-managed-services-2008-strategy.html' title='Database Managed Services - 2008 Strategy for ServerSide'/><author><name>bille67</name><uri>http://www.blogger.com/profile/02588118252628607600</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24139777.post-1743859252359112022</id><published>2007-12-20T03:44:00.000-08:00</published><updated>2007-12-20T03:53:31.553-08:00</updated><title type='text'>paste</title><content type='html'>Learned something new recently while having the task of manipulating large files from a data provider. You see, I needed to gather several years of financial information for several thousand companies (at the daily level). There were about 30 attributes so this process needed to be run about 30 times with 30 resulting files. After it was done it all needed to be loaded into a database. I could have loaded the files individually, but in the end all the data needed to be joined. I actually tried loading it all into the database and let the database doe the join, however these were such large data sets that the memory required to do such a join was larger than I had. I had a "wouldn't it be great" moment wondering if there was a way to join the files together in a streaming fashion. The order of the lineswas such that line 1 of each file could be joined together in a consistent way (the all belonged to the same security and the same date)&lt;br /&gt;&lt;br /&gt;I was able to run the follwing command after placing all cvs files in a directory:&lt;br /&gt;&lt;br /&gt;paste -d ',' *csv &gt; all_data.csv&lt;br /&gt;&lt;br /&gt;After that I had one monter file ready to load to the database - pre-joined and all!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24139777-1743859252359112022?l=billennis.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billennis.blogspot.com/feeds/1743859252359112022/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24139777&amp;postID=1743859252359112022' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24139777/posts/default/1743859252359112022'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24139777/posts/default/1743859252359112022'/><link rel='alternate' type='text/html' href='http://billennis.blogspot.com/2007/12/paste.html' title='paste'/><author><name>bille67</name><uri>http://www.blogger.com/profile/02588118252628607600</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24139777.post-116716202402042251</id><published>2006-12-26T11:37:00.000-08:00</published><updated>2006-12-26T11:44:58.596-08:00</updated><title type='text'>A Real Post</title><content type='html'>Thought I'd finally get a real post up here since it's almost been 6 months since the Blog was created! Just completed Christmas and back to work for the short (or is it the long) week.&lt;br /&gt;&lt;br /&gt;I also had the honor today of submitting my estimated taxes. I'm currently working as an independent consultant under contract so I hadn't paid taxes yet this year. Letting the tax due accumulate like that let's it build to a point where you realize just how much you pay Uncle Sam over the course of the year. I just hope they put all that cash to good use. I still need to send in my Illinois taxes.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24139777-116716202402042251?l=billennis.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://billennis.blogspot.com/feeds/116716202402042251/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24139777&amp;postID=116716202402042251' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24139777/posts/default/116716202402042251'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24139777/posts/default/116716202402042251'/><link rel='alternate' type='text/html' href='http://billennis.blogspot.com/2006/12/real-post.html' title='A Real Post'/><author><name>bille67</name><uri>http://www.blogger.com/profile/02588118252628607600</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
