<?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-19379357</id><updated>2011-04-25T06:41:04.224+02:00</updated><category term='RMAN'/><title type='text'>lutz hartmann this week</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>95</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-19379357.post-5863354837784515311</id><published>2007-03-08T07:08:00.000+01:00</published><updated>2007-03-08T07:13:27.119+01:00</updated><title type='text'>My blog has moved to wordpress</title><content type='html'>I have moved my blog to a new location.&lt;br /&gt;Now you can find me here:&lt;br /&gt;&lt;a href="http://sysdba.wordpress.com"&gt;http://sysdba.wordpress.com&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Pls spread the news,&lt;span class="down" style="display: block;" id="formatbar_CreateLink" title="" link="" onmouseover="ButtonHoverOn(this);" onmouseout="ButtonHoverOff(this);" onmouseup="" onmousedown="CheckFormatting(event);FormatbarButton('richeditorframe', this, 8);ButtonMouseDown(this);"&gt;&lt;/span&gt;&lt;br /&gt;google has kicked me out now!&lt;br /&gt;=;-)&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-5863354837784515311?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/5863354837784515311/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=5863354837784515311&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/5863354837784515311'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/5863354837784515311'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2007/03/my-blog-has-moved-to-wordpress.html' title='My blog has moved to wordpress'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-6320346533119885185</id><published>2007-03-05T07:38:00.000+01:00</published><updated>2007-03-05T07:49:24.083+01:00</updated><title type='text'>Automatic Memory Management in Oracle 11g</title><content type='html'>Since quite a few days I had the chance to look at parts of the beta documentation for the Oracle 11g database and since a few days I also have the beta software.&lt;br /&gt;&lt;br /&gt;One of the new features coming up is the enhencement of automatic memory management.&lt;br /&gt;&lt;br /&gt;The whole automatic memory thing had already started with the &lt;span style="color:#33cc00;"&gt;release Oracle 9i&lt;/span&gt; where the parameter &lt;span style="color:#3333ff;"&gt;SGA_MAX_SIZE&lt;/span&gt; was introduced, to limit the maximum memory Oracle can use for the SGA. Within SGA_MAX_SIZE a number of caches were dynamically, but still manually adjustable. These caches included the&lt;br /&gt;DB BUFFER CACHE, the&lt;br /&gt;SHARED POOL, the&lt;br /&gt;JAVA POOL and the&lt;br /&gt;LARGE POOL.&lt;br /&gt;&lt;br /&gt;In those days the DBA had to check statistics in v$views in order to find out if the caches needed manual adjustment.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#33cc00;"&gt;Starting with Oracle 10gR1&lt;/span&gt; the new parameter &lt;span style="color:#3333ff;"&gt;SGA_TARGET&lt;/span&gt; was introduced which allowed us to limit the amount of SGA_MAX_SIZE which can be used by Oracle.&lt;br /&gt;If you set SGA_TARGET to a value other than 0 (zero) then &lt;span style="color:#3333ff;"&gt;Automatic Shared Memory Management (ASMM)&lt;/span&gt; is enbaled in 10g. This meens that we allow Oracle to adjust these caches as the workload needs it. We can increase this value dynamically, but manually by adjusting SGA_TARGET up to SGA_MAX_SIZE. In most cases it does not make sense to set SGA_TARGET to a value different from SGA_MAX_SIZE. This is only for systems like a SUN FIRE which allow the dynamic reconfiguration of the server (adding memory boards while the server is running).&lt;br /&gt;Within SGA_TARGET a number of caches are autotuned, including the&lt;br /&gt;DB BUFFER CACHE, the&lt;br /&gt;SHARED POOL, the&lt;br /&gt;JAVA POOL, the&lt;br /&gt;LARGE POOL and &lt;span style="color:#33cc00;"&gt;starting from 10gR2&lt;/span&gt; also the new in 10gR1&lt;br /&gt;STREAMS POOL.&lt;br /&gt;At startup time SGA_TARGET is allocated and first of all the non dynamically adjustable caches get their catch. Afterwards the others, the automatically tunable caches get their share.&lt;br /&gt;SGA_MAX_SIZE is reserved for ORACLE at startup time, but as long as it is not touched it is not used.&lt;br /&gt;&lt;span style="color:#33cc00;"&gt;As of Oracle 11g &lt;/span&gt;we will have one parameter which we can use to allow Oracle not only to adjust these five caches in the SGA but also we allow Oracle to shrink and grow the entire SGA memory in order to hand over memory to the PGAs (process memory) and vice versa.&lt;br /&gt;This parameter is called &lt;span style="color:#3333ff;"&gt;MEMORY_TARGET&lt;/span&gt;. With this we can specify how much memory we want to allow ORACLE to use all over, including SGA and PGAs.&lt;br /&gt;MEMORY_TARGET is a dynamic parameter and can be changed with an ALTER SYSTEM SET... statement. It can be adjusted up to the value of &lt;span style="color:#3333ff;"&gt;MEMORY_MAX_TARGET&lt;/span&gt;. Now we do not only have &lt;span style="color:#3333ff;"&gt;Automatic Shared Memory Mamangement&lt;/span&gt; but &lt;span style="color:#3333ff;"&gt;Automatic Memory Management&lt;/span&gt; (system memory plus process memory).&lt;br /&gt;Here is what the reference says:&lt;br /&gt;&lt;em&gt;MEMORY_TARGET specifies the Oracle system-wide usable memory. The database tunes memory to the the MEMORY_TARGET value, reducing or enlarging the SGA and PGA as needed. In a text initialization parameter file, if you omit the line for MEMORY_MAX_TARGET and include a value for MEMORY_TARGET, the database automatically sets MEMORY_MAX_TARGET to the value of MEMORY_TARGET. If you omit the line for MEMORY_TARGET and include a value for MEMORY_MAX_TARGET, the MEMORY_TARGET parameter defaults to zero. After startup, you can then dynamically change MEMORY_TARGET to a non-zero value, provided that it does not exceed the value of MEMORY_MAX_TARGET.&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;This is a feature we had expected to come up since a long time and I hope that it will work fine for at least most of the systems.&lt;br /&gt;But I would suggest to first test it thoroughly before using it in production because all these new features which have AUTOMATIC in their names can have their issues at least in the first releases. And this is why they never are the default right away.&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-6320346533119885185?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/6320346533119885185/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=6320346533119885185&amp;isPopup=true' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/6320346533119885185'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/6320346533119885185'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2007/03/automatic-memory-management-in-oracle.html' title='Automatic Memory Management in Oracle 11g'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-8359667181825411540</id><published>2007-03-02T21:03:00.000+01:00</published><updated>2007-03-02T22:25:03.052+01:00</updated><title type='text'>DBA course under special conditions</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp0.blogger.com/_UrwXdMHjvhs/ReiMOcRJYxI/AAAAAAAAAA4/Mne6crxr4uE/s1600-h/Bild+002.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://bp0.blogger.com/_UrwXdMHjvhs/ReiMOcRJYxI/AAAAAAAAAA4/Mne6crxr4uE/s200/Bild+002.jpg" alt="" id="BLOGGER_PHOTO_ID_5037430362948068114" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;This week I have delivered a 10g DBA course in Baden which was very special.&lt;br /&gt;1. The course was in English which is not a problem&lt;br /&gt;2. I had customers from three different nationalites which was very interesting&lt;br /&gt;&lt;br /&gt;There was an Parminder, an Indian&lt;br /&gt;&lt;br /&gt;and a Palestinean, and an Israeli.&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_UrwXdMHjvhs/ReiH28RJYwI/AAAAAAAAAAw/Ud5zzErnULw/s1600-h/Bild+001.jpg"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer;" src="http://bp2.blogger.com/_UrwXdMHjvhs/ReiH28RJYwI/AAAAAAAAAAw/Ud5zzErnULw/s200/Bild+001.jpg" alt="" id="BLOGGER_PHOTO_ID_5037425561174631170" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;It made me very happy to see the Hazim and Tsachi&lt;br /&gt;sitting next to each other discussing techincal things&lt;br /&gt;and even political and religious topics peacefully and having fun with each other.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_UrwXdMHjvhs/ReiP38RJYyI/AAAAAAAAABA/QEa2BntloF0/s1600-h/Bild+004.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://bp2.blogger.com/_UrwXdMHjvhs/ReiP38RJYyI/AAAAAAAAABA/QEa2BntloF0/s200/Bild+004.jpg" alt="" id="BLOGGER_PHOTO_ID_5037434374447522594" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;3. The Baden Oracle plant is undergoing reconstruction&lt;br /&gt;at the moment and it was not easy to keep up business as normal.&lt;br /&gt;This picture show Barbara Haller wearing a dust mask because behing the reception there was heavy work going on.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_UrwXdMHjvhs/ReiUCsRJYzI/AAAAAAAAABI/jJavR6YVqGA/s1600-h/Bild.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://bp1.blogger.com/_UrwXdMHjvhs/ReiUCsRJYzI/AAAAAAAAABI/jJavR6YVqGA/s200/Bild.jpg" alt="" id="BLOGGER_PHOTO_ID_5037438957177627442" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Does anybody recognize the training room from last week?&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-8359667181825411540?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/8359667181825411540/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=8359667181825411540&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/8359667181825411540'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/8359667181825411540'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2007/03/dba-course-under-special-conditions.html' title='DBA course under special conditions'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp0.blogger.com/_UrwXdMHjvhs/ReiMOcRJYxI/AAAAAAAAAA4/Mne6crxr4uE/s72-c/Bild+002.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-3830402713191274706</id><published>2007-02-25T11:05:00.000+01:00</published><updated>2007-02-25T11:15:54.836+01:00</updated><title type='text'>INSIDE ORACLE seminar</title><content type='html'>This week I have delivered my INSIDE ORACLE special seminar for the first time.&lt;br /&gt;The seminar is a two day event which deals with  Oracle 10g key features  and upgrade issues.&lt;br /&gt;I had 18 delegates with different backgrounds who were highly interested in memory management, new performance tuning techniques and backup strategies.&lt;br /&gt;In between the paticipants had the opportunity to test some of the features hands on in the seminar room where we had a munber of system instaled with Oracle 10g database.&lt;br /&gt;I have received a number of emails with very positive feedback in the meentime.&lt;br /&gt;This seminar is available internationnally from now on and I already have the first bookings for it.&lt;br /&gt;In May I will be delivering in Germany and Turkey and Greece hopefully as well.&lt;br /&gt;And there are other talks going on in the background at the moment.&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-3830402713191274706?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/3830402713191274706/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=3830402713191274706&amp;isPopup=true' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/3830402713191274706'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/3830402713191274706'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2007/02/inside-oracle-seminar.html' title='INSIDE ORACLE seminar'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-703803175290567611</id><published>2007-02-20T19:28:00.000+01:00</published><updated>2007-02-20T19:37:10.543+01:00</updated><title type='text'>statistics_level translated</title><content type='html'>I just found my blog translated into another language:&lt;br /&gt;&lt;a href="http://translate.google.com/translate?hl=ja&amp;sl=en&amp;amp;u=http://luhartma.blogspot.com/2006/09/statisticslevel-in-oracle-10gr2.html&amp;sa=X&amp;amp;oi=translate&amp;resnum"&gt;http://translate.google.com/translate?hl=ja&amp;amp;sl=en&amp;u=http://luhartma.blogspot.com/2006/09/statisticslevel-in-oracle-10gr2.html&amp;amp;sa=X&amp;oi=translate&amp;amp;resnum&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Can anybody tell me which language this is?&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-703803175290567611?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/703803175290567611/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=703803175290567611&amp;isPopup=true' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/703803175290567611'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/703803175290567611'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2007/02/statisticslevel-translated.html' title='statistics_level translated'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-4037393005438822494</id><published>2007-02-20T07:43:00.000+01:00</published><updated>2007-02-20T07:48:50.936+01:00</updated><title type='text'>Enterprise Manager Packages Petition</title><content type='html'>Today I received a comment on my post about licensing of the Enterprise Manager packages.&lt;br /&gt;Edgar pointed out a &lt;a href="http://www.petitiononline.com/oraman/petition.html"&gt;petition&lt;/a&gt; which has already been signed by 140 people.&lt;br /&gt;This petition requests that Oracle Corporation should make all of its Enterprise Manager management packs available to all of its customers at the same price, regardless of the edition of the Oracle product that they have purchased.&lt;br /&gt;&lt;br /&gt;I am not sure if this will be successfull but it is worth a try, don't you think so?&lt;br /&gt;=;-)&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-4037393005438822494?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/4037393005438822494/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=4037393005438822494&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/4037393005438822494'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/4037393005438822494'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2007/02/enterprise-manager-packages-petition.html' title='Enterprise Manager Packages Petition'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-8754886879155040292</id><published>2007-02-15T16:51:00.000+01:00</published><updated>2007-02-15T17:01:14.640+01:00</updated><title type='text'>new OCPs and OCAs</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp3.blogger.com/_UrwXdMHjvhs/RdSDDAS1FBI/AAAAAAAAAAk/Gh7Rmz9nDiM/s1600-h/HPIM2041.JPG"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer;" src="http://bp3.blogger.com/_UrwXdMHjvhs/RdSDDAS1FBI/AAAAAAAAAAk/Gh7Rmz9nDiM/s200/HPIM2041.JPG" alt="" id="BLOGGER_PHOTO_ID_5031790771321508882" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;This week I have deliverd a specially condensed 10g New Features with Exam course for Oracle Partners.&lt;br /&gt;After 4 days of exam cram three of the delegates have managed to pass the examinatin tests in teh Oracle University testing center in Baden.&lt;br /&gt;Here you can see the two new OCPs Klaus and Martin as well as the new OCA Renato.&lt;br /&gt;Congratulations!&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-8754886879155040292?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/8754886879155040292/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=8754886879155040292&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/8754886879155040292'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/8754886879155040292'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2007/02/new-ocps-and-ocas.html' title='new OCPs and OCAs'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp3.blogger.com/_UrwXdMHjvhs/RdSDDAS1FBI/AAAAAAAAAAk/Gh7Rmz9nDiM/s72-c/HPIM2041.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-4504003107442727452</id><published>2007-02-15T14:18:00.000+01:00</published><updated>2007-02-15T15:25:51.372+01:00</updated><title type='text'>Enterprise Manager Packages Licensing Information Part II</title><content type='html'>A few weeks ago I have already posted about the licensing agreements for the Oracle 10g Enterprise Manager Packages.&lt;br /&gt;I have pointed out that you use these packages implicitly if you even do not use Enterprise Manager at all, but only&lt;br /&gt;- run certain scripts from $ORACLE_HOME/rdbms/admin/&lt;br /&gt;or&lt;br /&gt;- call certain procedures from certain packages&lt;br /&gt;and so on&lt;br /&gt;Pls see &lt;a href="http://luhartma.blogspot.com/2006/07/oracle-10g-enterprise-manager-packages.html"&gt;my first post about this&lt;/a&gt; for a detailed list of functionalities which use these packages implictily..&lt;br /&gt;&lt;br /&gt;Just recently I received a comment on this post by Russel who asked about ADDM in Standard Edition, which made me wonder..&lt;br /&gt;First of all I looked up the &lt;a href="http://download-uk.oracle.com/docs/cd/B19306_01/license.102/b14199/editions.htm#CJAHFHBJ"&gt;licensing information in the Online Ducumentation&lt;/a&gt; where I found the Table 1-1 Feature Availability for Oracle Database Editions which shows me:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Feature/Option                                                  SE1 &lt;span style="color: rgb(255, 0, 0);"&gt;SE&lt;/span&gt; EE Notes&lt;br /&gt;&lt;table class="HRuleFormalWide" dir="ltr" title="Feature Availability for Oracle Database Editions" summary="Column 1 contains subheading rows with Area names and within each area contains feature names. Columns 2 through 5 correspond to features XE, SE1, SE, and EE. Column 5 contains notes." border="1" cellpadding="3" cellspacing="0" frame="hsides" rules="rows" width="100%"&gt;&lt;tbody&gt;&lt;tr align="left" valign="top"&gt; &lt;td id="r33c1-t2" headers="r1c1-t2" align="left"&gt; &lt;p&gt;&lt;span class="bold"&gt;Manageability&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td headers="r33c1-t2 r1c2-t2" align="left"&gt;&lt;br /&gt;&lt;/td&gt; &lt;td headers="r33c1-t2 r1c3-t2" align="left"&gt;&lt;br /&gt;&lt;/td&gt; &lt;td style="vertical-align: top;"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td headers="r33c1-t2 r1c4-t2" align="left"&gt;&lt;br /&gt;&lt;/td&gt; &lt;td headers="r33c1-t2 r1c5-t2" align="left"&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr align="left" valign="top"&gt; &lt;td id="r34c1-t2" headers="r1c1-t2" align="left"&gt; &lt;p&gt;Oracle Change Management Pack&lt;/p&gt;&lt;/td&gt; &lt;td headers="r34c1-t2 r1c2-t2" align="left"&gt; &lt;p&gt;N&lt;/p&gt;&lt;/td&gt; &lt;td style="color: rgb(255, 0, 0);" headers="r34c1-t2 r1c3-t2" align="left"&gt; &lt;p&gt;N&lt;/p&gt;&lt;/td&gt; &lt;td style="vertical-align: top;"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td headers="r34c1-t2 r1c4-t2" align="left"&gt; &lt;p&gt;Y&lt;/p&gt;&lt;/td&gt; &lt;td headers="r34c1-t2 r1c5-t2" align="left"&gt; &lt;p&gt;Extra cost option&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr align="left" valign="top"&gt; &lt;td id="r35c1-t2" headers="r1c1-t2" align="left"&gt; &lt;p&gt;Oracle Configuration Management Pack&lt;/p&gt;&lt;/td&gt; &lt;td headers="r35c1-t2 r1c2-t2" align="left"&gt; &lt;p&gt;N&lt;/p&gt;&lt;/td&gt; &lt;td style="color: rgb(255, 0, 0);" headers="r35c1-t2 r1c3-t2" align="left"&gt; &lt;p&gt;N&lt;/p&gt;&lt;/td&gt; &lt;td style="vertical-align: top;"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td headers="r35c1-t2 r1c4-t2" align="left"&gt; &lt;p&gt;Y&lt;/p&gt;&lt;/td&gt; &lt;td headers="r35c1-t2 r1c5-t2" align="left"&gt; &lt;p&gt;Extra cost option&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr align="left" valign="top"&gt; &lt;td id="r36c1-t2" headers="r1c1-t2" align="left"&gt; &lt;p&gt;Oracle Diagnostic Pack&lt;/p&gt;&lt;/td&gt; &lt;td headers="r36c1-t2 r1c2-t2" align="left"&gt; &lt;p&gt;N&lt;/p&gt;&lt;/td&gt; &lt;td style="color: rgb(255, 0, 0);" headers="r36c1-t2 r1c3-t2" align="left"&gt; &lt;p&gt;N&lt;/p&gt;&lt;/td&gt; &lt;td style="vertical-align: top;"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td headers="r36c1-t2 r1c4-t2" align="left"&gt; &lt;p&gt;Y&lt;/p&gt;&lt;/td&gt; &lt;td headers="r36c1-t2 r1c5-t2" align="left"&gt; &lt;p&gt;Extra cost option&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr align="left" valign="top"&gt; &lt;td id="r37c1-t2" headers="r1c1-t2" align="left"&gt; &lt;p&gt;Oracle Tuning Pack&lt;/p&gt;&lt;/td&gt; &lt;td headers="r37c1-t2 r1c2-t2" align="left"&gt; &lt;p&gt;N&lt;/p&gt;&lt;/td&gt; &lt;td style="color: rgb(255, 0, 0);" headers="r37c1-t2 r1c3-t2" align="left"&gt; &lt;p&gt;N&lt;/p&gt;&lt;/td&gt; &lt;td style="vertical-align: top;"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td headers="r37c1-t2 r1c4-t2" align="left"&gt; &lt;p&gt;Y&lt;/p&gt;&lt;/td&gt; &lt;td headers="r37c1-t2 r1c5-t2" align="left"&gt; &lt;p&gt;Extra cost option, also requires the Diagnostic Pack&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr align="left" valign="top"&gt; &lt;td id="r38c1-t2" headers="r1c1-t2" align="left"&gt; &lt;p&gt;Duplexed backup sets&lt;/p&gt;&lt;/td&gt; &lt;td headers="r38c1-t2 r1c2-t2" align="left"&gt; &lt;p&gt;N&lt;/p&gt;&lt;/td&gt; &lt;td style="color: rgb(255, 0, 0);" headers="r38c1-t2 r1c3-t2" align="left"&gt; &lt;p&gt;N&lt;/p&gt;&lt;/td&gt; &lt;td style="vertical-align: top;"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td headers="r38c1-t2 r1c4-t2" align="left"&gt; &lt;p&gt;Y&lt;/p&gt;&lt;/td&gt; &lt;td headers="r38c1-t2 r1c5-t2" align="left"&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr align="left" valign="top"&gt; &lt;td id="r39c1-t2" headers="r1c1-t2" align="left"&gt; &lt;p&gt;Database Resource Manager&lt;/p&gt;&lt;/td&gt; &lt;td headers="r39c1-t2 r1c2-t2" align="left"&gt; &lt;p&gt;N&lt;/p&gt;&lt;/td&gt; &lt;td style="color: rgb(255, 0, 0);" headers="r39c1-t2 r1c3-t2" align="left"&gt; &lt;p&gt;N&lt;/p&gt;&lt;/td&gt; &lt;td style="vertical-align: top;"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td headers="r39c1-t2 r1c4-t2" align="left"&gt; &lt;p&gt;Y&lt;/p&gt;&lt;/td&gt; &lt;td headers="r39c1-t2 r1c5-t2" align="left"&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;The Documentations explains to us the following about Table 1-1:&lt;br /&gt;&lt;a href="#CIHBAEID"&gt;Table 1-1&lt;/a&gt; lists feature availability for Oracle Database  Standard Edition One (SE1), Standard Edition (SE), and Enterprise Edition (EE).  The &lt;code&gt;Y&lt;/code&gt; value in a column means that the feature is available in the  specified release; &lt;code style="color: rgb(255, 0, 0);"&gt;N&lt;/code&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; means that it is unavailable&lt;/span&gt;. This table can  help you understand the difference between the editions and determine whether  you require Enterprise Edition (or Personal Edition for a single-user  environment).&lt;br /&gt;&lt;br /&gt;Russel had asked in his comment about addmrpt.sql script for Standard Edition.&lt;br /&gt;So I have installed SE under Linux and found out to my surprise that all the Enterprise functionalites where there ADDM, AWR, all the Enterprise Manager Packages which are not available, as the docu says. They were all in place and functionable in SE!&lt;br /&gt;So I called Oracle support and here is what I was told:&lt;br /&gt;&lt;br /&gt;SE has the same code base as EE, and all the EE-functionalities are also working in SE, they are even used by ORACLE    internally for self tuning ,&lt;br /&gt;BUT,&lt;br /&gt;you are not allowed to use them.&lt;br /&gt;&lt;br /&gt;And now you maybe should &lt;a href="http://luhartma.blogspot.com/2006/07/oracle-10g-enterprise-manager-packages.html"&gt;look at my first post again&lt;/a&gt; in order to find out what is not allowed and &lt;span style="color: rgb(255, 0, 0);"&gt;what brings you in danger od needing even not only an additional license for the packages&lt;/span&gt; but, also &lt;span style="color: rgb(255, 0, 0);"&gt;you might need a license for Enterprise Edition on top&lt;/span&gt; because the packages which are not available as of the Docu, but which are in place and functionable, and are implicitly used if you just klick to one little link in the browser or call just one procedure or run only the wrong skript from $ORACLE_HOME/rdbms/admin, are &lt;span style="color: rgb(255, 0, 0);"&gt;not combinable with an SE license&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;The nice new functionality called &lt;span style="color: rgb(51, 51, 255);"&gt;database usage statistics high water marks&lt;/span&gt; will let you and everyone who can look at it know, which feature was used in the past and how often and so forth:&lt;br /&gt;Haved a look at DBA_FEATURE_USAGE_STATISTICS  and you will know if you already need a license  for  Enterprise Edition.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Thanks a lot for asking Russel!!!!&lt;br /&gt;I was not aware of this.&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-4504003107442727452?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/4504003107442727452/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=4504003107442727452&amp;isPopup=true' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/4504003107442727452'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/4504003107442727452'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2007/02/enterprise-manager-packages-licensing.html' title='Enterprise Manager Packages Licensing Information Part II'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-6194936361876623374</id><published>2007-02-11T12:10:00.000+01:00</published><updated>2007-02-11T12:30:48.645+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='RMAN'/><title type='text'>Brand new book on RMAN Backup &amp; Recovery out!</title><content type='html'>Finally it has been published: &lt;a href="http://bp0.blogger.com/_UrwXdMHjvhs/Rc75_wS1FAI/AAAAAAAAAAY/f0mU71QqumE/s1600-h/rman_10g_book.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5030232707510375426" style="FLOAT: right; MARGIN: 0px 0px 10px 10px; CURSOR: hand" alt="" src="http://bp0.blogger.com/_UrwXdMHjvhs/Rc75_wS1FAI/AAAAAAAAAAY/f0mU71QqumE/s200/rman_10g_book.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;the ultimat RMAN book for Oracle 10g&lt;br /&gt;by M. Hart &amp; R. Freeman!&lt;br /&gt;&lt;br /&gt;I have been waiting for the 10g version of the book since quite a while already.&lt;br /&gt;It was one of the very good books for Oracle 9i and I can tell you that the new one is as good. &lt;a href="http://www.mhprofessional.com/product.php?cat=112&amp;amp;isbn=0072263172"&gt;http://www.mhprofessional.com/product.php?cat=112&amp;amp;isbn=0072263172&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div align="right"&gt;&lt;/div&gt;&lt;div align="right"&gt;ISBN: 0072263172 / 9780072263176&lt;/div&gt;What I like most about the book:&lt;br /&gt;- It contains a number of workshop for advanced recovery scenarios and&lt;br /&gt;points out all these RMAN functionalities which are much too less used and know like BLOCK RECOVERY, PROACTIVE CHECKING FOR CORRUPT BLOCKS and so on.&lt;br /&gt;- it has good index&lt;br /&gt;- it contains info about memory utilization of RMAN for tuning&lt;br /&gt;&lt;br /&gt;The book also covers new 10g features, such as Flashback, Transportable Tablespaces Cross Platform ...&lt;br /&gt;&lt;br /&gt;It is a must for everybody who needs to know how RMAN works and how to utilize it to the max.&lt;br /&gt;&lt;div align="right"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left"&gt;Table of contents&lt;br /&gt;Part I: Getting Started with RMAN in Oracle Database 10g &lt;/div&gt;&lt;div align="left"&gt;Chapter 1: Oracle Database 10g Backup and Recovery Architecture Tour &lt;/div&gt;&lt;div align="left"&gt;Chapter 2: Introduction to the RMAN Architecture &lt;/div&gt;&lt;div align="left"&gt;Part II: Setup Principles and Practices &lt;/div&gt;&lt;div align="left"&gt;Chapter 3: RMAN Setup and Configuration &lt;/div&gt;&lt;div align="left"&gt;Chapter 4: Media Management Considerations Chapter &lt;/div&gt;&lt;div align="left"&gt;5: Oracle Secure Backup &lt;/div&gt;&lt;div align="left"&gt;Chapter 6: Enhancing RMAN with VERITAS NetBackup for Oracle Chapter &lt;/div&gt;&lt;div align="left"&gt;7: Configuring EMC NetWorker Module for Oracle Chapter &lt;/div&gt;&lt;div align="left"&gt;8: RMAN and Tivoli Storage Manager &lt;/div&gt;&lt;div align="left"&gt;Part III: Using RMAN Effectively Chapter &lt;/div&gt;&lt;div align="left"&gt;9: RMAN Backups Chapter &lt;/div&gt;&lt;div align="left"&gt;10: RMAN Restore and Recovery Chapter &lt;/div&gt;&lt;div align="left"&gt;11: Using Oracle Enterprise Manager for Backup and Recovery Chapter &lt;/div&gt;&lt;div align="left"&gt;12: RMAN Advanced Recovery Topics Chapter &lt;/div&gt;&lt;div align="left"&gt;13: Surviving User Errors: Flashback Technologies Chapter &lt;/div&gt;&lt;div align="left"&gt;14: Maintaining RMAN Chapter &lt;/div&gt;&lt;div align="left"&gt;15: Monitoring and Reporting on RMAN Chapter &lt;/div&gt;&lt;div align="left"&gt;16: Performance Tuning RMAN Backup and Recovery Operations &lt;/div&gt;&lt;div align="left"&gt;Part IV: RMAN in the Oracle Ecosystem &lt;/div&gt;&lt;div align="left"&gt;Chapter 17: Duplication: Cloning the Target Database &lt;/div&gt;&lt;div align="left"&gt;Chapter 18: RMAN and Data Guard &lt;/div&gt;&lt;div align="left"&gt;Chapter 19: RMAN and Real Application Clusters &lt;/div&gt;&lt;div align="left"&gt;Chapter 20: RMAN in Sync and Split Technology &lt;/div&gt;&lt;div align="left"&gt;Chapter 21: RMAN in the Workplace: Case Studies &lt;/div&gt;&lt;div align="left"&gt;Part V: Appendixes &lt;/div&gt;&lt;div align="left"&gt;Appendix A: RMAN Syntax Reference Guide &lt;/div&gt;&lt;div align="left"&gt;Appendix B: Exploring the Recovery Catalog &lt;/div&gt;&lt;div align="left"&gt;Appendix C: Setting Up an RMAN Test Environment &lt;/div&gt;&lt;div align="left"&gt;INDEX&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-6194936361876623374?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/6194936361876623374/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=6194936361876623374&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/6194936361876623374'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/6194936361876623374'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2007/02/new-book-on-rman-backup-recovery-out.html' title='Brand new book on RMAN Backup &amp; Recovery out!'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp0.blogger.com/_UrwXdMHjvhs/Rc75_wS1FAI/AAAAAAAAAAY/f0mU71QqumE/s72-c/rman_10g_book.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-4466596920854925857</id><published>2007-02-10T09:51:00.000+01:00</published><updated>2007-02-10T10:07:16.228+01:00</updated><title type='text'>Oracle Database 10g Real Application Clusters Handbook</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_UrwXdMHjvhs/Rc2LRQS1E_I/AAAAAAAAAAM/XXWhPpRhwMQ/s1600-h/RAC_handbook_2007.jpg"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer;" src="http://bp1.blogger.com/_UrwXdMHjvhs/Rc2LRQS1E_I/AAAAAAAAAAM/XXWhPpRhwMQ/s200/RAC_handbook_2007.jpg" alt="" id="BLOGGER_PHOTO_ID_5029829487390692338" border="0" /&gt;&lt;/a&gt;I have just received the recent new book (FEB. 2007!)&lt;br /&gt;by &lt;span style="color: rgb(255, 0, 0);"&gt;K. Gopalakrishnan&lt;/span&gt; &lt;a href="http://www.mhprofessional.com/product.php?cat=112&amp;isbn=007146509X&amp;amp;cat=112"&gt;&lt;br /&gt;Oracle Database 10g Real Application Clusters Handbook&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Gopalakrishnan is a Senior Principal Consultant in Oracle Corporation and was avarded "&lt;span style="color: rgb(255, 0, 0);"&gt;Oracle Author of the year 2005&lt;/span&gt;" by Oracle Magazine in for his 2005 published book "Oracle Wait Interface", which was one of the few books of the last year about Oracle which were really worth their money. &lt;a href="http://luhartma.blogspot.com/2006/05/active-session-history-in-oracle.html"&gt;Pls see my post about this book also.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;After having a first glance at the new book I am very enthusiastic about it, because it contains large chapters about cache fusion (36 pages!) and the Global Resource Directory GRD (&gt;20 pages) explained from scratch , amoung other intereseting chapters about troubleshooting RAC, RAC deployment...&lt;br /&gt;Again we find the high quality we already have enjoyed in Gopalakrishnan´s Wait Interface book, and I bet it will be a success story as well.&lt;br /&gt;&lt;h3&gt;Table of contents&lt;/h3&gt; &lt;p&gt;Part I: High Availability Architecture and Clusters&lt;br /&gt;Chapter 1:  Introduction to High Availability and Scalability&lt;br /&gt;Chapter 2: Clustering  Basics and History&lt;br /&gt;Chapter 3: RAC Architecture&lt;br /&gt;Part II: Installation,  Configuration, and Storage&lt;br /&gt;Chapter 4: RAC Preinstallation&lt;br /&gt;Chapter 5: RAC  Installation&lt;br /&gt;Chapter 6: Automatic Storage Management&lt;br /&gt;Part III: RAC  Administration and Management&lt;br /&gt;Chapter 7: RAC Basic Administration &lt;br /&gt;Chapter 8: RAC Advanced Administration&lt;br /&gt;Chapter 9: RAC Backup and  Recovery&lt;br /&gt;Chapter 10: RAC Performance Management&lt;br /&gt;Part IV: Advanced  Concepts in RAC&lt;br /&gt;Chapter 11: Global Resource Directory&lt;br /&gt;Chapter 12: A  Closer Look at Cache Fusion&lt;br /&gt;Chapter 13: Workload and Connection Management &lt;br /&gt;Chapter 14: RAC Troubleshooting&lt;br /&gt;Part V: Deploying RAC&lt;br /&gt;Chapter 15:  RAC Extensions&lt;br /&gt;Chapter 16: Developing Applications for RAC&lt;br /&gt;APPENDIX A:  RAC REFERENCE&lt;br /&gt;APPENDIX B: ADDING AND REMOVING CLUSTER NODES&lt;br /&gt;APPENDIX C:  REFERENCES&lt;br /&gt;INDEX&lt;/p&gt; &lt;span style="color: rgb(255, 0, 0);"&gt;ISBN 007146509X / 9780071465090&lt;/span&gt;&lt;div class="results_field"&gt; &lt;p&gt;Paperback, 421 pages&lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-4466596920854925857?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/4466596920854925857/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=4466596920854925857&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/4466596920854925857'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/4466596920854925857'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2007/02/oracle-database-10g-real-application.html' title='Oracle Database 10g Real Application Clusters Handbook'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp1.blogger.com/_UrwXdMHjvhs/Rc2LRQS1E_I/AAAAAAAAAAM/XXWhPpRhwMQ/s72-c/RAC_handbook_2007.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-117061590241935661</id><published>2007-02-04T20:04:00.000+01:00</published><updated>2007-02-10T12:40:50.888+01:00</updated><title type='text'>INSIDE ORACLE 10g special seminar</title><content type='html'>At the moment I am preparing a special two day seminar about Oracle 10g.&lt;br /&gt;I have entirely created it on my own.&lt;br /&gt;&lt;br /&gt;Its title will be &lt;span style="color: rgb(0, 0, 153);"&gt;INSIDE ORACLE 10g&lt;/span&gt;&lt;br /&gt;and I will deliver it for the first time on&lt;br /&gt;February 19th./20th. in Zurich.&lt;br /&gt;&lt;br /&gt;on the first day of seminar I deal with the following topics:&lt;br /&gt;- Memory Management:&lt;br /&gt;- manual &amp; automatic Shared Memory management&lt;br /&gt;-  manual &amp;amp; automatic Process Memory management&lt;br /&gt;- temporary tablespace usage&lt;br /&gt;- managing optimizer statistics and upgrade issues&lt;br /&gt;&lt;br /&gt;On the second day I will talk about:&lt;br /&gt;- New Performance Tuning Approach in 10g&lt;br /&gt;- New RMAN Features and how they work&lt;br /&gt;- The new ORACLE recommended backup strategy&lt;br /&gt;- FLASHBACK Functionalities in 10g&lt;br /&gt;&lt;br /&gt;The seminar will take place at Digicomp Academy in Zurich&lt;br /&gt;and is handled by Oracle University.&lt;br /&gt;The number of seats is limited to 30.&lt;br /&gt;The prise is 1700 CHF for the two days.&lt;br /&gt;There are already several bookings placed.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;If you are interested in attentding  you can book simply &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;through my company sysdba database consulting GmbH&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;by cutting and pasting the below lines, filling them in with your data and sending them to &lt;/span&gt;&lt;span style="text-decoration: underline; color: rgb(255, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;sysdba database consulting GmbH &lt;span style="color: rgb(0, 0, 153);"&gt;by FAX&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;under the following number:&lt;span style="color: rgb(0, 0, 153);"&gt; +41 56 470 2264&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;Order Form for the two day seminar INSIDE ORACLE 10g &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;on February 19th./20th. 2007 in Zurich:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;&lt;br /&gt;Yes, I want to enroll &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;LAST NAME...............................................................&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;FIRST NAME.............................................................&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;COMPANY..................................................................&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;Number of Seats.........................................................&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;Telefone Number:......................................................&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;FAX Number..............................................................&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;DATE...........................................................................&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;SIGNATURE..............................................................&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-117061590241935661?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/117061590241935661/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=117061590241935661&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/117061590241935661'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/117061590241935661'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2007/02/inside-oracle-10g-specail-seminar.html' title='INSIDE ORACLE 10g special seminar'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-117061429705742736</id><published>2007-02-04T19:30:00.000+01:00</published><updated>2007-02-06T19:25:24.076+01:00</updated><title type='text'>Certifying CERN again</title><content type='html'>This week I am in Geneva again,&lt;br /&gt;delivering a special  certification event for Oracle University.&lt;br /&gt;Again a bunch of DBAs want to get certified for Oracle 10g.&lt;br /&gt;We compress a pensum of 10 normal education days into 5.&lt;br /&gt;I guess that again this will be no problem for these guyes -&lt;br /&gt;they are CERN!&lt;br /&gt;I am looking foreward to these &lt;a href="http://luhartma.blogspot.com/2006/11/best-sushi-in-geneva.html"&gt;delicious Sushis in the basement of Cornavin Station.&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-117061429705742736?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/117061429705742736/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=117061429705742736&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/117061429705742736'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/117061429705742736'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2007/02/certifying-cern-again.html' title='Certifying CERN again'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-117026146308852651</id><published>2007-01-31T17:36:00.000+01:00</published><updated>2007-02-03T21:30:44.326+01:00</updated><title type='text'>Oracle ACE award</title><content type='html'>&lt;a href="http://photos1.blogger.com/x/blogger/5054/1910/1600/50958/HPIM2032.jpg"&gt;&lt;img style="FLOAT: right; MARGIN: 0px 0px 10px 10px; CURSOR: hand" alt="" src="http://photos1.blogger.com/x/blogger/5054/1910/320/853597/HPIM2032.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Yesterday I received my Oracle ACE reward from Oracle Technology Network.&lt;br /&gt;The picture shows me with Ralph Bellinghausen from Oracle University Switzerland.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://photos1.blogger.com/x/blogger/5054/1910/1600/514247/HPIM2036.jpg"&gt;&lt;img style="FLOAT: left; MARGIN: 0px 10px 10px 0px; CURSOR: hand" alt="" src="http://photos1.blogger.com/x/blogger/5054/1910/320/255110/HPIM2036.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;OTN sent me a plaque with my name and a pullover.&lt;br /&gt;&lt;br /&gt;Thanks OTN!&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-117026146308852651?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/117026146308852651/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=117026146308852651&amp;isPopup=true' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/117026146308852651'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/117026146308852651'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2007/01/oracle-ace-award.html' title='Oracle ACE award'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-116888888543204992</id><published>2007-01-15T20:00:00.000+01:00</published><updated>2007-01-15T20:21:25.810+01:00</updated><title type='text'>New Demos on 10gR2 RAC available on OTN</title><content type='html'>There is a series about Oracle 10gR2 in Oracle By Example on OTN which provides us with a large number of really &lt;a href="http://www.oracle.com/technology/obe/demos/admin/demos.html"&gt;brilliant mini lessons&lt;/a&gt; in the form of little java viewlets which you can run in your browser.&lt;br /&gt;Specially the RAC demos appletts are very handy.&lt;br /&gt;&lt;br /&gt;The man behind this is &lt;span style="color: rgb(0, 0, 153);"&gt;Jean-Francois Verrier&lt;/span&gt;. He works as a course developer for Oracle University and puts a lot of effort into this series.&lt;br /&gt;Here is a list of this brilliant collection on OTN which has been updated just recently with a number of new demos.&lt;br /&gt;It is worth checking it out definitely!&lt;br /&gt;&lt;br /&gt;This is what you can find there at the moment for Oracle Database 10g Release 2 and especially Oracle 10g RAC:&lt;br /&gt;&lt;span style="color: rgb(51, 204, 0);"&gt;&lt;br /&gt;Manageability:&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Using SQL Baselines&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Using Metric Baselines&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Transport a tablespace version to another database&lt;/span&gt;&lt;span style="color: rgb(51, 204, 0);"&gt;&lt;br /&gt;Automatic Storage Management (ASM):&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Install ASM single instance in its own home&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Install ASM single instance in the same home&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Migrate a database to ASM&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Setup XML DB to access ASM&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Access ASM files using ASMCMD&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Real Application Clusters (RAC)&lt;/span&gt;&lt;span style="color: rgb(51, 204, 0);"&gt;&lt;br /&gt;RAC Deployment Series (Beta):&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Setting Up RAC Storage&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Setting Up Openfiler Storage&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Setting Up iSCSI On Client Side&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Using fdisk to Partition Storage&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Setting Up Multipathing On Client Side&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Installing and Configuring ASMLib&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Setting Up Storage Permissions On Client Side&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Installing Oracle Clusterware&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Installing Real Application Clusters&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Configuring ASM Storage&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;Installing Oracle Database Single Instance Software (Part I)&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Installing Oracle Database Single Instance Software (Part II)&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Creating Single Instance Database&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Protecting Single Instance Database Using Oracle Clusterware&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Converting Single Instance Database to RAC Database&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Adding a Node to Your Cluster&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Extending Oracle Clusterware to Third Node&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Extending RAC Software to Third Node&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Extending RAC Database to Third Node&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Rolling Upgrade Your Entire Cluster&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Creating a RAC Physical Standby Database&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Installing and Configuring OCFS2&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Setting Up RAC Primary Database in Archivelog Mode&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Backing Up RAC Primary Database&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Configuring Oracle Network Services on Clustered Standby Site&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Creating RAC Physical Standby Database Using OCFS2 Storage&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Checking RAC Physical to RAC Standby databases Communication&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Converting RAC Physical Standby Database to RAC Logical Standby Database&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Rolling Upgrade Oracle Clusterware&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Rolling Upgrade Oracle Clusterware on Clustered Primary Site (10.2.0.1 to 10.2.0.2)&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Rolling Upgrade Oracle Clusterware on Clustered Standby Site (10.2.0.1 to 10.2.0.2)&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Upgrading your RAC Standby Site&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Upgrading RAC Standby Database From 10.2.0.1 to 10.2.0.2 (Part I)&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Upgrading RAC Standby Database From 10.2.0.1 to 10.2.0.2 (Part II)&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Switching Primary and Standby Databases Roles&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Upgrading your old RAC Primary Site&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Upgrading RAC Old Primary Database From 10.2.0.1 to 10.2.0.2 (Part I)&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Upgrading RAC Old Primary Database From 10.2.0.1 to 10.2.0.2 (Part II)&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Switching Back Primary and Standby Databases Roles&lt;/span&gt;&lt;span style="color: rgb(51, 204, 0);"&gt;&lt;br /&gt;Miscellaneous:&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;RAC scale example&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;RAC speedup example&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Use Transparent Application Failover (TAF) with SELECT statements&lt;/span&gt;&lt;span style="color: rgb(51, 204, 0);"&gt;&lt;br /&gt;Oracle Clusterware:&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Use Oracle Clusterware to protect the apache application&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Use Oracle Clusterware to protect the Xclock application&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;RAC Voting Disk Multiplexing&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Patch Oracle Clusterware in a Rolling Fashion&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;CSS Diagnostic Case Study&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;RAC OCR Mirroring&lt;/span&gt;&lt;span style="color: rgb(51, 204, 0);"&gt;&lt;br /&gt;Services:&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Runtime Connection Load Balancing example&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Basic use of services in your RAC environment&lt;/span&gt;&lt;span style="color: rgb(51, 204, 0);"&gt;&lt;br /&gt;Installs and Enterprise Manager:&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Install ASM in its own home in a RAC environment&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Convert a single-instance database to a RAC database using Grid Control&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Push Management Agent software using Grid Control&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Clone Oracle Clusterware to extend your cluster using Grid Control&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Clone ASM home to extend your cluster using Grid Control&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Clone database home to extend your cluster using Grid Control&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Add a database instance to your RAC database using Grid Control&lt;/span&gt;&lt;span style="color: rgb(51, 204, 0);"&gt;&lt;br /&gt;RAC Concepts:&lt;/span&gt;&lt;span style="color: rgb(51, 204, 0);"&gt;&lt;br /&gt;RAC VIP Concepts&lt;/span&gt;&lt;span style="color: rgb(51, 204, 0);"&gt;&lt;br /&gt;RAC Object Affinity Concepts&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Rolling Release Upgrade (Beta): 10.2.0.1 to 10.2.0.2:&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Upgrading your Standby Site&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Upgrading RAC Standby Database From 10.2.0.1 to 10.2.0.2 (Part I)&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Upgrading RAC Standby Database From 10.2.0.1 to 10.2.0.2 (Part II)&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Switching Primary and Standby Databases Roles&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Upgrading your old Primary Site&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Upgrading RAC Old Primary Database From 10.2.0.1 to 10.2.0.2 (Part I)&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Upgrading RAC Old Primary Database From 10.2.0.1 to 10.2.0.2 (Part II)&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;Switching Back Primary and Standby Databases Roles&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-116888888543204992?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/116888888543204992/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=116888888543204992&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/116888888543204992'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/116888888543204992'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2007/01/new-demos-on-10gr2-rac-available-on_15.html' title='New Demos on 10gR2 RAC available on OTN'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-116878436696070346</id><published>2007-01-14T15:05:00.000+01:00</published><updated>2007-01-15T11:34:59.273+01:00</updated><title type='text'>Oracle DBA Toolbar</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/x/blogger/5054/1910/1600/58721/image001.png"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://photos1.blogger.com/x/blogger/5054/1910/200/643917/image001.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;Sorry, do not install the Oracle DBA toolbar!!!&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;It seems to have problems with the up to date internet explorer!!! &lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;(see comments!!!)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;A few weeks ago there was a download link on OTN for the&lt;br /&gt;ORACLE DBA toolbar, a little plugin for Microsoft Internet Explorer.&lt;br /&gt;&lt;br /&gt;After I got a new maschine I had to search for a while to find it again:&lt;br /&gt;I like this little tool very much. so I got it again.&lt;br /&gt;It is an .exe file you download of 880 k size, which installs th toolbar into the browser.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/x/blogger/5054/1910/1600/479458/image011.png"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 427px; height: 114px;" src="http://photos1.blogger.com/x/blogger/5054/1910/320/770850/image011.png" alt="" border="0" /&gt;&lt;/a&gt;After the installation you have links in the browser which you can use to access the software downloads from OTN, Metalink, your local SQL*PLUS and a little collection of favorites and other usefull links.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;I hope that it will be fixed and available for firefox soon!!!&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;=;-)&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-116878436696070346?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/116878436696070346/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=116878436696070346&amp;isPopup=true' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/116878436696070346'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/116878436696070346'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2007/01/oracle-dba-toolbar.html' title='Oracle DBA Toolbar'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-116860211333634242</id><published>2007-01-12T12:41:00.000+01:00</published><updated>2007-01-12T14:15:05.736+01:00</updated><title type='text'>Got the I-Pod with an Oracle course</title><content type='html'>tzerland to find out &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/x/blogger/5054/1910/1600/582613/HPIM2006.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://photos1.blogger.com/x/blogger/5054/1910/200/143063/HPIM2006.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Today one of my customers received a &lt;span style="color: rgb(255, 0, 0);"&gt;4GB i-Pod nano&lt;/span&gt;&lt;br /&gt;since he had booked two Oracle courses in Switzerland&lt;br /&gt;between Dec. 1st. 2006 and Feb. 28th. 2007.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.digicomp.ch/news/3227"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/x/blogger/5054/1910/1600/979945/HPIM2005.jpg"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer;" src="http://photos1.blogger.com/x/blogger/5054/1910/200/674354/HPIM2005.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;This is a really cool promo!&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;And it is still running!&lt;br /&gt;&lt;/span&gt;You can contact the toll free number&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;0844 844 822&lt;/span&gt; in Switzerland to find out more about it.&lt;br /&gt;Or ask per email: info@digicomp.ch,&lt;br /&gt;or &lt;a href="http://www.digicomp.ch/news/3227"&gt;use this link&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-116860211333634242?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/116860211333634242/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=116860211333634242&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/116860211333634242'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/116860211333634242'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2007/01/got-i-pod-with-oracle-course.html' title='Got the I-Pod with an Oracle course'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-116597293019088642</id><published>2006-12-13T02:17:00.000+01:00</published><updated>2006-12-13T02:22:11.050+01:00</updated><title type='text'>Licensing Oracle Clusterware?</title><content type='html'>Recently I have posted about &lt;a href="http://luhartma.blogspot.com/2006/12/how-to-use-oracle-clusterware-to.html"&gt;how to protect a single instance database with Oracle Clusterware &lt;/a&gt;and have received a number of comments and requests concerning licensing information for this feature.&lt;br /&gt;So I have just asked Oracle PreSales about this and here we are with the details:&lt;br /&gt;The good news is:&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;You do not need an additional license to use the Oracle Clusterware, even with single instance database!&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;But!:&lt;/span&gt; the emphasis is on &lt;span style="color:#ff0000;"&gt;&lt;strong&gt;additional&lt;/strong&gt;&lt;/span&gt;!&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;You need to have at least one license for at least one standard edition database in the cluster if you want to use the clusterware to protect your single instance database!&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-116597293019088642?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/116597293019088642/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=116597293019088642&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/116597293019088642'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/116597293019088642'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/12/licensing-oracle-clusterware.html' title='Licensing Oracle Clusterware?'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-116556475101450717</id><published>2006-12-08T08:37:00.000+01:00</published><updated>2006-12-08T10:13:10.570+01:00</updated><title type='text'>Steven Feuerstein coming to Zurich</title><content type='html'>The PL/SQL guru and &lt;a href="http://www.oracle.com/technology/community/oracle_ace/index.html"&gt;Oracle ACE&lt;/a&gt; &lt;a href="http://www.oracle.com/technology/community/oracle_ace/ace1.html#feuerstein"&gt;Steven Feuerstein&lt;/a&gt; will be in Zurich on &lt;span style="color: rgb(255, 0, 0);"&gt;March 29.th-30th. next year&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;These seminars are an absolute MUST for a PL/SQL-programmer!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;He will deliver special seminars on programming techniques&lt;/span&gt;   at the &lt;a href="http://www.convention-zh.ch/"&gt;Sonnenberg Convention Center&lt;/a&gt;:&lt;br /&gt;This is a &lt;a href="http://www.digicomp.ch/referate/SFS.html"&gt;summary contents for the seminars&lt;/a&gt;:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;b&gt;&lt;span class="error"&gt;Overview:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;Over its lifetime, PL/SQL has  grown increasingly robust and complex. Many programmers are barely aware of the  new capabilities of PL/SQL, much less fully understand the implications for  their programs. And virtually all PL/SQL developers are too pressured by  deadlines to have the time to think through the best way to apply PL/SQL's many  features.&lt;br /&gt;&lt;br /&gt;This two-day seminar, created specially for Oracle UK, teaches  attendees about the most important features of the PL/SQL language, focusing on  the major advances in Oracle 9i Database and Oracle Database 10g. Steven then  takes you beyond the basics to show you how to apply these features in the  context of best practices, so that you write highly optimized and easily  maintained and enhanced applications.&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="error"&gt;&lt;b&gt;Prereqs :&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;You should have a working  knowledge of PL/SQL and at least a year's worth of experience with the language.  All developers, from beginner to expert, will benefit from Steven's ideas and  examples.&lt;br /&gt;&lt;br /&gt;Steven will demonstrate techniques and principles that apply  to all versions of Oracle, but will also showcase new features in Oracle  Database 10g that can dramatically improve the quality and performance of code  that you write.&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;&lt;span class="error"&gt;Objectives:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;To improve query and DML  performance&lt;br /&gt;Use "six simple steps to unit testing happiness" to test your  PL/SQL subprograms&lt;br /&gt;Optimize SQL statements in PL/SQL programs&lt;br /&gt;Use  modular, reusable code&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;&lt;span class="error"&gt;Topics:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;Improve query and DML performance  Unit test your PL/SQL subprograms using "six simple steps to unit testing  happiness"&lt;br /&gt;Optimize the construction of your SQL statements in PL/SQL  programs&lt;br /&gt;Build modular, reusable code&lt;br /&gt;Manage errors by following a  standard, consistent process&lt;br /&gt;Apply collections (a critical but  under-utilized data structure)&lt;br /&gt;Take advantage of both forms of dynamic SQL  in PL/SQL&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;For &lt;span style="color: rgb(255, 0, 0);"&gt;more information &lt;/span&gt;and &lt;span style="color: rgb(255, 0, 0);"&gt;booking &lt;/span&gt;you can also contact&lt;/span&gt; edu-buch_ch@oracle.com&lt;/span&gt;&lt;/span&gt; .&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-116556475101450717?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/116556475101450717/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=116556475101450717&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/116556475101450717'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/116556475101450717'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/12/steven-feuerstein-coming-to-zurich.html' title='Steven Feuerstein coming to Zurich'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-116547827286820779</id><published>2006-12-07T08:21:00.000+01:00</published><updated>2006-12-07T19:31:55.986+01:00</updated><title type='text'>How to use Oracle Clusterware to protect a single instance  database</title><content type='html'>In Oracle 10g it is possible to use the Oracle Clustersoftware to protect single instance databases as well as cluster databases.&lt;br /&gt;&lt;br /&gt;There is a &lt;a href="http://www.oracle.com/technology/sample_code/products/rac/zip/sifo_action_scripts.zip"&gt;new set of code samples on OTN and a brilliant white paper&lt;/a&gt; by the authors Philip Newlan  and Roland Knapp, which shows how to protect a Single Instance Oracle Database with Oracle Clusterware.&lt;br /&gt;&lt;br /&gt;It is packed into a .zip file and contains  the  white paper plus a number of little perl scripts:&lt;br /&gt;- a script to start / stop / check the Oracle Listener in a &lt;span style="color: rgb(255, 0, 0);"&gt;cold failover&lt;/span&gt; configuration.&lt;br /&gt;- a script for start / stop / check the Oracle Instance in a cold failover configuration.&lt;br /&gt;- a script for start / stop / check the Oracle ASM Instance in a cold failover configuration&lt;br /&gt;&lt;br /&gt;The white paper covers three different case studies:&lt;br /&gt;&lt;span style="font-size:78%;"&gt;(here is an excerpt from the white paper)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;- Case 1 No Oracle Software installed on either node&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;- Case 2 Oracle with datafiles installed into a local instance of ASM&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;- Case 3 Oracle with datafiles installed onto a local filesystem&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;The ‘ending case’ configuration for each of these is as follows:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;- Case 1 Oracle Clusterware installed onto both nodes, Clustered ASM installed onto both nodes in the cluster, Single Instance Database Home on each node. In this case Oracle Clusterware automatically protects the ASM instance (by default). This section discusses scripts to protect the single Instance database.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;- Case 2 Oracle Clusterware installed onto both nodes, ASM instance ready to be started on new node. New database home on 2nd node, . This paper discusses scripts to protect the Listener, ASM and single Instance database. In this case the&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;ASM instance is non-clustered.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;- Case 3 Oracle Clusterware installed onto both nodes, OCFS 2 installed as a&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;common shared filesystem for the datafiles. Local Oracle Homes on each node. This paper discusses scripts to protect the listener and single Instance database.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Nice one!!&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-116547827286820779?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/116547827286820779/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=116547827286820779&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/116547827286820779'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/116547827286820779'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/12/how-to-use-oracle-clusterware-to.html' title='How to use Oracle Clusterware to protect a single instance  database'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-116489064042165251</id><published>2006-11-30T13:33:00.000+01:00</published><updated>2006-12-19T14:06:47.650+01:00</updated><title type='text'>It's not easy to become an Oracle Certified Master</title><content type='html'>Last week I was to take the Oracle 10g  &lt;a href="http://www.oracle.com/technology/oramag/oracle/06-sep/o56ocp.html?rssid=rss_otn_articles"&gt;OCM&lt;/a&gt; exam in Berlin.&lt;br /&gt;It is the second time that  I had registered for this challenge this year&lt;br /&gt;and it is the second time that the event was cancelled by&lt;br /&gt;Oracle University Germany.&lt;br /&gt;&lt;br /&gt;I had already booked my flight, made reservations for acommodation,&lt;br /&gt;even taken a few days off of work, not to speak about all the prep efforts I had put into it again.&lt;br /&gt;&lt;br /&gt;It is a pity that the next possible date is December 1st. in London.&lt;br /&gt;I will be speaking in Parma at the Italian Usergroup Meeting at that time.&lt;br /&gt;&lt;br /&gt;I think I will not try it a third time this year.&lt;br /&gt;Hopefully the chances for such an event to actually take place will be better next year.&lt;br /&gt;&lt;br /&gt;New special last week was the rental car I had rented at the airport.&lt;br /&gt;It was a nice little Alfa Romeo, only that its software was a little buggy obviousely.&lt;br /&gt;I all of a sudden could not close the windows on teh drivers side any more.&lt;br /&gt;So I had to drive about 100 km across the highway with an open window.&lt;br /&gt;&lt;br /&gt;It was not my week obviousely.&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-116489064042165251?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/116489064042165251/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=116489064042165251&amp;isPopup=true' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/116489064042165251'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/116489064042165251'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/11/its-not-easy-to-become-oracle.html' title='It&apos;s not easy to become an Oracle Certified Master'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-116411937512417662</id><published>2006-11-21T15:22:00.000+01:00</published><updated>2006-11-27T12:27:25.033+01:00</updated><title type='text'>Oracle ACE awarded</title><content type='html'>Today I received an email with the following text:&lt;br /&gt;... I am pleased to inform you that you have been nominated by XXX to receive the Oracle ACE award.  You have been chosen based on your significant contribution and activity in the Oracle technical community.  Like your fellow Oracle ACEs, you have demonstrated a proficiency in Oracle technology as well as a willingness to share your knowledge and experiences with the community....&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/oracle_ace.0.gif"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/320/oracle_ace.0.gif" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/ace.gif"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 24px; height: 24px;" src="http://photos1.blogger.com/blogger/5054/1910/320/ace.gif" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This makes me feel very proud and I would like to thank all those people who have encouraged me to keep on blogging and writing on Oracle New Features in variouse tech mags.&lt;br /&gt;&lt;br /&gt;I'll stay in touch with you!&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-116411937512417662?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/116411937512417662/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=116411937512417662&amp;isPopup=true' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/116411937512417662'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/116411937512417662'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/11/oracle-ace-awarded.html' title='Oracle ACE awarded'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-116376571511954339</id><published>2006-11-17T13:14:00.000+01:00</published><updated>2006-11-17T13:15:15.523+01:00</updated><title type='text'>The best Sushi in Geneva</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/cern%20001.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/320/cern%20001.jpg" alt="" border="0" /&gt;&lt;/a&gt;Today I went for lunch to a little Sushi Take Away Restaurant in Geneva&lt;br /&gt;with my group from CERN.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/cern%20005.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/320/cern%20005.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;It is located under the train station of Cornavin.&lt;br /&gt;Here are the contact data:&lt;br /&gt;Zim Zun&lt;br /&gt;Metro Shopping Gare Cornavin&lt;br /&gt;Tel.: 022 7310182&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/cern%20003.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/320/cern%20003.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;They have this very huge variety of freshly made Sushies of all kinds&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/cern%20004.jpg"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/320/cern%20004.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;and the prices are really reasonable.&lt;br /&gt;You pay between CHF 2 and 3,80 per piece&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/cern%20006.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/320/cern%20006.jpg" alt="" border="0" /&gt;&lt;/a&gt;And the women who sell the stuff, there are only women working,&lt;br /&gt;are so lovely!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/cern%20007.jpg"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/320/cern%20007.jpg" alt="" border="0" /&gt;&lt;/a&gt;... and they even sell other asian specialities from the wok.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I really want to recommend this restaurant!!&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-116376571511954339?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/116376571511954339/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=116376571511954339&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/116376571511954339'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/116376571511954339'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/11/best-sushi-in-geneva.html' title='The best Sushi in Geneva'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-116374936452955930</id><published>2006-11-17T08:26:00.000+01:00</published><updated>2006-11-17T08:48:57.100+01:00</updated><title type='text'>Teaching CERN how to pump the data</title><content type='html'>This week I deliver a special training in Geneva for a bunch of DBAs from the CERN.&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/cern.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 322px; height: 240px;" src="http://photos1.blogger.com/blogger/5054/1910/320/cern.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;These guyes are really special.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;They are always a few steps ahead with their questions.&lt;br /&gt;Very advanced students! They really give me a hard time.&lt;br /&gt;And we have a lot of fun.&lt;br /&gt;Of course they are more interested in the internals and the background than in GUIs, which makes it more challenging and more fun to teach them.&lt;br /&gt;&lt;br /&gt;They told me that CERN is stiil  in the testing phase  and their large databases are in the terabytes at the moment.&lt;br /&gt;&lt;br /&gt;Once they will go life with the experiments they will have databases in the petabytes range.&lt;br /&gt;Of course they use ASM for the storage because they have periodes  of very high high volume throughput. They also use Grid Control and of course everything is clustered at the CERN. Only RAC databases with 6 nodes for each cluster.&lt;br /&gt;Today I will demonstrate the datapump and ASM and how to migrate a database into an ASM storage with RMAN.&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-116374936452955930?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/116374936452955930/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=116374936452955930&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/116374936452955930'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/116374936452955930'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/11/teaching-cern-how-to-pump-data.html' title='Teaching CERN how to pump the data'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-116374825732550149</id><published>2006-11-17T08:20:00.000+01:00</published><updated>2006-11-17T08:25:47.386+01:00</updated><title type='text'>30000 th pageload this year</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/graph_summary_barchartsept_NOV_17th_2006.php.0.png"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/320/graph_summary_barchartsept_NOV_17th_2006.php.0.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;I reached the 30000 th poageload this year with my blog.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The tendency is clear!&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Thanks for reading my blog!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;table class="standard"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="tableHeaderLeft"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class="tableHeaderRight"&gt;Page Loads&lt;/td&gt; &lt;td class="tableHeaderRight"&gt;Unique Visitors&lt;/td&gt; &lt;td class="tableHeaderRight"&gt;First Time Visitors&lt;/td&gt; &lt;td class="tableHeaderRight"&gt;Returning Visitors&lt;/td&gt;  &lt;/tr&gt;&lt;tr&gt;&lt;td class="tableContent2LeftSpaced" colspan="1"&gt;&lt;b&gt;Total&lt;/b&gt;&lt;/td&gt;   &lt;td class="tableContent2RightSpaced"&gt;&lt;b&gt;30,256&lt;/b&gt;&lt;/td&gt;  &lt;td class="tableContent2RightSpaced"&gt;&lt;b&gt;21,641&lt;/b&gt;&lt;/td&gt;  &lt;td class="tableContent2RightSpaced"&gt;&lt;b&gt;17,501&lt;/b&gt;&lt;/td&gt;   &lt;td class="tableContent2RightSpaced"&gt;&lt;b&gt;4,140&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tableContent2LeftSpaced" colspan="1"&gt;Average&lt;/td&gt;   &lt;td class="tableContent2RightSpaced"&gt;2,751&lt;/td&gt;  &lt;td class="tableContent2RightSpaced"&gt;1,967&lt;/td&gt;  &lt;td class="tableContent2RightSpaced"&gt;1,591&lt;/td&gt;  &lt;td class="tableContent2RightSpaced"&gt;376&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="$leftClass" colspan="6"&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;  &lt;td class="tableHeaderLeft"&gt;Month&lt;/td&gt;  &lt;td class="tableHeaderRight"&gt;Page Loads&lt;/td&gt; &lt;td class="tableHeaderRight"&gt;Unique Visitors&lt;/td&gt; &lt;td class="tableHeaderRight"&gt;First Time Visitors&lt;/td&gt; &lt;td class="tableHeaderRight"&gt;Returning Visitors&lt;/td&gt;  &lt;/tr&gt;&lt;tr&gt;&lt;td class="tableContent2Left"&gt;Nov 2006&lt;/td&gt;   &lt;td class="tableContent2Right"&gt;2,712&lt;/td&gt;   &lt;td class="tableContent2Right"&gt;2,081&lt;/td&gt;   &lt;td class="tableContent2Right"&gt;1,674&lt;/td&gt;   &lt;td class="tableContent2Right"&gt;407&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tableContent1Left"&gt;Oct 2006&lt;/td&gt;   &lt;td class="tableContent1Right"&gt;5,618&lt;/td&gt;   &lt;td class="tableContent1Right"&gt;4,193&lt;/td&gt;   &lt;td class="tableContent1Right"&gt;3,369&lt;/td&gt;   &lt;td class="tableContent1Right"&gt;824&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tableContent2Left"&gt;Sep 2006&lt;/td&gt;   &lt;td class="tableContent2Right"&gt;3,608&lt;/td&gt;   &lt;td class="tableContent2Right"&gt;2,691&lt;/td&gt;   &lt;td class="tableContent2Right"&gt;2,125&lt;/td&gt;   &lt;td class="tableContent2Right"&gt;566&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tableContent1Left"&gt;Aug 2006&lt;/td&gt;   &lt;td class="tableContent1Right"&gt;4,709&lt;/td&gt;   &lt;td class="tableContent1Right"&gt;3,320&lt;/td&gt;   &lt;td class="tableContent1Right"&gt;2,784&lt;/td&gt;   &lt;td class="tableContent1Right"&gt;536&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tableContent2Left"&gt;Jul 2006&lt;/td&gt;   &lt;td class="tableContent2Right"&gt;3,770&lt;/td&gt;   &lt;td class="tableContent2Right"&gt;2,766&lt;/td&gt;   &lt;td class="tableContent2Right"&gt;2,211&lt;/td&gt;   &lt;td class="tableContent2Right"&gt;555&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tableContent1Left"&gt;Jun 2006&lt;/td&gt;   &lt;td class="tableContent1Right"&gt;3,459&lt;/td&gt;   &lt;td class="tableContent1Right"&gt;2,376&lt;/td&gt;   &lt;td class="tableContent1Right"&gt;1,870&lt;/td&gt;   &lt;td class="tableContent1Right"&gt;506&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tableContent2Left"&gt;May 2006&lt;/td&gt;   &lt;td class="tableContent2Right"&gt;3,504&lt;/td&gt;   &lt;td class="tableContent2Right"&gt;2,355&lt;/td&gt;   &lt;td class="tableContent2Right"&gt;1,913&lt;/td&gt;   &lt;td class="tableContent2Right"&gt;442&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tableContent1Left"&gt;Apr 2006&lt;/td&gt;   &lt;td class="tableContent1Right"&gt;1,713&lt;/td&gt;   &lt;td class="tableContent1Right"&gt;1,234&lt;/td&gt;   &lt;td class="tableContent1Right"&gt;1,066&lt;/td&gt;   &lt;td class="tableContent1Right"&gt;168&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tableContent2Left"&gt;Mar 2006&lt;/td&gt;   &lt;td class="tableContent2Right"&gt;704&lt;/td&gt;   &lt;td class="tableContent2Right"&gt;431&lt;/td&gt;   &lt;td class="tableContent2Right"&gt;360&lt;/td&gt;   &lt;td class="tableContent2Right"&gt;71&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tableContent1Left"&gt;Feb 2006&lt;/td&gt;   &lt;td class="tableContent1Right"&gt;160&lt;/td&gt;   &lt;td class="tableContent1Right"&gt;86&lt;/td&gt;   &lt;td class="tableContent1Right"&gt;66&lt;/td&gt;   &lt;td class="tableContent1Right"&gt;20&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tableContent2Left"&gt;Jan 2006&lt;/td&gt;   &lt;td class="tableContent2Right"&gt;299&lt;/td&gt;   &lt;td class="tableContent2Right"&gt;108&lt;/td&gt;   &lt;td class="tableContent2Right"&gt;63&lt;/td&gt;   &lt;td class="tableContent2Right"&gt;45&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-116374825732550149?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/116374825732550149/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=116374825732550149&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/116374825732550149'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/116374825732550149'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/11/30000-th-pageload-this-year.html' title='30000 th pageload this year'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-116314176197607093</id><published>2006-11-10T07:55:00.000+01:00</published><updated>2006-11-28T10:49:23.956+01:00</updated><title type='text'>Raising my own business</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/100PercentLogoSm.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/200/100PercentLogoSm.jpg" alt="" border="0" /&gt;&lt;/a&gt;After six years of being an Oracle employee&lt;br /&gt;I have decided to  leave the company and&lt;br /&gt;raise my own business.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;Starting from January 2007&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;I will be available for the following projects :&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;- Oracle consulting projects&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;- Oracle coaching&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;- Oracle trainings&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;It was a great pleasure for me to deliver courses for Oracle University.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;Therefore I will continue to deliver courses for Oracle University Switzerland and its partners.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;Also I  am available for projects internationally&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;and still have free capacitie for the first weeks of 2007.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;If you are interesting in booking me, &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;pls use my email contact in my profile here for now.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;I will have a new website for my company soon with a new contact&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;and will publish it here also.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I have been an instructor for Oracle 8i, 9i and 10g  core courses and have delivered&lt;br /&gt;in Switzerland, Germany, Great Britain and the U.S.A. the following courses:&lt;br /&gt;- Database Administration,&lt;br /&gt;- New Features,&lt;br /&gt;- Performance Tuning,&lt;br /&gt;- Advanced Backup &amp;amp; Recovery with RMAN,&lt;br /&gt;- Database Programming with PL/SQL,&lt;br /&gt;- Technical Overviews&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I have delivered special courses and events like:&lt;br /&gt;- Oracle Expert night (Zurich , Geneva)&lt;br /&gt;- New Features Workshop 10gR2 (New York, Chicago, New Jersey, London)&lt;br /&gt;- Performance Tuning Workshop - Memory Management Oracle 10g&lt;br /&gt;- The new Oracle 10gR2 suggested Backup Strategy (Swiss Oracle Usergroup)&lt;br /&gt;&lt;br /&gt;I am still working on upcoming special events about:&lt;br /&gt;- Oracle 11g New Features Overview&lt;br /&gt;- RAC 10gR2 overview&lt;br /&gt;- Oracle Data Guard&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-116314176197607093?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/116314176197607093/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=116314176197607093&amp;isPopup=true' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/116314176197607093'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/116314176197607093'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/11/raising-my-own-business_10.html' title='Raising my own business'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-116308350035004334</id><published>2006-11-09T14:06:00.000+01:00</published><updated>2007-01-18T06:46:51.766+01:00</updated><title type='text'>DBMS_SERVICE and net service names</title><content type='html'>Oracle 10gR1 was the first release to come with the package DBMS_SERVICE.&lt;br /&gt;This package can be used to manage services for single instances.&lt;br /&gt;There are procedures for creation , activation, deactivation, and removing of services.&lt;br /&gt;We can measure workloads and limit resources through services and there are more and more concepts which are using services.&lt;br /&gt;A RAC has the capability of managing services across instances.&lt;br /&gt;&lt;br /&gt;The package contains a number of constants, exceptions and subprogramms.&lt;br /&gt;&lt;br /&gt;Here is an example for the creation of a service on a single instance:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(51, 51, 255);"&gt;SQL&gt;  exec dbms_service.CREATE_SERVICE(SERVICE_NAME=&gt; 'HALLO', NETWORK_NAME=&gt; 'OTTO')&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;PL/SQL procedure successfully completed.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;SQL&gt;  exec dbms_service.START_SERVICE('HALLO')&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;SQL&gt;  show parameter service&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;NAME                                 TYPE        VALUE&lt;br /&gt;------------------------------------ ----------- ------------------------------&lt;br /&gt;service_names                        string      &lt;span style="color: rgb(255, 0, 0);"&gt;OTTO&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;The confusing thing here is that the parameter&lt;/span&gt; &lt;span style="font-style: italic; color: rgb(51, 51, 255);"&gt;NETWORK_NAME &lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;is in fact the value returned in the initialization parameter&lt;/span&gt; &lt;span style="color: rgb(51, 51, 255);"&gt;SERVICE_NAMES&lt;span style="color: rgb(0, 0, 0);"&gt;!&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;And the parameter &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-style: italic; color: rgb(51, 51, 255);"&gt;SERVICE_NAME &lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;is the values used for the net service name in tnsnames.ora!!&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;This is crazy I think! How confusing and misleading this is!&lt;br /&gt;&lt;br /&gt;Therefore you should use the same value for both parameters in the call of the procedure!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-116308350035004334?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/116308350035004334/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=116308350035004334&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/116308350035004334'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/116308350035004334'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/11/dbmsservice-and-net-service-names.html' title='DBMS_SERVICE and net service names'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-116245348007007576</id><published>2006-11-02T08:39:00.000+01:00</published><updated>2006-11-09T21:13:08.306+01:00</updated><title type='text'>I will  present @ Italian Oracle User Group in Parma</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/logo.gif"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/200/logo.gif" alt="" border="0" /&gt;&lt;/a&gt;On December 1st. I will deliver a presentation of&lt;br /&gt;Oracle's new recommended backup strategy&lt;br /&gt;at the &lt;a href="http://www.ougit.it/servlet/page?_pageid=59&amp;_dad=p30ougit&amp;amp;_schema=P30OUGIT&amp;inizia_da=28&amp;amp;voce_menu_sx=28&amp;amp;voce_menu_dx="&gt;annual meeting of the Italian Oracle User Group in Parma&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;I will use two ASM diskgroups,&lt;br /&gt;and migrate a database from file system into the ASM storage using RMAN.&lt;br /&gt;&lt;br /&gt;Then I will demonstrate how we can get around a full restore&lt;br /&gt;by switching to an image copy of the database in the&lt;br /&gt;flash recovery area, which I have incrementally updated.&lt;br /&gt;&lt;br /&gt;Looking foreward to Parma!&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-116245348007007576?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/116245348007007576/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=116245348007007576&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/116245348007007576'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/116245348007007576'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/11/i-will-present-italian-oracle-user.html' title='I will  present @ Italian Oracle User Group in Parma'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-116193273967082028</id><published>2006-10-27T08:44:00.000+02:00</published><updated>2006-10-29T20:43:56.016+01:00</updated><title type='text'>Oracle Enterprise Linux available</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/Redwood_shores%20_penguine.jpg"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/200/Redwood_shores%20_penguine.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/Oracle_Final_Linux.gif"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/200/Oracle_Final_Linux.gif" alt="" border="0" /&gt;&lt;/a&gt;&lt;span style="font-family:Times New Roman,Times,serif;"&gt;In  his Oracle OpenWorld keynote on October 25th, Larry Ellison &lt;a href="http://www.oracle.com/corporate/press/2006_oct/Oracle-Linux-Program.html"&gt;announced&lt;/a&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="font-family:Times New Roman,Times,serif;"&gt; Oracle Unbreakable Linux Support Program&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family:Times New Roman,Times,serif;"&gt;, a support program that provides enterprises with industry-leading,  global support for Linux.&lt;br /&gt;Oracle has been talking about even having its own Linux since quite a while now.&lt;br /&gt;&lt;a href="http://luhartma.blogspot.com/2006/09/interview-with-tom-kyte.html"&gt;I had asked Tom Kyte&lt;/a&gt; about Oracle's ambitions  in becoming kind of an OS itself and he said that it could definitely happen in the near future because it would make sense definitely very much.&lt;br /&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/ubl-80.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/200/ubl-80.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;span style="font-family:Times New Roman,Times,serif;"&gt;Please see also &lt;a href="http://www.oracle.com/technologies/linux/index.html"&gt;unbreacable linux @ OTN&lt;/a&gt;&lt;br /&gt;and &lt;a href="http://www.orablogs.com/sergio/archives/linux/index.html"&gt;Sergio Leunissen's Oracle Blog on Oracle's Linux project&lt;/a&gt;.&lt;br /&gt;He is a member of Oracle's Linux Team.&lt;br /&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/el4-1.png"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/200/el4-1.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-family:Times New Roman,Times,serif;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;It is already possible to &lt;a href="http://edelivery.oracle.com/linux"&gt;download ISOs for Oracle's enterprise linux!&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-116193273967082028?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/116193273967082028/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=116193273967082028&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/116193273967082028'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/116193273967082028'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/10/oracle-enterprise-linux-available.html' title='Oracle Enterprise Linux available'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-116189379089238400</id><published>2006-10-26T22:11:00.000+02:00</published><updated>2006-10-26T22:16:31.423+02:00</updated><title type='text'>11g new features</title><content type='html'>I just listened to an interview Tom Kyte gave at the Oracle Open World today in San Francisco.&lt;br /&gt;It is &lt;a href="http://feeds.feedburner.com/%7Er/OTN_TechCasts/%7E3/41885833/5103027.mp3"&gt;available on OTN for download&lt;/a&gt;.&lt;br /&gt;He talks about some interesting new features which will be available in Oracle 11g.&lt;br /&gt;It looks as if there are a number of really interesting new functionalities comming soon.&lt;br /&gt;=;-)&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-116189379089238400?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/116189379089238400/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=116189379089238400&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/116189379089238400'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/116189379089238400'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/10/11g-new-features.html' title='11g new features'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-116189185599065176</id><published>2006-10-26T21:21:00.000+02:00</published><updated>2006-10-26T21:44:28.273+02:00</updated><title type='text'>My perfomance tuning workshop</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/ubs_special%20001.jpg"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/200/ubs_special%20001.jpg" alt="" border="0" /&gt;&lt;/a&gt;Today I have delivered a specially tailored workshop in Zurich.&lt;br /&gt;A few weeks ago Tom Kyte had delivered a Q&amp;A session for a bunch of DBAs when he was in Zurich. I was booked for today to deliver a follow up as a workshop in order to discuss some details on memory management in Oracle database 10g.&lt;br /&gt;We had a close look at ASMM (Automatic Shared Memory Management), Automatic PGA Management and the use of temporary tablespaces and temporary tablespace groups in Oracle 10g.&lt;br /&gt;I had compiled specially tailored courseware from different Oracle University courses, such as the &lt;span style="font-style: italic;"&gt;New Features for 10g Adminstrator&lt;/span&gt;, &lt;span style="font-style: italic;"&gt;10g Performance Tuning&lt;/span&gt; and  some &lt;span style="font-style: italic;"&gt;white papers&lt;/span&gt; and &lt;span style="font-style: italic;"&gt;metalink notes&lt;/span&gt;.  &lt;br /&gt;I was teaching a group of about 15 DBAs who are very experienced and deal with very large systems of sizes in the 10s of terabytes.&lt;br /&gt;We also had some very interesting discussions on some features which can cause headaches when upgrading to Oracle 10g, such as bind variable peeking, system statistics, and automatic statistics gathering and its possible effects.&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-116189185599065176?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/116189185599065176/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=116189185599065176&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/116189185599065176'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/116189185599065176'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/10/my-perfomance-tuning-workshop.html' title='My perfomance tuning workshop'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-116125743450084036</id><published>2006-10-19T13:24:00.000+02:00</published><updated>2006-10-25T20:58:02.340+02:00</updated><title type='text'>Tablespace 101% full!</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/Screenshot-Vncviewer.0.png"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/320/Screenshot-Vncviewer.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Today I had a strange effect in my DBA class:&lt;br /&gt;I filled up my UNDO TABLESPACE which has only one non autoextensible datafile and waited for the alert to show up in DATABASE CONTROL console.&lt;br /&gt;And it did.&lt;br /&gt;See what it showed: =&gt; tablespace&lt;span style="color: rgb(255, 0, 0);"&gt; 101%&lt;/span&gt; full.&lt;br /&gt;How can this be?&lt;br /&gt;This is funny, eh!&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-116125743450084036?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/116125743450084036/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=116125743450084036&amp;isPopup=true' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/116125743450084036'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/116125743450084036'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/10/tablespace-101-full.html' title='Tablespace 101% full!'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-116032810595148149</id><published>2006-10-08T18:52:00.000+02:00</published><updated>2006-10-13T07:51:20.706+02:00</updated><title type='text'>How to use rlwrap to get a command history in sql*plus</title><content type='html'>&lt;span style="color: rgb(51, 51, 255);"&gt;sql*plus&lt;/span&gt; does not have a command history function under Linux and Unix.&lt;br /&gt;Lately I listened to Tom Kyte at one of his seminars he delivered in September in Zurich. He used a virtual Linux machine and had a command history for his sql*plus obviousely.&lt;br /&gt;He told us that he used a utility called &lt;span style="color: rgb(51, 51, 255);"&gt;rlwrap&lt;/span&gt; &lt;a href="http://http://user.cs.tu-berlin.de/%7Eccorn/software/rpm/packages/rlwrap.html"&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;/span&gt;&lt;/a&gt;for this.&lt;br /&gt;&lt;br /&gt;rlwrap is a readline wrapper for shell commands which uses input from the controlling terminal.&lt;br /&gt;It adds a persistent input history for each command and supports user-defined completion.&lt;br /&gt;&lt;br /&gt;I simply had to get it!&lt;br /&gt;And I think that this is worth sharing it.&lt;br /&gt;Here is how it works and how you can get it too.&lt;br /&gt;&lt;br /&gt;You can &lt;a href="http://utopia.knoware.nl/%7Ehlub/uck/rlwrap/"&gt;download the sources for the rpm for rlwrap from&lt;br /&gt;here&lt;/a&gt;. The most recent version I could find is version 0.26.&lt;br /&gt;There you also find a &lt;a href="http://utopia.knoware.nl/%7Ehlub/uck/rlwrap/README.txt"&gt;README &lt;/a&gt;and the &lt;a href="http://utopia.knoware.nl/%7Ehlub/uck/rlwrap/man.html"&gt;manpage &lt;/a&gt;for rlwrap.&lt;br /&gt;&lt;a href="http://utopia.knoware.nl/%7Ehlub/uck/rlwrap/man.html"&gt;&lt;/a&gt;&lt;br /&gt;After downloading and unpacking the tar.gz I ran as root (#)&lt;br /&gt;./configure&lt;br /&gt;make&lt;br /&gt;make check&lt;br /&gt;make install&lt;br /&gt;&lt;br /&gt;and that was it.&lt;br /&gt;&lt;br /&gt;Now I could call sqlplus this way:&lt;br /&gt;&lt;code style="color: rgb(51, 51, 255); font-style: italic;"&gt;&lt;b&gt;$ rlwrap sqlplus user/password@sid&lt;/b&gt;&lt;/code&gt;.&lt;br /&gt;&lt;br /&gt;Finally I create an alias&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(51, 51, 255);"&gt;alias sqlp ="rlwrap sqlplus"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;(pls see Laurent Schneider's comment on this post about alias &lt;span style="font-style: italic;"&gt;sqlplus!)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;Now I can simply call sqlplus as I always have done&lt;br /&gt;and have a commend history with the &lt;span style="font-size:0;"&gt;&lt;span style="font-weight: bold;"&gt;↑&lt;/span&gt; and &lt;span style="font-weight: bold;"&gt;↓&lt;/span&gt;&lt;/span&gt; keys on my keyboard.&lt;br /&gt;&lt;br /&gt;This will put an end to the stoneage habits we have all got used to too much!&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-116032810595148149?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/116032810595148149/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=116032810595148149&amp;isPopup=true' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/116032810595148149'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/116032810595148149'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/10/how-to-use-rlwrap-to-get-command.html' title='How to use rlwrap to get a command history in sql*plus'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-116031393564216205</id><published>2006-10-08T15:20:00.000+02:00</published><updated>2006-10-09T15:20:12.510+02:00</updated><title type='text'>SOUG Newsletter 4/2006 shipping</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/Horatiu%20007.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/200/Horatiu%20007.jpg" alt="" border="0" /&gt;&lt;/a&gt;The Newsletter 4/2006 of Swiss Oracle User Group is shipping since last week.&lt;br /&gt;I have an article about the Active Session History in Oracle Database 10g published in it.&lt;br /&gt;You can find it &lt;a href="http://luhartma.blogspot.com/2006/05/active-session-history-in-oracle.html"&gt;here&lt;/a&gt; on my blog as well.&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-116031393564216205?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/116031393564216205/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=116031393564216205&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/116031393564216205'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/116031393564216205'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/10/soug-newsletter-42006-shipping.html' title='SOUG Newsletter 4/2006 shipping'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-115925535745218299</id><published>2006-09-26T09:20:00.000+02:00</published><updated>2006-10-19T14:59:33.820+02:00</updated><title type='text'>Interview with Tom Kyte</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;b&gt;This is an interview which I made with Tom Kyte in Zurich in September 2006&lt;?xml:namespace prefix = o /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;&lt;b&gt;L.H.:&lt;/b&gt; Mr. Kyte, you are Vice President of the world's largest database software company and you also are the man behind the &lt;a href="http://asktom.oracle.com/"&gt;http://asktom.oracle.com/&lt;/a&gt; website.&lt;br /&gt;&lt;p class="MsoNormal" style="MARGIN-RIGHT: 0.5in"&gt;Since more than 6 year you have provided kind of support to the Oracle community for their every day problems in your forum.&lt;br /&gt;Judging from your experience, what are the most common mistakes made about database applications?&lt;/p&gt;&lt;p class="MsoNormal" style="MARGIN-RIGHT: 0.5in"&gt;&lt;b&gt;T.K.: &lt;/b&gt;This is a timely question, I just finished my "Worst Practices" material for some upcoming conferences (Oracle Open World included).&lt;br /&gt;&lt;br /&gt;The worst practices I see out in the field are:&lt;br /&gt;&lt;br /&gt;1) Blindly believing everything just because it is printed. I cannot even guess what percentage of technical material about Oracle published on the Internet is wrong. During the construction of my material for this Worst Practices talk - it took me about 10 minutes to find 10 really "good" (meaning really bad) examples of technically incorrect information. I used &lt;a href="http://www.google.com/"&gt;http://www.google.com/&lt;/a&gt; to search for "Oracle Tuning Tips" and found some really bad material quickly.&lt;br /&gt;&lt;br /&gt;2) Not using bind variables! Developers for whatever reason make this common mistake time and time and time again. Not using bind variables in most applications will cause 4 things to happen:&lt;br /&gt;a) they will run slower in single user mode, a large percentage of the program run time will be spent parsing SQL, not executing it.&lt;br /&gt;b) they will use memory entirely inefficiently, the shared pool will be a point of contention.&lt;br /&gt;c) their applications will not scale as users are added - hard parsing is a point of much serialization in the database.&lt;br /&gt;d) their application will be subject to SQL injection issues (put SQL Injection into the search box on &lt;a href="http://www.google.com/"&gt;http://www.google.com/&lt;/a&gt; and see how many articles you get back on that).&lt;br /&gt;&lt;br /&gt;So, by not using bind variables - the developers help to ensure they will have a slow running program that creates memory issues in the shared pool, that cannot scale and will be a huge security risk.&lt;br /&gt;&lt;br /&gt;3) Implementing very generic data base designs. Generic code can be useful, in some rare cases - however, if you want something maintainable, understandable and performant - you will actually &lt;i&gt;design&lt;/i&gt; your system, from day one.&lt;br /&gt;&lt;br /&gt;4) Not having a credible test environment. For example - not testing to scale (if you are going to support 100 concurrent transactions, you need to be able to test that you can do that - and then test it!). Or - testing against an empty database; that will not give you any indication that your developed application will actually perform in real life. &lt;/p&gt;&lt;p class="MsoNormal" style="MARGIN-RIGHT: 0.5in"&gt;&lt;b&gt;L.H.:&lt;/b&gt; After 14 year of work with Oracle Database, what is the feature to your mind today which makes Oracle Database unique among other database providers? &lt;/p&gt;&lt;p class="MsoNormal" style="MARGIN-BOTTOM: 12pt; MARGIN-RIGHT: 0.5in"&gt;&lt;b&gt;T.K.:&lt;/b&gt;&lt;a href="http://www.oracle.com/technology/oramag/oracle/05-may/o35asktom.html"&gt;http://www.oracle.com/technology/oramag/oracle/05-may/o35asktom.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;My favorite feature - Oracle's concurrency model. &lt;/p&gt;&lt;p class="MsoNormal" style="MARGIN-BOTTOM: 12pt; MARGIN-RIGHT: 0.5in"&gt;&lt;b&gt;L.H.:&lt;/b&gt; The average database of today is by far larger than what has been considered a Very Large Database only a few years ago.&lt;br /&gt;What are the most challenging task for a database administrator today? &lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;b&gt;T.K.: &lt;/b&gt;Keeping up with the technology! Many of the things we used to spend a lot of time doing manually are much more automated than they were a decade ago. And there are hundreds of new features to learn about. In the last decade we've gone from having a 1 Terabyte database be considered "huge" to being considered just "average" in size. Many things we did not use or need to use a decade ago - such as partitioning (did not exist) - are things we need to have mastery over today. Therefore, the working set of knowledge a DBA needs today is very much different from the working set of knowledge they had to have 10 years ago. We need to "forget" about some of the things that were automated (such as undo management - I'm glad I don't have to figure out exactly how many rollback segments of what size I need anymore) and keep up with all of the new tools we have to manage data such as partitioning, data guard, streams and so on.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;L.H.:&lt;/b&gt; The trend of the Oracle Database Server goes clearly into the direction of self management and self maintenance.&lt;br /&gt;Will there be a need for database administrators for the database of the future and what will be their main tasks? &lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;b&gt;T.K.: &lt;/b&gt;Absolutely - see the points above. Every time we automate something - 3 or 4 other "new things" are added. Sure - we automated PGA memory management in 9i, but we added Streams and Change Data Capture. The list of things DBAs do is not necessarily shrinking, but it is ever changing.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;L.H.:&lt;/b&gt; Will the database server of the future be able to also kind of auto-tune the application? &lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;b&gt;T.K.: &lt;/b&gt;This is why I say "tuning is not dead", but how we tune has to change. In the past - we would tune by tuning SQL. Nowadays the database is pretty good at tuning SQL - with SQL profiles, an ever smarter optimizer, the index advisor, the materialized view advisor, the SQL advisor and so on - tuning SQL is something we spend less and less time on.&lt;br /&gt;&lt;br /&gt;What we have to focus on is &lt;i&gt;how&lt;/i&gt; we do things - our algorithms. Maybe far far out in the future, the database can detect what an application is doing and "fix it", but for the time being - only we can.&lt;br /&gt;&lt;br /&gt;For example, the datab ase will not turn logic such as:&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;tt style="COLOR: rgb(51,51,255)"&gt;&lt;span style="font-family:Courier;font-size:10;"&gt;for x in (select * from t1)&lt;/span&gt;&lt;/tt&gt;&lt;span style="COLOR: rgb(51,51,255);font-family:Courier;font-size:10;"  &gt;&lt;br /&gt;&lt;/span&gt;&lt;tt style="COLOR: rgb(51,51,255)"&gt;&lt;span style="font-family:Courier;font-size:10;"&gt;loop&lt;/span&gt;&lt;/tt&gt;&lt;span style="COLOR: rgb(51,51,255);font-family:Courier;font-size:10;"  &gt;&lt;br /&gt;&lt;/span&gt;&lt;tt style="COLOR: rgb(51,51,255)"&gt;&lt;span style="font-family:Courier;font-size:10;"&gt;insert into t2 values X;&lt;/span&gt;&lt;/tt&gt;&lt;span style="COLOR: rgb(51,51,255);font-family:Courier;font-size:10;"  &gt;&lt;br /&gt;&lt;/span&gt;&lt;tt style="COLOR: rgb(51,51,255)"&gt;&lt;span style="font-family:Courier;font-size:10;"&gt;end loop;&lt;/span&gt;&lt;/tt&gt;&lt;span style="font-family:Courier;"&gt;&lt;br /&gt;into&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:Courier;font-size:10;"&gt;&lt;/span&gt;&lt;tt style="COLOR: rgb(51,51,255)"&gt;&lt;span style="font-family:Courier;font-size:10;"&gt;insert /*+ APPEND */&lt;br /&gt;into t2 select * from t1;&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;&lt;span style="font-size:10;"&gt;&lt;span style="font-size:0;"&gt;&lt;/span&gt;&lt;/span&gt;That is our job and will be for the immediate future. &lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;b&gt;L.H.:&lt;/b&gt; Oracle already has its own logical volume manager (Automatic Storage Management) its own cluster file system and since March 2006 also its own media management server (Oracle Secure Backup), which can be used to not only backup the database but also the entire Oracle software stack including application servers, the collaboration suite as well as OS-files.&lt;br /&gt;Will Oracle be kind of an operating system some day? &lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;b&gt;T.K.: &lt;/b&gt;We tried that once before actually, a thing called "Raw Iron" &lt;a href="http://news.com.com/2100-1001-219075.html"&gt;http://news.com.com/2100-1001-219075.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;It was not widely adopted - maybe it was before its time. I can certainly see the usefulness of such a thing - I personally already consider Oracle to be my operating system in many cases. I'm not saying Oracle is working on it (I have no knowledge to that effect), just that I could see it happening sometime in the future. A database appliance, much like you have network attached storage.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;L.H.:&lt;/b&gt; Thank you very much Mr. Kyte.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-115925535745218299?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/115925535745218299/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=115925535745218299&amp;isPopup=true' title='16 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/115925535745218299'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/115925535745218299'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/09/interview-with-tom-kyte.html' title='Interview with Tom Kyte'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>16</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-115911165621605784</id><published>2006-09-24T17:27:00.000+02:00</published><updated>2006-09-24T17:55:31.440+02:00</updated><title type='text'>STATISTICS_LEVEL in Oracle 10gR2</title><content type='html'>The initialization parameter &lt;span style="color: rgb(51, 51, 255);"&gt;STATISTICS_LEVEL&lt;/span&gt; controls quite a number of functionalities in the Oracle 10g database.&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Its default value is TYPICAL.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;By setting it to &lt;span style="color: rgb(255, 0, 0);"&gt;BASIC &lt;/span&gt;you switch off functionalities like automatic statistics collection for performance baselines, statistics sampeling for the active session history, table monitoring and a lot of more functionalities. If the parameter is set to BASIC it is still possible to manually set the parameters DB_CACHE_ADVICE,  TIMED_STATISTICS and TIMED_OS_STATISTICS.&lt;br /&gt;&lt;br /&gt;The parameter can also be set to &lt;span style="color: rgb(255, 0, 0);"&gt;ALL &lt;/span&gt;which causes the collection of additional statistics for timed operating system statistics and for the row source executions.&lt;br /&gt;Oracle strongly recommends to collect the statistics at least at TYPICAL level.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;STATISTICS_LEVEL can be set at system as well as at session level.&lt;/span&gt; If set on session level the following advisories or statistics get turned on or off, but their systemwide setting is not changed:&lt;br /&gt;- Timed Statistics&lt;br /&gt;- Timed OS Statistics&lt;br /&gt;- Plan Excution Statistics&lt;br /&gt;&lt;br /&gt;In order to find out which functionalities are controlled by STATISTICS_LEVEL you can query the dynamic performance view v$statistics_level which displays the status of the statistics/advisories controlled by STATISTICS_LEVEL:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;SYS @10gR2 SQL &gt; show parameter statistics_l&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;font-size:85%;" &gt;NAME                                 TYPE        VALUE&lt;br /&gt;------------------------- ----------&lt;br /&gt;statistics_level                     string      &lt;span style="color: rgb(255, 0, 0);"&gt;TYPICAL&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;SYS @10gR2 SQL &gt; DESC v$statistics_level&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;font-size:85%;" &gt;Name                                      Null?    Type&lt;br /&gt;----------------------------------------- -------- ----------------------------&lt;br /&gt;STATISTICS_NAME                                    VARCHAR2(64)&lt;br /&gt;DESCRIPTION                                              VARCHAR2(4000)&lt;br /&gt;SESSION_STATUS                                      VARCHAR2(8)&lt;br /&gt;SYSTEM_STATUS                                       VARCHAR2(8)&lt;br /&gt;ACTIVATION_LEVEL                                VARCHAR2(7)&lt;br /&gt;STATISTICS_VIEW_NAME                      VARCHAR2(64)&lt;br /&gt;SESSION_SETTABLE                                  VARCHAR2(3)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;SYS @10gR2 SQL &gt; SELECT  STATISTICS_NAME, ACTIVATION_LEVEL, SYSTEM_STATUS, STATISTICS_VIEW_NAME, SESSION_SETTABLE&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;  2   FROM v$statistics_level;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-style: italic;"&gt;STATISTICS_NAME    ACTIVAT SYSTEM_S STATISTICS_VIEW_NAME       SES&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;------------------------     ------------ ---------------------------------------------------- ---&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;Buffer Cache Advice&lt;/span&gt;                TYPICAL ENABLED  V$DB_CACHE_ADVICE           NO&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;MTTR Advice&lt;/span&gt;                            TYPICAL ENABLED  V$MTTR_TARGET_ADVICE        NO&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;Timed Statistics&lt;/span&gt;                       TYPICAL ENABLED                              YES&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;Timed OS Statistics&lt;/span&gt;                &lt;span style="color: rgb(255, 0, 0);"&gt;ALL&lt;/span&gt;     DISABLED                             YES&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;Segment Level Statistics&lt;/span&gt;     TYPICAL ENABLED  V$SEGSTAT                   NO&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;PGA Advice&lt;/span&gt;                             TYPICAL ENABLED  V$PGA_TARGET_ADVICE         NO&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;Plan Execution Statistic&lt;/span&gt;s     &lt;span style="color: rgb(255, 0, 0);"&gt;ALL&lt;/span&gt;     DISABLED V$SQL_PLAN_STATISTICS       YES&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;Shared Pool Advice&lt;/span&gt;             TYPICAL ENABLED  V$SHARED_POOL_ADVICE        NO&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;Modification Monitoring&lt;/span&gt;    TYPICAL ENABLED                              NO&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;Longops Statistics&lt;/span&gt;                 TYPICAL ENABLED  V$SESSION_LONGOPS           NO&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;Bind Data Capture&lt;/span&gt;                 TYPICAL ENABLED  V$SQL_BIND_CAPTURE          NO&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;Ultrafast Latch Statistics&lt;/span&gt;    TYPICAL ENABLED                              NO&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;Threshold-based Alerts     &lt;/span&gt;TYPICAL ENABLED                              NO&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;Global Cache Statistics&lt;/span&gt;         TYPICAL ENABLED                              NO&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;Active Session History&lt;/span&gt;        TYPICAL ENABLED  V$ACTIVE_SESSION_HISTORY    NO&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(51, 102, 255);"&gt;Undo Advisor, Alerts and Fast&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 102, 255);font-size:85%;" &gt;&lt;span style="font-style: italic;"&gt;Ramp up&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-style: italic;"&gt;  TYPICAL ENABLED  V$UNDOSTAT                  NO&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:78%;"&gt;16 rows selected.&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-115911165621605784?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/115911165621605784/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=115911165621605784&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/115911165621605784'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/115911165621605784'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/09/statisticslevel-in-oracle-10gr2.html' title='STATISTICS_LEVEL in Oracle 10gR2'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-115890802495822631</id><published>2006-09-22T08:52:00.000+02:00</published><updated>2006-09-22T08:53:45.210+02:00</updated><title type='text'>bits and bites with Tom Kyte</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/T_K_Sept_2006_Zurich%20007.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/320/T_K_Sept_2006_Zurich%20007.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;I had organized a little dinner for Tom Kyte and some special guests yesterday evening.&lt;br /&gt;We went to a nice Spanish restaurant  in the  Old City of Zurich.&lt;br /&gt;It was a relaxing evening with lots of fun, paella  and good Spanish wine.&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-115890802495822631?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/115890802495822631/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=115890802495822631&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/115890802495822631'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/115890802495822631'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/09/bits-and-bites-with-tom-kyte.html' title='bits and bites with Tom Kyte'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-115882734372309889</id><published>2006-09-21T10:28:00.000+02:00</published><updated>2006-09-22T09:44:48.156+02:00</updated><title type='text'>Tom Kyte @ Oracle Education Switzerland</title><content type='html'>Yesterday Tom Kyte flew into Zurich from Paris.&lt;br /&gt;He will stay for three days to  deliver a  number of special trainings  and lectures.&lt;br /&gt;After a Q&amp;A-session at the UBS bank in Zurich  I took him over to  Baden where he delivered a lecture about the importance of  "instrumentation" of code and the  possible methods of instrumenting your code in an Oracle environment both in the database (stored procedures) as well as outside the database (java, C, VB and the like).&lt;br /&gt;The  demo I liked best yesterday was about the usage of the package dbms_monitor. With this demo he pointed out how important it is that the devleopers use the possible instruments to hand over client information (through all middle tiers) into the database in order to enable the DBA to trace back (through all middle tiers) who exactely did what (in the browser). This a package I also show in my "Oracle 10g New Features  For Administrators" classes.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/T_K_Sept_2006_Zurich%20001.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/200/T_K_Sept_2006_Zurich%20001.jpg" alt="" border="0" /&gt;&lt;/a&gt;Today and tomorrow Tom Kyte will&lt;br /&gt;deliver a number of lectures&lt;br /&gt;at a special event of Oracle Education&lt;br /&gt;at the Zurich Development Center.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/T_K_Sept_2006_Zurich%20002.jpg"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/200/T_K_Sept_2006_Zurich%20002.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/T_K_Sept_2006_Zurich.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/320/T_K_Sept_2006_Zurich.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-115882734372309889?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/115882734372309889/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=115882734372309889&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/115882734372309889'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/115882734372309889'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/09/tom-kyte-oracle-education-switzerland.html' title='Tom Kyte @ Oracle Education Switzerland'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-115821304182251794</id><published>2006-09-14T07:42:00.000+02:00</published><updated>2006-09-14T07:50:42.293+02:00</updated><title type='text'>10 weeks =&gt; 10000 hits</title><content type='html'>Yesterday my blog encountered its 20000th. pageload since I launched it in November of last year.&lt;br /&gt;There were 10000 visitors since June 30th. !&lt;br /&gt;Thank you very much to all of you blog-readers!&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/graph_summary_barchartsept_13th_2006.php.0.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/400/graph_summary_barchartsept_13th_2006.php.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;table class="standard"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="tableHeaderLeft"&gt; &lt;/td&gt;&lt;td class="tableHeaderRight"&gt;Page Loads&lt;/td&gt; &lt;td class="tableHeaderRight"&gt;Unique Visitors&lt;/td&gt; &lt;td class="tableHeaderRight"&gt;First Time Visitors&lt;/td&gt; &lt;td class="tableHeaderRight"&gt;Returning Visitors&lt;/td&gt;  &lt;/tr&gt;&lt;tr&gt;&lt;td class="tableContent2LeftSpaced" colspan="1"&gt;&lt;b&gt;Total&lt;/b&gt;&lt;/td&gt;   &lt;td class="tableContent2RightSpaced"&gt;&lt;b&gt;19,816&lt;/b&gt;&lt;/td&gt;  &lt;td class="tableContent2RightSpaced"&gt;&lt;b&gt;13,768&lt;/b&gt;&lt;/td&gt;  &lt;td class="tableContent2RightSpaced"&gt;&lt;b&gt;11,224&lt;/b&gt;&lt;/td&gt;   &lt;td class="tableContent2RightSpaced"&gt;&lt;b&gt;2,544&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tableContent2LeftSpaced" colspan="1"&gt;Average&lt;/td&gt;   &lt;td class="tableContent2RightSpaced"&gt;2,202&lt;/td&gt;  &lt;td class="tableContent2RightSpaced"&gt;1,530&lt;/td&gt;  &lt;td class="tableContent2RightSpaced"&gt;1,247&lt;/td&gt;  &lt;td class="tableContent2RightSpaced"&gt;283&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="$leftClass" colspan="6"&gt; &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;  &lt;td class="tableHeaderLeft"&gt;Month&lt;/td&gt;  &lt;td class="tableHeaderRight"&gt;Page Loads&lt;/td&gt; &lt;td class="tableHeaderRight"&gt;Unique Visitors&lt;/td&gt; &lt;td class="tableHeaderRight"&gt;First Time Visitors&lt;/td&gt; &lt;td class="tableHeaderRight"&gt;Returning Visitors&lt;/td&gt;  &lt;/tr&gt;&lt;tr&gt;&lt;td class="tableContent2Left"&gt;Sep 2006&lt;/td&gt;   &lt;td class="tableContent2Right"&gt;1,498&lt;/td&gt;   &lt;td class="tableContent2Right"&gt;1,092&lt;/td&gt;   &lt;td class="tableContent2Right"&gt;891&lt;/td&gt;   &lt;td class="tableContent2Right"&gt;201&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tableContent1Left"&gt;Aug 2006&lt;/td&gt;   &lt;td class="tableContent1Right"&gt;4,709&lt;/td&gt;   &lt;td class="tableContent1Right"&gt;3,320&lt;/td&gt;   &lt;td class="tableContent1Right"&gt;2,784&lt;/td&gt;   &lt;td class="tableContent1Right"&gt;536&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tableContent2Left"&gt;Jul 2006&lt;/td&gt;   &lt;td class="tableContent2Right"&gt;3,770&lt;/td&gt;   &lt;td class="tableContent2Right"&gt;2,766&lt;/td&gt;   &lt;td class="tableContent2Right"&gt;2,211&lt;/td&gt;   &lt;td class="tableContent2Right"&gt;555&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tableContent1Left"&gt;Jun 2006&lt;/td&gt;   &lt;td class="tableContent1Right"&gt;3,459&lt;/td&gt;   &lt;td class="tableContent1Right"&gt;2,376&lt;/td&gt;   &lt;td class="tableContent1Right"&gt;1,870&lt;/td&gt;   &lt;td class="tableContent1Right"&gt;506&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tableContent2Left"&gt;May 2006&lt;/td&gt;   &lt;td class="tableContent2Right"&gt;3,504&lt;/td&gt;   &lt;td class="tableContent2Right"&gt;2,355&lt;/td&gt;   &lt;td class="tableContent2Right"&gt;1,913&lt;/td&gt;   &lt;td class="tableContent2Right"&gt;442&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tableContent1Left"&gt;Apr 2006&lt;/td&gt;   &lt;td class="tableContent1Right"&gt;1,713&lt;/td&gt;   &lt;td class="tableContent1Right"&gt;1,234&lt;/td&gt;   &lt;td class="tableContent1Right"&gt;1,066&lt;/td&gt;   &lt;td class="tableContent1Right"&gt;168&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tableContent2Left"&gt;Mar 2006&lt;/td&gt;   &lt;td class="tableContent2Right"&gt;704&lt;/td&gt;   &lt;td class="tableContent2Right"&gt;431&lt;/td&gt;   &lt;td class="tableContent2Right"&gt;360&lt;/td&gt;   &lt;td class="tableContent2Right"&gt;71&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tableContent1Left"&gt;Feb 2006&lt;/td&gt;   &lt;td class="tableContent1Right"&gt;160&lt;/td&gt;   &lt;td class="tableContent1Right"&gt;86&lt;/td&gt;   &lt;td class="tableContent1Right"&gt;66&lt;/td&gt;   &lt;td class="tableContent1Right"&gt;20&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tableContent2Left"&gt;Jan 2006&lt;/td&gt;   &lt;td class="tableContent2Right"&gt;299&lt;/td&gt;   &lt;td class="tableContent2Right"&gt;108&lt;/td&gt;   &lt;td class="tableContent2Right"&gt;63&lt;/td&gt;   &lt;td class="tableContent2Right"&gt;45&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-115821304182251794?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/115821304182251794/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=115821304182251794&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/115821304182251794'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/115821304182251794'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/09/10-weeks-10000-hits.html' title='10 weeks =&gt; 10000 hits'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-115763225507622880</id><published>2006-09-07T14:03:00.000+02:00</published><updated>2006-09-08T21:11:55.436+02:00</updated><title type='text'>crs_stat Utility</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/RAC_GENEVA%20006.jpg"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/200/RAC_GENEVA%20006.jpg" alt="" border="0" /&gt;&lt;/a&gt;I am in Geneva this week, teaching part of a RAC 10g class at the World Trade Center togehter with Tamás Kerepes from Budapest. He is an enormously skilled collegue of mine and I am happy to get to know him.&lt;br /&gt;&lt;br /&gt;I have demonstrated the migration of  an entire cluster database from OCFS to ASM life in the class yesterday, including  all datafiles, redologs, controlfiles, spfile and backups. This was a really thrilling and a little tricky process, but I succeeded at the end!&lt;br /&gt;I will post about the procedure soon.&lt;br /&gt;&lt;br /&gt;I came across a nice little option for the &lt;span style="color: rgb(51, 51, 255);"&gt;crs_stat utility&lt;/span&gt; which I was not aware of and which Tamás pointed out to me:&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;crs_stat -t &lt;/span&gt;gives a short listing of the contents of the cluster registry rather than the long listing of the simply scr_stat without the -f.&lt;br /&gt;This can come in very handy with a large cluster registry!&lt;br /&gt;Look at the difference!&lt;br /&gt;&lt;span style="color: rgb(51, 255, 51);"&gt;Here is a demo:&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;[oracle@ed-toraclin9a oracle]$ crs_stat --help&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;font-size:78%;" &gt;&lt;span style="color: rgb(0, 0, 0);"&gt;Usage:  crs_stat [resource_name [...]] [-v] [-l] [-q] [-c cluster_member]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;        crs_stat [resource_name [...]] -t [-v] [-q] [-c cluster_member]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;        crs_stat -p [resource_name [...]] [-q]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;        crs_stat [-a] application -g&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;        crs_stat [-a] application -r [-c cluster_member]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;        crs_stat -f [resource_name [...]] [-q] [-c cluster_member]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;        crs_stat -ls [resource_name [...]] [-q]&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;[oracle@ed-toraclin9a oracle]$ crs_stat&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;font-size:78%;" &gt;NAME=ora.RDBB.RDBB1.inst&lt;br /&gt;TYPE=application&lt;br /&gt;TARGET=ONLINE&lt;br /&gt;STATE=ONLINE on ed-toraclin9a&lt;br /&gt;&lt;br /&gt;NAME=ora.RDBB.RDBB2.inst&lt;br /&gt;TYPE=application&lt;br /&gt;TARGET=ONLINE&lt;br /&gt;STATE=ONLINE on ed-toraclin9b&lt;br /&gt;&lt;br /&gt;NAME=ora.RDBB.db&lt;br /&gt;TYPE=application&lt;br /&gt;TARGET=ONLINE&lt;br /&gt;STATE=ONLINE on ed-toraclin9b&lt;br /&gt;&lt;br /&gt;NAME=ora.ed-toraclin9a.ASM1.asm&lt;br /&gt;TYPE=application&lt;br /&gt;TARGET=ONLINE&lt;br /&gt;STATE=ONLINE on ed-toraclin9a&lt;br /&gt;&lt;br /&gt;NAME=ora.ed-toraclin9a.LISTENER_ED-TORACLIN9A.lsnr&lt;br /&gt;TYPE=application&lt;br /&gt;TARGET=ONLINE&lt;br /&gt;STATE=OFFLINE&lt;br /&gt;&lt;br /&gt;NAME=ora.ed-toraclin9a.gsd&lt;br /&gt;TYPE=application&lt;br /&gt;TARGET=ONLINE&lt;br /&gt;STATE=ONLINE on ed-toraclin9a&lt;br /&gt;&lt;br /&gt;NAME=ora.ed-toraclin9a.ons&lt;br /&gt;TYPE=application&lt;br /&gt;TARGET=ONLINE&lt;br /&gt;STATE=ONLINE on ed-toraclin9a&lt;br /&gt;&lt;br /&gt;NAME=ora.ed-toraclin9a.vip&lt;br /&gt;TYPE=application&lt;br /&gt;TARGET=ONLINE&lt;br /&gt;STATE=ONLINE on ed-toraclin9a&lt;br /&gt;&lt;br /&gt;NAME=ora.ed-toraclin9b.ASM2.asm&lt;br /&gt;TYPE=application&lt;br /&gt;TARGET=ONLINE&lt;br /&gt;STATE=ONLINE on ed-toraclin9b&lt;br /&gt;&lt;br /&gt;NAME=ora.ed-toraclin9b.LISTENER_ED-TORACLIN9B.lsnr&lt;br /&gt;TYPE=application&lt;br /&gt;TARGET=ONLINE&lt;br /&gt;STATE=ONLINE on ed-toraclin9b&lt;br /&gt;&lt;br /&gt;NAME=ora.ed-toraclin9b.gsd&lt;br /&gt;TYPE=application&lt;br /&gt;TARGET=ONLINE&lt;br /&gt;STATE=ONLINE on ed-toraclin9b&lt;br /&gt;&lt;br /&gt;NAME=ora.ed-toraclin9b.ons&lt;br /&gt;TYPE=application&lt;br /&gt;TARGET=ONLINE&lt;br /&gt;STATE=ONLINE on ed-toraclin9b&lt;br /&gt;&lt;br /&gt;NAME=ora.ed-toraclin9b.vip&lt;br /&gt;TYPE=application&lt;br /&gt;TARGET=ONLINE&lt;br /&gt;STATE=ONLINE on ed-toraclin9b&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;[oracle@ed-toraclin9a oracle]$ crs_stat -t&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;font-size:78%;" &gt;Name           Type           Target    State     Host&lt;br /&gt;------------------------------------------------------------&lt;br /&gt;ora....B1.inst application    ONLINE    ONLINE    ed-t...in9a&lt;br /&gt;ora....B2.inst application    ONLINE    ONLINE    ed-t...in9b&lt;br /&gt;ora.RDBB.db    application    ONLINE    ONLINE    ed-t...in9b&lt;br /&gt;ora....SM1.asm application    ONLINE    ONLINE    ed-t...in9a&lt;br /&gt;ora....9A.lsnr application    ONLINE    OFFLINE&lt;br /&gt;ora....n9a.gsd application    ONLINE    ONLINE    ed-t...in9a&lt;br /&gt;ora....n9a.ons application    ONLINE    ONLINE    ed-t...in9a&lt;br /&gt;ora....n9a.vip application    ONLINE    ONLINE    ed-t...in9a&lt;br /&gt;ora....SM2.asm application    ONLINE    ONLINE    ed-t...in9b&lt;br /&gt;ora....9B.lsnr application    ONLINE    ONLINE    ed-t...in9b&lt;br /&gt;ora....n9b.gsd application    ONLINE    ONLINE    ed-t...in9b&lt;br /&gt;ora....n9b.ons application    ONLINE    ONLINE    ed-t...in9b&lt;br /&gt;ora....n9b.vip application    ONLINE    ONLINE    ed-t...in9b&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-115763225507622880?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/115763225507622880/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=115763225507622880&amp;isPopup=true' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/115763225507622880'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/115763225507622880'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/09/crsstat-utility.html' title='crs_stat Utility'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-115679869443947015</id><published>2006-08-28T22:56:00.000+02:00</published><updated>2006-08-29T14:44:55.706+02:00</updated><title type='text'>TOM KYTE is back in Zurich in September</title><content type='html'>&lt;span style="color: rgb(51, 0, 0);font-size:100%;" &gt;As &lt;a style="color: rgb(51, 51, 255);" href="http://luhartma.blogspot.com/2005/12/waving-tom-kyte-good-bye.html"&gt;he had promised&lt;/a&gt; before he left last December, &lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);font-size:100%;" &gt;Tom Kyte will come back to Zurich on September 21st./22nd.&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color: rgb(51, 0, 0);"&gt; and deliver another two days of his very advanced seminars on database architecture and programming techniques.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 0, 0);"&gt;After the &lt;/span&gt;&lt;a style="color: rgb(51, 51, 255);" href="http://luhartma.blogspot.com/2005/12/tom-kyte-event-in-zuerich-dec-7th-9th.html"&gt;last seminar in December&lt;/a&gt;&lt;span style="color: rgb(51, 0, 0);"&gt; which was completely sold out, we have booked for a larger room this time, again at the &lt;/span&gt;&lt;a style="color: rgb(51, 51, 255);" href="http://www.zurich.ch/site/de/zurich/zdc.main.html"&gt;Zurich Development Center&lt;/a&gt;&lt;span style="color: rgb(51, 0, 0);"&gt;, which is a great location to have a seminar at.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 0, 0);"&gt;Again Tom Kyte will deliver two sets of sessions each of them about 60-90 minutes long.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 0, 0);"&gt;Tom Kyte  will cover the following topics:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;"Things you "know"&lt;/span&gt;&lt;br /&gt;Many developers and DBAs (not all, but many) approach the database with little or no understanding of how it actually works. Developers approach Oracle assuming it must work just like SQL Server or even worse with the frame of mind that says, "It doesn't matter how it works, I'm using a layer of abstraction to protect me." DBAs approach the server sometimes with a cursory knowledge of how things work, leading them to do things like, "We can skip backing up undo data-it isn't our stuff, we don't need it" or erasing archives because they ran out of space.&lt;br /&gt;This presentation will present some of these foibles and explain how not understanding how the database actually works will lead to disaster. Some examples of things you just might not know about yourself will be explored. Oracle is big and it is a moving target. Understanding it is an ongoing process that we need to continually do.&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Advanced analytic functions &lt;/span&gt;&lt;br /&gt;Analytic functions are the coolest thing to happen to the SQL language since the introduction of the keyword  SELECT . This session explores the use cases for analytic functions, demonstrates how and where you should use them, and explains the (nontrivial) syntax behind them.&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Efficient schema design&lt;/span&gt;&lt;br /&gt;Based entirely on chapter 7 of Tom's book "Effective Oracle by Design", this session takes you through the fundamentals of physical schema design. It demonstrates the various structures (hash clusters, B*-tree clusters, index-organized tables, ...) and tells when and where you want to use them. The session closes with indexing and compression techniques.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;PL/SQL or Java?&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;Is one language "better" than the other? Or maybe there is room for both? This session explores when you might want to use one over the other SQL Techniques&lt;br /&gt;The presenter will describe common SQL techniques he has encountered and utilizes day to day to tune query performance. Features such as scalar subqueries, using rownum (yes, to 'tune'), analytics, some hints and more will be demonstrated. Emphasis will be on when they work (where the 'trick' applies) as well as when they don't workwhere they do not apply. Care will be taken to show these not as a "top 10 things to do" but rather techniques to keep in mind when looking at problems in general.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="color: rgb(0, 0, 153);"&gt; Building test cases&lt;/span&gt;  &lt;/span&gt;&lt;br /&gt;When you say "it doesn't work", or "it isn't working right", you will need to build a small, concise, yet 100% complete test case that demonstrates the issue at hand (and removes all of the irrelevant bits). This session walks through how Tom Kyte builds his own test cases -- and how he many times finds his own mistakes in the development of them (such as: it wasn't a database bug in the first place!) - or, even if it turns out to be a problem in the database, how the development of the test case often leads to finding a workable "workaround".&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Bits and bytes&lt;/span&gt;&lt;br /&gt;This session covers some Oracle 10g  features that are really "cool" but not played up in the Oracle marketing messages. Mundane features that make our day to day lives that much nicer. Presented as a top 10 for 10g Release 1 and top ten for 10g Release 2&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;Versioning of data&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;A common requirement today is to maintain a complete history of data: every change made to a row over time, for rows in a table or set of tables. This session explores the methods available to do this, from "do it yourself" versioning (via triggers/application code) to letting the database do it for you with workspace management. Key focuses of this session are time to develop, performance, and implementation&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/architecture.gif"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/200/architecture.gif" alt="" border="0" /&gt;&lt;/a&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;Every participant of this seminar will not only get the printed courseware for the sessions of course but also a copy of &lt;a href="http://apress.com/book/bookDisplay.html?bID=10008"&gt;Tom Kyte's book on&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;a href="http://apress.com/book/bookDisplay.html?bID=10008"&gt; Oracle 9i and 10g &lt;/a&gt;&lt;a href="http://apress.com/book/bookDisplay.html?bID=10008"&gt;Database Architecture&lt;/a&gt;.&lt;br /&gt;Also there will be the sought-after &lt;span style="color: rgb(255, 0, 0);"&gt;Tom Kyte-T-Shirt&lt;/span&gt; again.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;There are still a few seats available!&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;If you are interested in taking part here are the detail again:&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;Date:&lt;/span&gt; September 21st., 22nd.&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;Time: &lt;/span&gt;9:00h -16:00h&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;Location:&lt;/span&gt; Zurich Development Center&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;Price: &lt;/span&gt;CHF 1800,-&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;font-size:100%;" &gt;Registration: &lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;font-size:100%;" &gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;edu-buch_ch@oracle.com&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-115679869443947015?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/115679869443947015/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=115679869443947015&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/115679869443947015'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/115679869443947015'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/08/tom-kyte-is-back-in-zurich-in.html' title='TOM KYTE is back in Zurich in September'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-115652719917647815</id><published>2006-08-25T19:18:00.000+02:00</published><updated>2006-08-25T20:30:37.116+02:00</updated><title type='text'>Using the Cluster Verification Utility to check RAC setup</title><content type='html'>Starting with Oracle database 10g Release 2 we can use the new Cluster Verification Utility (CVU) called &lt;strong&gt;&lt;span style="color:#3333ff;"&gt;cluvfy&lt;/span&gt;&lt;/strong&gt; to check a cluster environment before and after a RAC installation.&lt;br /&gt;This comes in very handy when you want to check your hardware and software setup before making the big step of installing the cluster ready services and rdbms software for the cluster db.&lt;br /&gt;The CVU is shipped with the clusterware, but you can also get it directly from &lt;a href="http://www.oracle.com/technology/products/database/clustering/cvu/cvu_download_homepage.html"&gt;Oracle Technology Network&lt;/a&gt;.&lt;br /&gt;It is already available for the following platforms:&lt;br /&gt;Linux&lt;br /&gt;Solaris&lt;br /&gt;HP&lt;br /&gt;AIX&lt;br /&gt;Windows&lt;br /&gt;&lt;br /&gt;Under linux you must first of all install the &lt;em&gt;cvuqdisk rpm&lt;/em&gt; .&lt;br /&gt;&lt;br /&gt;CVU requires Java 1.4.1 installed, needs about 30Mb of diskspace on the invocation node and about 25 Mb of working direcory on every node in the nodelist. The working directory must exeist on all nodes and the invoking user must have write access there.&lt;br /&gt;&lt;br /&gt;Let's take a short look at what we can do with cluvfy:&lt;br /&gt;&lt;span style="color:#000099;"&gt;[oracle@ed-olraclin1b bin]$ /stage/10gR2/rdbms/clusterware/cluvfy/runcluvfy.sh -help&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;em&gt;USAGE:&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;em&gt;cluvfy [ -help ]&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;em&gt;cluvfy stage { -list -help }&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;em&gt;cluvfy stage {-pre-post} &lt;stage-name&gt;&lt;stage-specific&gt;[-verbose]cluvfy comp { -list -help }cluvfy comp &lt;component-name&gt;&lt;component-specific&gt;[-verbose] &lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;em&gt;&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size:100%;color:#ff0000;"&gt;Let's provoke an error in order to get more help!&lt;/span&gt;&lt;em&gt; &lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;[oracle@ed-olraclin1b bin]$ /stage/10gR2/rdbms/clusterware/cluvfy/runcluvfy.sh stage -pre&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;em&gt;ERROR:Invalid command line syntax. &lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;em&gt;USAGE:&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;em&gt;cluvfy stage {-pre-post} &lt;stage-name&gt;&lt;stage-specific&gt;[-verbose] &lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#ff0000;"&gt;&lt;em&gt;SYNTAX (for Stages)&lt;span style="color:#000000;"&gt;:&lt;/span&gt;&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;em&gt;cluvfy stage -post hwos -n &lt;node_list&gt;[ -s &lt;storageid_list&gt;] [-verbose]&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;em&gt;cluvfy stage -pre cfs -n &lt;node_list&gt;-s &lt;storageid_list&gt;[-verbose]&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;em&gt;cluvfy stage -post cfs -n &lt;node_list&gt;-f &lt;file_system&gt;[-verbose]&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;em&gt;cluvfy stage -pre crsinst -n &lt;node_list&gt;[-r { 10gR1 10gR2 } ] &lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;div align="justify"&gt;&lt;span style="font-size:85%;"&gt;&lt;em&gt;[ -c &lt;ocr_location&gt;] [ -q &lt;voting_disk&gt;] &lt;/em&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-size:85%;"&gt;&lt;em&gt;[ -osdba &lt;osdba_group&gt;] &lt;/em&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-size:85%;"&gt;&lt;em&gt;[ -orainv &lt;orainventory_group&gt;] [-verbose]&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size:85%;"&gt;&lt;em&gt;cluvfy stage -post crsinst -n &lt;node_list&gt;[-verbose]&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;em&gt;cluvfy stage -pre dbinst -n &lt;node_list&gt;[-r { 10gR1 10gR2 } ]&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;div align="justify"&gt;&lt;span style="font-size:85%;"&gt;&lt;em&gt;[ -osdba &lt;osdba_group&gt;] [-verbose]&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size:85%;"&gt;&lt;em&gt;cluvfy stage -pre dbcfg -n &lt;node_list&gt;-d &lt;oracle_home&gt;[-verbose]&lt;br /&gt;&lt;br /&gt;&lt;/em&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;em&gt;&lt;/em&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size:100%;"&gt;As we see, cluvfy uses stages, which are states of the system, either pre- or post. With the pre-stages you can check whether the requirements for an installation are met, with the post-stages you can check if everything with the installation worked well.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;Here is an example for a pre-installation check before installing clusterware on a linux cluster:&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;[oracle@ed-olraclin1a .ssh]$ /stage/10gR2/rdbms/clusterware/cluvfy/runcluvfy.sh stage -pre crsinst -n ed-olraclin1a,ed-olraclin1b&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;em&gt;Performing pre-checks for cluster services setup &lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;em&gt;&lt;span style="color:#ff0000;"&gt;Checking node reachability&lt;/span&gt;...&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;em&gt;Node reachability check passed from node "ed-olraclin1a". &lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#ff0000;"&gt;&lt;em&gt;Checking user equivalence...&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;em&gt;User equivalence check passed for user "oracle". &lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#ff0000;"&gt;&lt;em&gt;Checking administrative privileges...&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;em&gt;User existence check passed for "oracle".&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;em&gt;Group existence check passed for "oinstall".&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;em&gt;Membership check for user "oracle" in group "oinstall" [as Primary] passed. &lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;em&gt;Administrative privileges check passed. &lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#ff0000;"&gt;&lt;em&gt;Checking node connectivity... &lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;em&gt;Node connectivity check passed for subnet "138.2.147.0" with node(s) ed-olraclin1b,ed-olraclin1a.&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;em&gt;Node connectivity check passed for subnet "192.168.1.0" with node(s) ed-olraclin1b,ed-olraclin1a. &lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;em&gt;Suitable interfaces for VIP on subnet "138.2.147.0":ed-olraclin1b eth0:138.2.147.72ed-olraclin1a eth0:138.2.147.70 &lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;em&gt;Suitable interfaces for the private interconnect on subnet "192.168.1.0":ed-olraclin1b eth1:192.168.1.12ed-olraclin1a eth1:192.168.1.11 &lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;em&gt;Node connectivity check passed. &lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;em&gt;&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;em&gt;&lt;span style="color:#ff0000;"&gt;Checking system requirements for 'crs'...&lt;/span&gt;&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;em&gt;Total memory check passed.&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;em&gt;Free disk space check passed.&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;em&gt;Swap space check passed.&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;em&gt;System architecture check passed.&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;em&gt;Kernel version check passed.&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;em&gt;Package existence check passed for "make-3.79".&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;em&gt;Package existence check passed for "binutils-2.14".&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;em&gt;Package existence check passed for "gcc-3.2".&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;em&gt;Package existence check passed for "glibc-2.3.2-95.27".&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;em&gt;Package existence check passed for "compat-db-4.0.14-5".&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;em&gt;Package existence check passed for "compat-gcc-7.3-2.96.128".&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;em&gt;Package existence check passed for "compat-gcc-c++-7.3-2.96.128".&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;em&gt;Package existence check passed for "compat-libstdc++-7.3-2.96.128".&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;em&gt;Package existence check passed for "compat-libstdc++-devel-7.3-2.96.128".&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;em&gt;Package existence check passed for "openmotif-2.2.3".&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;em&gt;Package existence check passed for "setarch-1.3-1".&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;em&gt;&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;em&gt;Group existence check passed for "dba".&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;em&gt;Group existence check passed for "oinstall".&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;em&gt;User existence check passed for "nobody". &lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#ff0000;"&gt;&lt;em&gt;System requirement passed for 'crs' Pre-check for cluster services setup was successful.&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;This is what we want to see at the end of the test!&lt;br /&gt;&lt;/span&gt;Only with this result you can be sure that an installation of of the cluster ready services will be successful.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;There are a number of good metalink notes on CVU available.&lt;br /&gt;As a first entry I would recommend Note:339939.1&lt;br /&gt;Subject: Running Cluster Verification Utility to Diagnose Install Problems&lt;br /&gt;Here you find detailed information about the supported platform-versions as well as how to install CVU and how it works.&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-115652719917647815?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/115652719917647815/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=115652719917647815&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/115652719917647815'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/115652719917647815'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/08/using-cluster-verification-utility-to.html' title='Using the Cluster Verification Utility to check RAC setup'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-115380964084890182</id><published>2006-07-25T08:05:00.000+02:00</published><updated>2006-09-19T18:37:00.580+02:00</updated><title type='text'>Oracle 10g Enterprise Manager Packages usage and licensing</title><content type='html'>The Enterprise Manager for Oracle 10g comes with a number of &lt;span style="color: rgb(255, 0, 0);"&gt;packages which need an additional license&lt;/span&gt; if you want to use them. These packages get installed automatically with Enterprise Edition and can be accessed from inside the EM-console (database control, grid control) as well as through APIs from inside the database.&lt;br /&gt;These packages are as follows:&lt;br /&gt;- &lt;span style="color: rgb(51, 51, 255);"&gt;Database Diagnostics Pack&lt;/span&gt;&lt;br /&gt;- &lt;span style="color: rgb(51, 51, 255);"&gt;Database Diagnostics Pack&lt;/span&gt;&lt;br /&gt;- &lt;span style="color: rgb(51, 51, 255);"&gt;Configuration Management Pack&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;What many DBAs do not know is the fact that&lt;span style="color: rgb(255, 0, 0);"&gt; you also need the additional licenses if you do not use the EM at all but use certain functionalities&lt;/span&gt; such as reports created with scripts located in $ORACLE_HOME/rdbms/admin or just by using certain procedures from a number of advisor packages, because these functionalities use the above listed packages.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Here is a&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255); font-weight: bold;"&gt; list of functionalities which need additional licensing in Oracle 10g Enterprise Edition&lt;/span&gt; and how you access them:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;- Database Diagnostic Pack includes:&lt;/span&gt;&lt;br /&gt;  - use of DBMS_WORKLOAD_REPOSITORY package&lt;br /&gt;  - use of DBMS_ADVISOR PACK if:&lt;br /&gt;     - when using any ADDM prefix for the value of the ADVISOR_NAME parameter&lt;br /&gt;     - when using any ADDM prefix for the value of the TASK_NAME parameter&lt;br /&gt;  - use of the view V$ACTIVE_SESSION_HISTORY&lt;br /&gt;  - use of any Data Dictionary view the DBA_HIST_  prefix in the name of the view&lt;br /&gt;  - use of any Data Dictionary view the DBA_ADVISOR_  prefix in the name of the view if query to these views retuns values from the ADDM or ADVISOR_NAME column or a value of ADDM* inthe TASK_NAME column or the corresponding TASK_ID&lt;br /&gt;&lt;br /&gt; - use of any of the following reports created by using one of the following scripts from $ORACLE_HOME/rdbms/admin:&lt;br /&gt; awrrpt.sql&lt;br /&gt; awrrpti.sql&lt;br /&gt; addmrtp.sql&lt;br /&gt; addmrpti.sql&lt;br /&gt; awrrpt.sql&lt;br /&gt; awrrpti.sql&lt;br /&gt; addmrpt.sql&lt;br /&gt; addmrpti.sql&lt;br /&gt; ashrpt.sql&lt;br /&gt; ashrpti.sql&lt;br /&gt; awrddrpt.sql&lt;br /&gt; and awrddrpi.sql&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;- Database Tuning Pack includes (needs Diagnostics Pack as prerequisit!):&lt;/span&gt;&lt;br /&gt;- use of the DBMS_SQLTUNE&lt;br /&gt;- use of DBMS_ADVISOR if the parameter ADVISOR_NAME is set to SQL Tuning Advisor or SQL Access Advisor&lt;br /&gt;- use of the script $ORACLE_HOME/rdbms/admin/sqlrpt.sql&lt;br /&gt;&lt;br /&gt;- &lt;span style="color: rgb(51, 51, 255);"&gt;Configuration Management Pack&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; - software and hardware inventory with history function&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; - patching &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; - cloning&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; - policy framework&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;It is possible to disable the access to these packages from inside the EM-console by navigating to the SETUP link. If you cannot efford to buy these licenses you can still use the classical methods for performance tuning like statspack, sql tracing  and performance statistics from the v$views.&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-115380964084890182?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/115380964084890182/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=115380964084890182&amp;isPopup=true' title='24 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/115380964084890182'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/115380964084890182'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/07/oracle-10g-enterprise-manager-packages.html' title='Oracle 10g Enterprise Manager Packages usage and licensing'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>24</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-115323166259285850</id><published>2006-07-18T15:58:00.000+02:00</published><updated>2006-07-19T20:31:05.296+02:00</updated><title type='text'>New RAC demos on Oracle By Example</title><content type='html'>A new demo viewlet has been added to the very handy collection of &lt;a href="http://www.oracle.com/technology/obe/demos/admin/demos.html"&gt;demos for Oracle 10gR2 REAL APPLICATION CLUSTERS  in the Oracle By Example series&lt;/a&gt;.&lt;br /&gt;It shows how virtual IPs are used.&lt;br /&gt;The man behind these nice little demos is Jean-Francois Verrier.&lt;br /&gt;He designs a number of Oracle's core courses which are delivered by Oracle Education.&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-115323166259285850?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/115323166259285850/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=115323166259285850&amp;isPopup=true' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/115323166259285850'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/115323166259285850'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/07/new-rac-demos-on-oracle-by-example.html' title='New RAC demos on Oracle By Example'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-115219652254190328</id><published>2006-07-06T16:24:00.000+02:00</published><updated>2006-07-07T08:43:03.430+02:00</updated><title type='text'>RAC TTT in Utrecht finished</title><content type='html'>Today we'll finish the Train The Trainer event for&lt;br /&gt;Oracle 10gR2 Real Application Clusters&lt;br /&gt;in Utrecht, The Netherlands.&lt;br /&gt;&lt;br /&gt;Jean-Francios Verrier&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/utrecht.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 150px; height: 200px;" src="http://photos1.blogger.com/blogger/5054/1910/200/utrecht.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;It was such a pleasure and fun also to meet Jean-Francois Verrier again who has designed this course. He is also responsible for a number of other Oracle classes.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This picture shows all the delegates taking part in the training.&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/London%20008.jpg"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/200/London%20008.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;From the left there are:&lt;br /&gt;John Boyle, Joel Goodman, Harald van Breederode, Jean-Francois Verrier, , Lothar Auert, John Abrahams, Andreas Reinhardt, Roman Niehoff, Thomas Hoogerwerf&lt;br /&gt;and in the first row Pete Jones and me.&lt;br /&gt;This week was so densly filled with highly compressed knowledge and inspiring talks.&lt;br /&gt;I am so happy that I had the chance to get to know all these highly skilled experts and I hope that I can stay in touch with them.&lt;br /&gt;It was a pitty that two of the German trainers had to leave one day too early.&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-115219652254190328?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/115219652254190328/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=115219652254190328&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/115219652254190328'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/115219652254190328'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/07/rac-ttt-in-utrecht-finished.html' title='RAC TTT in Utrecht finished'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-115202009481729961</id><published>2006-07-04T15:21:00.000+02:00</published><updated>2006-09-04T09:32:39.070+02:00</updated><title type='text'>How to convert a single instance database to a RAC database</title><content type='html'>There are multiple ways in Oracle 10gR2  to convert a single instance database into a&lt;br /&gt;clustered database.&lt;br /&gt;You can use the following methods to do this:&lt;br /&gt;-&lt;span style="color: rgb(51, 51, 255);"&gt; dbca&lt;/span&gt;&lt;br /&gt;-&lt;span style="color: rgb(51, 51, 255);"&gt; enterprise manager&lt;/span&gt;&lt;br /&gt;- &lt;span style="color: rgb(51, 51, 255);"&gt;rconfig&lt;/span&gt; utility (new in 10gR2!)&lt;br /&gt;&lt;br /&gt;After you have checked if your operating system requirements are met you can choose either of these methods to do the conversion.&lt;br /&gt;You should make sure first that your hardware and operating system are supported.&lt;br /&gt;To do so you check with your hardware vendor and for the platforms you check &lt;a href="http://metalink.oracle.com"&gt;metalink&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Once this is done you go on with either methode:&lt;br /&gt;- dbca does most of the tasks of the conversion automatically&lt;br /&gt;- grid control provides fully support the conversion process&lt;br /&gt;there is a very nice demo for this in the OBE (&lt;a href="http://www.oracle.com/technology/obe/demos/admin/demos.html"&gt;Oracle By Examples demos for RAC 10gR2 section&lt;/a&gt;)&lt;br /&gt;- new with 10gR2 there is utility called rconfig which is located in &lt;span style="font-style: italic;"&gt;$ORACLE_HOME/bin&lt;/span&gt;.&lt;br /&gt; It uses a file called  &lt;span style="font-style: italic;"&gt;$ORACLE_HOME/assistants/rconfig/sampleXMLs/ConvertToRAC.xml&lt;/span&gt; which you need to edit in order to adjust some parameters as needed and then save it under a new name. It contains the parameter for the Convert verify option which accepts three different values:&lt;br /&gt;CONVERT VERIFY= "YES"   -- performs checks to make sure everything is in place before starting the conversion&lt;br /&gt;- "NO"    -- starts conversion right away without checking  the prerequisits&lt;br /&gt;- "ONLY"  -- only performs the prerequisits-check&lt;br /&gt;&lt;br /&gt;You then call the utility and hand over your modified xml file:&lt;br /&gt;$ rconfig my_db_conversion_file.xml&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-115202009481729961?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/115202009481729961/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=115202009481729961&amp;isPopup=true' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/115202009481729961'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/115202009481729961'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/07/how-to-convert-single-instance.html' title='How to convert a single instance database to a RAC database'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-115200599770989295</id><published>2006-07-04T11:24:00.000+02:00</published><updated>2006-07-11T11:48:31.736+02:00</updated><title type='text'>Harald van Breederode training the trainers</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/HPIM1721.jpg"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/200/HPIM1721.jpg" alt="" border="0" /&gt;&lt;/a&gt;Harald van Breederode,&lt;br /&gt;a blind trainer from the Netherlands,&lt;br /&gt;delivered a training on RAC installation&lt;br /&gt;and also a special one on storage configurations&lt;br /&gt;like SAN NAS and ASM today .&lt;br /&gt;This was a very impressing lecture because&lt;br /&gt;Harald is a very knowledgeable teacher who has&lt;br /&gt;been delivering trainigs on RAC since 4 years&lt;br /&gt;and also has been a UNIX administrator for&lt;br /&gt;a long time as well.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The training is held in his classroom and it is really amazing how he can navigate though the location and how he even uses the whiteboard and develops complex pictures on it without seeing anything.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/HPIM1719.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/200/HPIM1719.jpg" alt="" border="0" /&gt;&lt;/a&gt;This picture shows his special braille display. It has 80 left and 80 right mice buttons.  And he uses a voice synthesizer to get the powerpoints read out to him.  Which is done in a speed that nobody else but him can follow.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This picture shows him demonstrating&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/HPIM1718.jpg"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/200/HPIM1718.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;his special equipment to us.&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-115200599770989295?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/115200599770989295/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=115200599770989295&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/115200599770989295'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/115200599770989295'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/07/harald-van-breederode-training.html' title='Harald van Breederode training the trainers'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-115190839313049629</id><published>2006-07-03T08:30:00.000+02:00</published><updated>2006-07-03T09:08:07.676+02:00</updated><title type='text'>Arrived in Utrecht (The Netherlands)</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/HPIM1709.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/200/HPIM1709.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Yesterday I have arrived in Utrecht in Holland.&lt;br /&gt;Here I will take part in the  Train The Trainer class&lt;br /&gt;for  the Oracle 10gR2 Real Application Cluster Class in De Meern.&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-115190839313049629?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/115190839313049629/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=115190839313049629&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/115190839313049629'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/115190839313049629'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/07/arrived-in-utrecht-netherlands.html' title='Arrived in Utrecht (The Netherlands)'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-115164582506960057</id><published>2006-06-30T07:29:00.000+02:00</published><updated>2006-07-03T08:29:56.223+02:00</updated><title type='text'>10'000 hits on this blog, thank you all !!</title><content type='html'>On last Friday my blog has reached &lt;span style="color: rgb(255, 0, 0);"&gt;10'000 pageloads&lt;/span&gt; since I started blogging last December.&lt;br /&gt;There are about 500 unique visitor and 100 returning visitors average every week coming from all over the world.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/06_06.php.png"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/200/06_06.php.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Thank you very much for your interest!&lt;br /&gt;I'll keep on blogging.&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-115164582506960057?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/115164582506960057/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=115164582506960057&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/115164582506960057'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/115164582506960057'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/06/10000-hits-on-this-blog-thank-you-all.html' title='10&apos;000 hits on this blog, thank you all !!'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-115143628256464301</id><published>2006-06-27T21:05:00.000+02:00</published><updated>2006-08-30T17:21:39.556+02:00</updated><title type='text'>Table Compression in Oracle 9iR2 and beyond</title><content type='html'>Starting with Oracle database 9iR2 (Enterprise Edition!)&lt;br /&gt;it is possible to  create compressed  heap organized tables and compressed table partitions as well as compressed materialized views.&lt;br /&gt;&lt;br /&gt;This feature is very interesting for data warehouses because it can save a lot of disk space.&lt;br /&gt;&lt;br /&gt;Compression  has already been availble for b-tree indexes and index organized tables&lt;br /&gt;since Oracle 8.1.5.&lt;br /&gt;&lt;br /&gt;Here is an example:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;LUTZ @10gR2 SQL &gt;  CREATE TABLE compress1 (col1 NUMBER, col2 VARCHAR2(30)) &lt;span style="color: rgb(255, 0, 0);"&gt;COMPRESS&lt;/span&gt;;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 51);font-size:78%;" &gt;Table created.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;LUTZ @10gR2 SQL &gt;  CREATE TABLE not_compress1&lt;br /&gt;(col1 NUMBER,&lt;br /&gt;col2 VARCHAR2(30));&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&lt;span style="color: rgb(51, 51, 51);"&gt;Table created.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;LUTZ @10gR2 SQL &gt; SELECT table_name, compression&lt;br /&gt;FROM user_tables;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;TABLE_NAME                                                      &lt;span style="color: rgb(255, 0, 0);"&gt; COMPRESS&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;------------------------------                              --------&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;NOT_COMPRESS1                                             DISABLED&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;COMPRESS1                                                       &lt;span style="color: rgb(255, 0, 0);"&gt;   ENABLED&lt;/span&gt;     &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;LUTZ @10gR2 SQL &gt;   BEGIN FOR i IN 1..100 LOOP&lt;br /&gt;       INSERT INTO  not_compress1 VALUES(i, 'value' || i);&lt;br /&gt;   END LOOP;&lt;br /&gt;  FOR i IN 1..14 LOOP&lt;br /&gt;     INSERT INTO  not_compress1 SELECT * FROM not_compress1;&lt;br /&gt;  END LOOP;&lt;br /&gt;COMMIT;&lt;br /&gt;END;&lt;br /&gt;/&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);font-size:78%;" &gt;PL/SQL procedure successfully completed.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;LUTZ @10gR2 SQL &gt; SELECT COUNT(*) FROM not_compress1;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);font-size:85%;" &gt;  COUNT(*)                                                                   &lt;br /&gt;----------                                                                   &lt;br /&gt;  819200                                                                   &lt;br /&gt;&lt;br /&gt;&lt;/span&gt;LUTZ @10gR2 SQL &gt;  SELECT COUNT(&lt;span style="color: rgb(255, 0, 0);"&gt;DISTINCT col2&lt;/span&gt;) FROM  not_compress1;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);font-size:85%;" &gt;COUNT(DISTINCTCOL2)                                                          &lt;br /&gt;-------------------                                                          &lt;br /&gt;              100                                                          &lt;br /&gt;&lt;/span&gt;&lt;br /&gt;LUTZ @10gR2 SQL &gt; INSERT &lt;span style="color: rgb(255, 0, 0);"&gt;/*+ APPEND*/&lt;/span&gt;&lt;br /&gt;INTO compress1&lt;br /&gt;SELECT *&lt;br /&gt;FROM not_compress1;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);font-size:78%;" &gt;819200 rows created.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;SYSTEM @10gR2 SQL &gt; SELECT extents,bytes, segment_name&lt;br /&gt;FROM dba_segments&lt;br /&gt;WHERE segment_name IN&lt;br /&gt;('NOT_COMPRESS1',&lt;br /&gt;'COMPRESS1');&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;   &lt;span style="color: rgb(0, 0, 0);"&gt;EXTENTS      BYTES     SEGMENT_NAME&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;----------      -------   -------------------&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;        &lt;span style="color: rgb(255, 0, 0);"&gt;27&lt;/span&gt;   12582912     COMPRESS1&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;        30   15728640     NOT_COMPRESS1&lt;/span&gt;        &lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-weight: bold;"&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-weight: bold;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;Serial INSERT with append hint&lt;/span&gt;, as well as &lt;span style="color: rgb(51, 51, 255);"&gt;Parallel INSERT (with parallel hint)&lt;/span&gt; and also&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0); font-weight: bold;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;Direct path insert with SQL*Loader&lt;/span&gt;  into segments with compression enabled &lt;span style="color: rgb(255, 0, 0);"&gt;cause compression&lt;/span&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-weight: bold;"&gt;  &lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255); font-weight: bold;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Inserting into a compressed table by using an ORDER BY CLAUSE for the column with lowest cardinality (least distinct values) incerases the compression rate!&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);font-size:78%;" &gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-style: italic;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-weight: bold;font-size:100%;" &gt;&lt;span style="color: rgb(0, 0, 0);"&gt;With the &lt;span style="color: rgb(255, 0, 0);"&gt;COMPRESS clause&lt;/span&gt; is also possible to&lt;br /&gt;create a table with a subselect as a compressed segment:&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:78%;" &gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;SYSTEM @10gR2 SQL &gt;  CREATE TABLE compress2 &lt;span style="color: rgb(255, 0, 0);"&gt;COMPRESS &lt;/span&gt;&lt;br /&gt;AS SELECT * FROM lutz.not_compress1;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);font-size:78%;" &gt;Table created.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;SYSTEM @10gR2 SQL &gt;  CREATE TABLE to_be_compressed AS&lt;br /&gt;SELECT * FROM lutz.compress1;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);font-size:78%;" &gt;Table created.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;SYSTEM @10gR2 SQL &gt;  SELECT extents,bytes, segment_name&lt;br /&gt;FROM dba_segments&lt;br /&gt;WHERE segment_name IN&lt;br /&gt;('NOT_COMPRESS1',&lt;br /&gt;'COMPRESS1',&lt;br /&gt;'COMPRESS2',&lt;br /&gt;'TO_BE_COMPRESSED');&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);font-size:85%;" &gt;&lt;br /&gt;EXTENTS      BYTES         SEGMENT_NAME&lt;br /&gt;-----------      -----------   ------------------------------&lt;br /&gt;                                                                                                                                                                                                                                                      &lt;br /&gt;      27          12582912      COMPRESS1&lt;br /&gt;      30         15728640      NOT_COMPRESS1            &lt;br /&gt;      30        15728640      TO_BE_COMPRESSED&lt;br /&gt;     &lt;span style="color: rgb(255, 0, 0);"&gt; 27&lt;/span&gt;        12582912       COMPRESS2 &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-weight: bold;"&gt;It is also possibel to create a tablespace with compression as default:&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;&lt;br /&gt;&lt;br /&gt;SYSTEM @10gR2 SQL &gt; CREATE TABLESPACE lutz_compress&lt;br /&gt;DATAFILE '/u01/app/oracle/oradata/orcl/lutz_compress.dbf'&lt;br /&gt;SIZE 10m AUTOEXTEND ON&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;DEFAULT COMPRESS&lt;/span&gt;;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;Tablespace created.&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;SYSTEM @10gR2 SQL &gt;  CREATE TABLE  lutz.not_compress2&lt;br /&gt;TABLESPACE lutz_compress&lt;br /&gt;AS SELECT * FROM  lutz.not_compress1;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);font-size:78%;" &gt;Table created.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;SYSTEM @10gR2 SQL &gt;  SELECT extents,bytes, segment_name&lt;br /&gt;FROM dba_segments&lt;br /&gt;WHERE segment_name IN&lt;br /&gt;('NOT_COMPRESS1',&lt;br /&gt;'COMPRESS1',&lt;br /&gt;'COMPRESS2',&lt;br /&gt;'TO_BE_COMPRESSED',&lt;br /&gt;'NOT_COMPRESS2');&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);font-size:85%;" &gt;&lt;br /&gt; EXTENTS      BYTES               SEGMENT_NAME&lt;br /&gt;-------------    ----------------   -----------------------------&lt;br /&gt;27                    12582912           COMPRESS1&lt;br /&gt;30                   15728640           NOT_COMPRESS1&lt;br /&gt;30                    15728640          TO_BE_COMPRESSED&lt;br /&gt;27                    12582912          COMPRESS2&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; 27    &lt;/span&gt;                12582912          NOT_COMPRESS2&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-115143628256464301?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/115143628256464301/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=115143628256464301&amp;isPopup=true' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/115143628256464301'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/115143628256464301'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/06/table-compression-in-oracle-9ir2-and.html' title='Table Compression in Oracle 9iR2 and beyond'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-115125786672758829</id><published>2006-06-25T19:39:00.000+02:00</published><updated>2006-06-26T18:36:44.510+02:00</updated><title type='text'>This week in Baden Daettwil</title><content type='html'>This week I deliver in Baden Daettwil after a long periode of traveling.&lt;br /&gt;I teach &lt;span style="font-style: italic;"&gt;Oracle Database 10g: New Features for Oracle 8i DBAs&lt;/span&gt;.&lt;br /&gt;This is a 5 day event and we walk through the entire process of&lt;br /&gt;installation,&lt;br /&gt;patching,&lt;br /&gt;upgrading,&lt;br /&gt;character set conversioning and&lt;br /&gt;all the new features since Oracle 8.1.7.&lt;br /&gt;&lt;br /&gt;This is a hard one to deliver because there are so many different topics to discuss.&lt;br /&gt;We will have to really hurry up in order to cover all of it.&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-115125786672758829?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/115125786672758829/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=115125786672758829&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/115125786672758829'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/115125786672758829'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/06/this-week-in-baden-daettwil.html' title='This week in Baden Daettwil'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-115124375975505891</id><published>2006-06-25T15:47:00.000+02:00</published><updated>2006-06-25T15:55:59.756+02:00</updated><title type='text'>Licensing information for Oracle 10gR2 Database and Oracle Secure Backup</title><content type='html'>Many of the Oracle 10g new features are only available in Enterprise Edition.&lt;br /&gt;In order to find out which feature is included in which Oracle License you can go to the&lt;br /&gt;Licensing Information Section in the&lt;br /&gt;Online Documentation which is available at Oracle Technology Network (OTN).&lt;br /&gt;Go here for &lt;a href="http://download-uk.oracle.com/docs/cd/B19306_01/license.102/b14199/toc.htm"&gt;licensing info for the database&lt;/a&gt; and&lt;br /&gt;here for &lt;a href="http://download-uk.oracle.com/docs/cd/B19306_01/backup.102/b25528/toc.htm"&gt;licensing information for Oracle Secure Backup&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-115124375975505891?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/115124375975505891/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=115124375975505891&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/115124375975505891'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/115124375975505891'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/06/licensing-information-for-oracle-10gr2.html' title='Licensing information for Oracle 10gR2 Database and Oracle Secure Backup'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-115106501060736157</id><published>2006-06-23T14:08:00.000+02:00</published><updated>2006-06-26T17:17:52.590+02:00</updated><title type='text'>Heading back to Zurich</title><content type='html'>After three days of New Features&lt;br /&gt;with a very nice group of very&lt;br /&gt;highly skilled DBAs in London.&lt;br /&gt;&lt;br /&gt;It was strange for me to switch to English English&lt;br /&gt;after almost four weeks of American English.&lt;br /&gt;Also I had to deal with people of a very&lt;br /&gt;different mentality compared to the New Yorkers&lt;br /&gt;and even more compared to the San Francisco People.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/London%20092.jpg"&gt;&lt;img style="FLOAT: right; MARGIN: 0pt 0pt 10px 10px; CURSOR: pointer" alt="" src="http://photos1.blogger.com/blogger/5054/1910/200/London%20092.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;I will fly back to Zurich today.&lt;br /&gt;The foto shows Juliet,. Phil, &lt;br /&gt;David, Maulya,&lt;br /&gt;Rajen, Rob and Pratab and me&lt;br /&gt;at an Asian restaurant in London.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Ian Burgess&lt;br /&gt;&lt;br /&gt;&lt;div style="TEXT-ALIGN: right"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/London%20094.jpg"&gt;&lt;img style="FLOAT: left; MARGIN: 0pt 10px 10px 0pt; CURSOR: pointer" alt="" src="http://photos1.blogger.com/blogger/5054/1910/200/London%20094.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="TEXT-ALIGN: justify"&gt;And again I got to know a very nice collegue&lt;br /&gt;who I want to say thank you&lt;br /&gt;to for being so very caring and helpful to me&lt;br /&gt;when I felt so lost and locked out in a bazar location.&lt;br /&gt;You are a real good fellow, Ian Burgess. &lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-115106501060736157?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/115106501060736157/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=115106501060736157&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/115106501060736157'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/115106501060736157'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/06/heading-back-to-zurich.html' title='Heading back to Zurich'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-115091123814606779</id><published>2006-06-21T19:07:00.000+02:00</published><updated>2006-06-26T16:41:11.740+02:00</updated><title type='text'>DML ERROR LOGGING an ORACLE 10gR2 New  Feature</title><content type='html'>&lt;span style="COLOR: rgb(0,0,0)"&gt;If a constraint violation raises a runtime error during execution of a DML statement we encounter a statement level rollback.&lt;br /&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(0,0,0)"&gt;Oracle server creates a so called implicit savepoint &lt;/span&gt;&lt;span style="COLOR: rgb(0,0,0)"&gt;before it excutes a DML statement,&lt;/span&gt;&lt;span style="COLOR: rgb(0,0,0)"&gt; to which it can automatically rollback.&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(0,0,0)"&gt;This can be very time and resource consuming especially with bulk DML operations.&lt;br /&gt;&lt;br /&gt;Starting with Oracle database 10g release 2 it is possible to let a DML statement continue without erroring out although constaint violations are created.&lt;br /&gt;For this we can use the new PL/SQL-package &lt;span style="COLOR: rgb(51,51,255)"&gt;DBMS_ERRLOG&lt;/span&gt; to create an &lt;span style="COLOR: rgb(51,51,255)"&gt;error logging table&lt;/span&gt; which can be used to capture information about rows which have caused a constraint violation during DML-execution.&lt;br /&gt;Additionally we can define a limit of violations which will cause the statement to fail.&lt;br /&gt;If the rejected rows are less than the specified limit the statement will succeed despite the contraint violations.&lt;br /&gt;&lt;br /&gt;Here is a little demo:&lt;br /&gt;-- create a test table&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="COLOR: rgb(51,51,255); FONT-STYLE: italic"&gt;HR @10gR2 SQL &gt; create table error_test&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(51,51,255); FONT-STYLE: italic"&gt;(&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(51,51,255); FONT-STYLE: italic"&gt;col1 number,&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(51,51,255); FONT-STYLE: italic"&gt;col2 number constraint error_check check (col2 &gt; 100)&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(51,51,255); FONT-STYLE: italic"&gt;);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;Table created.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;-- populate the test table&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="COLOR: rgb(51,51,255); FONT-STYLE: italic"&gt;HR @10gR2 SQL &gt; BEGIN&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(51,51,255); FONT-STYLE: italic"&gt;2 FOR i IN 100..200 loop&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(51,51,255); FONT-STYLE: italic"&gt;3 INSERT INTO error_test&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(51,51,255); FONT-STYLE: italic"&gt;4 VALUES (i, i+50);&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(51,51,255); FONT-STYLE: italic"&gt;5 END LOOP;&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(51,51,255); FONT-STYLE: italic"&gt;6 COMMIT;&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(51,51,255); FONT-STYLE: italic"&gt;7 END;&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(51,51,255); FONT-STYLE: italic"&gt;8 /&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:78%;"&gt;PL/SQL procedure successfully completed.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;-- create the error log table&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="COLOR: rgb(51,51,255); FONT-STYLE: italic"&gt;HR @10gR2 SQL &gt; exec DBMS_ERRLOG.CREATE_ERROR_LOG('ERROR_TEST','error_log_tab')&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:78%;"&gt;PL/SQL procedure successfully completed.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="COLOR: rgb(51,51,255); FONT-STYLE: italic"&gt;HR @10gR2 SQL &gt; desc error_log_tab&lt;/span&gt;&lt;br /&gt;Name Null? Type&lt;br /&gt;----------------------------------------- -------- -----------------&lt;br /&gt;ORA_ERR_NUMBER$ NUMBER&lt;br /&gt;ORA_ERR_MESG$ VARCHAR2(2000)&lt;br /&gt;ORA_ERR_ROWID$ ROWID&lt;br /&gt;ORA_ERR_OPTYP$ VARCHAR2(2)&lt;br /&gt;ORA_ERR_TAG$ VARCHAR2(2000)&lt;br /&gt;COL1 VARCHAR2(4000)&lt;br /&gt;COL2 VARCHAR2(4000)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;-- cause constraint violations &lt;span style="COLOR: rgb(255,0,0)"&gt;less &lt;/span&gt;than reject limit&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="COLOR: rgb(51,51,255); FONT-STYLE: italic"&gt;HR @10gR2 SQL &gt; UPDATE error_test&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(51,51,255); FONT-STYLE: italic"&gt;2 SET col2=col2-100&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(51,51,255); FONT-STYLE: italic"&gt;3 &lt;span style="COLOR: rgb(255,0,0)"&gt;LOG ERRORS INTO error_log_tab&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(51,51,255); FONT-STYLE: italic"&gt;4 &lt;span style="COLOR: rgb(255,0,0)"&gt;REJECT LIMIT 80&lt;/span&gt;;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;50 rows updated.&lt;/span&gt;&lt;br /&gt;-- look at the error loggin table&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="COLOR: rgb(51,51,255); FONT-STYLE: italic"&gt;HR @10gR2 SQL &gt; SELECT ora_err_number$, &lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(51,51,255); FONT-STYLE: italic"&gt;ora_err_mesg$, &lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(51,51,255); FONT-STYLE: italic"&gt;ora_err_&lt;/span&gt;&lt;span style="COLOR: rgb(51,51,255); FONT-STYLE: italic"&gt;rowid$, &lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(51,51,255); FONT-STYLE: italic"&gt;col1, &lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(51,51,255); FONT-STYLE: italic"&gt;col2&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(51,51,255); FONT-STYLE: italic"&gt;FROM error_log_tab;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;ORA_ERR_NUMBER$ ORA_ERR_MESG$ ORA_ERR_ROWID$ COL1 COL2&lt;br /&gt;--------------- ---------------------------------------------------- ---------------------- ---------- ----------&lt;br /&gt;2290 ORA-02290: check constraint (HR.ERROR_CHECK) violated AAANX1AAEAAAAGEAAA 100 50&lt;br /&gt;2290 ORA-02290: check constraint (HR.ERROR_CHECK) violated AAANX1AAEAAAAGEAAB 101 51&lt;br /&gt;2290 ORA-02290: check constraint (HR.ERROR_CHECK) violated AAANX1AAEAAAAGEAAC 102 52&lt;br /&gt;2290 ORA-02290: check constraint (HR.ERROR_CHECK) violated AAANX1AAEAAAAGEAAD 103 53&lt;br /&gt;2290 ORA-02290: check constraint (HR.ERROR_CHECK) violated AAANX1AAEAAAAGEAAE 104 54&lt;br /&gt;2290 ORA-02290: check constraint (HR.ERROR_CHECK) violated AAANX1AAEAAAAGEAAF 105 55&lt;br /&gt;2290 ORA-02290: check constraint (HR.ERROR_CHECK) violated AAANX1AAEAAAAGEAAG 106 56&lt;br /&gt;2290 ORA-02290: check constraint (HR.ERROR_CHECK) violated AAANX1AAEAAAAGEAAH 107 57&lt;br /&gt;2290 ORA-02290: check constraint (HR.ERROR_CHECK) violated AAANX1AAEAAAAGEAAI 108 58&lt;br /&gt;2290 ORA-02290: check constraint (HR.ERROR_CHECK) violated AAANX1AAEAAAAGEAAJ 109 59&lt;br /&gt;2290 ORA-02290: check constraint (HR.ERROR_CHECK) violated AAANX1AAEAAAAGEAAK 110 60&lt;br /&gt;2290 ORA-02290: check constraint (HR.ERROR_CHECK) violated AAANX1AAEAAAAGEAAL 111 61&lt;br /&gt;2290 ORA-02290: check constraint (HR.ERROR_CHECK) violated AAANX1AAEAAAAGEAAM 112 62&lt;br /&gt;2290 ORA-02290: check constraint (HR.ERROR_CHECK) violated AAANX1AAEAAAAGEAAN 113 63&lt;br /&gt;2290 ORA-02290: check constraint (HR.ERROR_CHECK) violated AAANX1AAEAAAAGEAAO 114 64&lt;br /&gt;2290 ORA-02290: check constraint (HR.ERROR_CHECK) violated AAANX1AAEAAAAGEAAP 115 65&lt;br /&gt;2290 ORA-02290: check constraint (HR.ERROR_CHECK) violated AAANX1AAEAAAAGEAAQ 116 66&lt;br /&gt;2290 ORA-02290: check constraint (HR.ERROR_CHECK) violated AAANX1AAEAAAAGEAAR 117 67&lt;br /&gt;2290 ORA-02290: check constraint (HR.ERROR_CHECK) violated AAANX1AAEAAAAGEAAS 118 68&lt;br /&gt;2290 ORA-02290: check constraint (HR.ERROR_CHECK) violated AAANX1AAEAAAAGEAAT 119 69&lt;br /&gt;2290 ORA-02290: check constraint (HR.ERROR_CHECK) violated AAANX1AAEAAAAGEAAU 120 70&lt;br /&gt;2290 ORA-02290: check constraint (HR.ERROR_CHECK) violated AAANX1AAEAAAAGEAAV 121 71&lt;br /&gt;2290 ORA-02290: check constraint (HR.ERROR_CHECK) violated AAANX1AAEAAAAGEAAW 122 72&lt;br /&gt;2290 ORA-02290: check constraint (HR.ERROR_CHECK) violated AAANX1AAEAAAAGEAAX 123 73&lt;br /&gt;2290 ORA-02290: check constraint (HR.ERROR_CHECK) violated AAANX1AAEAAAAGEAAY 124 74&lt;br /&gt;2290 ORA-02290: check constraint (HR.ERROR_CHECK) violated AAANX1AAEAAAAGEAAZ 125 75&lt;br /&gt;2290 ORA-02290: check constraint (HR.ERROR_CHECK) violated AAANX1AAEAAAAGEAAa 126 76&lt;br /&gt;2290 ORA-02290: check constraint (HR.ERROR_CHECK) violated AAANX1AAEAAAAGEAAb 127 77&lt;br /&gt;2290 ORA-02290: check constraint (HR.ERROR_CHECK) violated AAANX1AAEAAAAGEAAc 128 78&lt;br /&gt;2290 ORA-02290: check constraint (HR.ERROR_CHECK) violated AAANX1AAEAAAAGEAAd 129 79&lt;br /&gt;2290 ORA-02290: check constraint (HR.ERROR_CHECK) violated AAANX1AAEAAAAGEAAe 130 80&lt;br /&gt;2290 ORA-02290: check constraint (HR.ERROR_CHECK) violated AAANX1AAEAAAAGEAAf 131 81&lt;br /&gt;2290 ORA-02290: check constraint (HR.ERROR_CHECK) violated AAANX1AAEAAAAGEAAg 132 82&lt;br /&gt;2290 ORA-02290: check constraint (HR.ERROR_CHECK) violated AAANX1AAEAAAAGEAAh 133 83&lt;br /&gt;2290 ORA-02290: check constraint (HR.ERROR_CHECK) violated AAANX1AAEAAAAGEAAi 134 84&lt;br /&gt;2290 ORA-02290: check constraint (HR.ERROR_CHECK) violated AAANX1AAEAAAAGEAAj 135 85&lt;br /&gt;2290 ORA-02290: check constraint (HR.ERROR_CHECK) violated AAANX1AAEAAAAGEAAk 136 86&lt;br /&gt;2290 ORA-02290: check constraint (HR.ERROR_CHECK) violated AAANX1AAEAAAAGEAAl 137 87&lt;br /&gt;2290 ORA-02290: check constraint (HR.ERROR_CHECK) violated AAANX1AAEAAAAGEAAm 138 88&lt;br /&gt;2290 ORA-02290: check constraint (HR.ERROR_CHECK) violated AAANX1AAEAAAAGEAAn 139 89&lt;br /&gt;2290 ORA-02290: check constraint (HR.ERROR_CHECK) violated AAANX1AAEAAAAGEAAo 140 90&lt;br /&gt;2290 ORA-02290: check constraint (HR.ERROR_CHECK) violated AAANX1AAEAAAAGEAAp 141 91&lt;br /&gt;2290 ORA-02290: check constraint (HR.ERROR_CHECK) violated AAANX1AAEAAAAGEAAq 142 92&lt;br /&gt;2290 ORA-02290: check constraint (HR.ERROR_CHECK) violated AAANX1AAEAAAAGEAAr 143 93&lt;br /&gt;2290 ORA-02290: check constraint (HR.ERROR_CHECK) violated AAANX1AAEAAAAGEAAs 144 94&lt;br /&gt;2290 ORA-02290: check constraint (HR.ERROR_CHECK) violated AAANX1AAEAAAAGEAAt 145 95&lt;br /&gt;2290 ORA-02290: check constraint (HR.ERROR_CHECK) violated AAANX1AAEAAAAGEAAu 146 96&lt;br /&gt;2290 ORA-02290: check constraint (HR.ERROR_CHECK) violated AAANX1AAEAAAAGEAAv 147 97&lt;br /&gt;2290 ORA-02290: check constraint (HR.ERROR_CHECK) violated AAANX1AAEAAAAGEAAw 148 98&lt;br /&gt;2290 ORA-02290: check constraint (HR.ERROR_CHECK) violated AAANX1AAEAAAAGEAAx 149 99&lt;br /&gt;2290 ORA-02290: check constraint (HR.ERROR_CHECK) violated AAANX1AAEAAAAGEAAy 150 100&lt;br /&gt;&lt;br /&gt;51 rows selected.&lt;/span&gt;&lt;br /&gt;-- rollback&lt;br /&gt;&lt;span style="COLOR: rgb(51,51,255); FONT-STYLE: italic"&gt;&lt;span style="font-size:85%;"&gt;HR @10gR2 SQL &gt; rollback;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;-- cause constraint violations &lt;span style="COLOR: rgb(255,0,0)"&gt;more &lt;/span&gt;than reject limit&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="COLOR: rgb(51,51,255); FONT-STYLE: italic"&gt;HR @10gR2 SQL &gt; HR @10gR2 SQL &gt; UPDATE error_test&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(51,51,255); FONT-STYLE: italic"&gt;2 SET col2=col2-100&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(51,51,255); FONT-STYLE: italic"&gt;3 &lt;span style="COLOR: rgb(255,0,0)"&gt;LOG ERRORS INTO error_log_tab&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(51,51,255); FONT-STYLE: italic"&gt;4 &lt;span style="COLOR: rgb(255,0,0)"&gt;REJECT LIMIT 20&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:78%;"&gt;UPDATE error_test&lt;br /&gt;*&lt;br /&gt;&lt;span style="COLOR: rgb(255,0,0)"&gt;ERROR &lt;/span&gt;at line 1:&lt;br /&gt;&lt;span style="COLOR: rgb(255,0,0)"&gt;ORA-02290: check constraint (HR.ERROR_CHECK) violated&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-115091123814606779?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/115091123814606779/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=115091123814606779&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/115091123814606779'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/115091123814606779'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/06/dml-error-logging-oracle-10gr2-new.html' title='DML ERROR LOGGING an ORACLE 10gR2 New  Feature'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-115080405900205657</id><published>2006-06-20T13:40:00.000+02:00</published><updated>2006-06-26T16:43:45.753+02:00</updated><title type='text'>Arrived in London</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/London%20013.jpg"&gt;&lt;img style="FLOAT: right; MARGIN: 0pt 0pt 10px 10px; CURSOR: pointer" alt="" src="http://photos1.blogger.com/blogger/5054/1910/200/London%20013.jpg" border="0" /&gt;&lt;/a&gt;I have just arrived in London City.&lt;br /&gt;This week I will deliver another customized&lt;br /&gt;10gR2 New Features for Administrators&lt;br /&gt;course as a private event.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/London.jpg"&gt;&lt;img style="FLOAT: left; MARGIN: 0pt 10px 10px 0pt; CURSOR: pointer" alt="" src="http://photos1.blogger.com/blogger/5054/1910/200/London.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;I am just checking out the training center&lt;br /&gt;and prepare my environment for tomorrow and then I'll take a look around the city.&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-115080405900205657?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/115080405900205657/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=115080405900205657&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/115080405900205657'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/115080405900205657'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/06/arrived-in-london.html' title='Arrived in London'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-114999761638576664</id><published>2006-06-11T05:42:00.000+02:00</published><updated>2006-06-11T05:53:19.330+02:00</updated><title type='text'>DOAG sent my article after me</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/doag_02_06.5.jpg"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/200/doag_02_06.6.jpg" alt="" border="0" /&gt;&lt;/a&gt;The DOAG News has sent a copy of the latest issue&lt;br /&gt;with my articel after me to my hotel in&lt;br /&gt;California. It is the Greman version of &lt;a href="http://luhartma.blogspot.com/2006/03/how-to-calculate-minimum-size-of.html"&gt;my article about the Shared Pool Size implementation in Oracle 10g&lt;/a&gt;.&lt;br /&gt;Thank you very much  for this  first class service!&lt;br /&gt;And greetings from Redwood Shores to Berlin.&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-114999761638576664?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/114999761638576664/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=114999761638576664&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/114999761638576664'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/114999761638576664'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/06/doag-sent-my-article-after-me.html' title='DOAG sent my article after me'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-114999541770074594</id><published>2006-06-11T04:57:00.000+02:00</published><updated>2006-06-12T09:18:02.613+02:00</updated><title type='text'>Heading back to Europe</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/HPIM1485.jpg"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/200/HPIM1485.jpg" alt="" border="0" /&gt;&lt;/a&gt;Yesterday I had a last meal with the two project managers of the&lt;br /&gt;Real Application Cluster course who have delivered the&lt;br /&gt;RAC 10g pilot class for release 2, Jean-Francois Verrier and Jim Womack.&lt;br /&gt;The foto shows J.F., Jim, my very dear collegue from Düsseldorf Michael Cebulla and me on Friday after we had gone to the movy theaters (Da Vinci Code) and had dinner together afterwards.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I am at SanFrancisco Airport right now,&lt;br /&gt;waiting for my flight to Munich to depart.&lt;br /&gt;Have just waved goddbye to Michael at the gate. He is on his way back to Düsseldorf already now.&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/HPIM1625.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/200/HPIM1625.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I was so happy to find Michael in San Francisco also attending the same RAC pilot class with me. We had a fun time for five days.&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-114999541770074594?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/114999541770074594/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=114999541770074594&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/114999541770074594'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/114999541770074594'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/06/heading-back-to-europe.html' title='Heading back to Europe'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-114959928267961710</id><published>2006-06-06T14:51:00.000+02:00</published><updated>2006-06-06T17:11:44.433+02:00</updated><title type='text'>Demos @ Oracle By Example on OTN</title><content type='html'>There is&lt;span style="color: rgb(255, 0, 0);"&gt; new site on Oracle Technology Network (OTN)&lt;/span&gt; with a large number of very up to date &lt;a href="http://www.oracle.com/technology/obe/demos/admin/demos.html"&gt;demos for best practices and new features for ORACLE 10gR2 real application clusters&lt;/a&gt; .&lt;br /&gt;&lt;br /&gt;At the moment you find these 10gR2 demos under the link for Database 10gR1   in the Oracle By Example Series.&lt;br /&gt;&lt;br /&gt;Here  is a list of the demos you can find there at the moment, there will be more comming up:&lt;br /&gt;&lt;br /&gt;-Using SQL Baselines&lt;br /&gt;-Using Metric Baselines&lt;br /&gt;-Install ASM single instance in its own home&lt;br /&gt;-Install ASM single instance in the same home&lt;br /&gt;-Migrate a database to ASM&lt;br /&gt;-Setup XML DB to access ASM&lt;br /&gt;-Access ASM files using ASMCMD&lt;br /&gt;-Transport a tablespace version to another database&lt;br /&gt;-RAC scale example&lt;br /&gt;-RAC speedup example&lt;br /&gt;-Use Oracle Clusterware to protect the apache application&lt;br /&gt;-Use Oracle Clusterware to protect the Xclock application&lt;br /&gt;-Use Transparent Application Failover (TAF) with SELECT statements&lt;br /&gt;-Runtime Connection Load Balancing example&lt;br /&gt;-Install ASM in its own home in a RAC environment&lt;br /&gt;-Convert a single-instance database to a RAC database using Grid Control&lt;br /&gt;-Push Management Agent software using Grid Control&lt;br /&gt;-Clone Oracle Clusterware to extend your cluster using Grid Control&lt;br /&gt;-Clone ASM home to extend your cluster using Grid Control&lt;br /&gt;-Clone database home to extend your cluster using Grid Control&lt;br /&gt;-Add a database instance to your RAC database using Grid Control&lt;br /&gt;-Basic use of services in your RAC environment&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-114959928267961710?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/114959928267961710/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=114959928267961710&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/114959928267961710'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/114959928267961710'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/06/demos-oracle-by-example-on-otn.html' title='Demos @ Oracle By Example on OTN'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-114948174766110953</id><published>2006-06-05T06:23:00.000+02:00</published><updated>2006-06-07T07:52:45.420+02:00</updated><title type='text'>Arrived at Redwood Shores</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/Redwood_shores%20_ankunft%20057.jpg"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/200/Redwood_shores%20_ankunft%20057.jpg" alt="" border="0" /&gt;&lt;/a&gt;I just arrived at the head quarter of ORACLE in Redwood Shores (CA.). There is a "&lt;span style="font-style: italic;"&gt;traffic&lt;/span&gt;&lt;span style="font-style: italic;"&gt; sign&lt;/span&gt;" showing a family of Linux Pinguines crossing the street at Dolphin Drive.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I will attend the pilot class for the 10gR2 Real Application Cluster Course this week.&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-114948174766110953?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/114948174766110953/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=114948174766110953&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/114948174766110953'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/114948174766110953'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/06/arrived-at-redwood-shores.html' title='Arrived at Redwood Shores'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-114920298067228499</id><published>2006-06-02T00:50:00.000+02:00</published><updated>2006-06-02T15:51:20.460+02:00</updated><title type='text'>SQL Server World Wide Usergroup want money from me to read my own article!!!</title><content type='html'>I cannot believe it!&lt;br /&gt;I just found a &lt;a href="http://www.sswug.org/see/28963"&gt;link to my article  about flashback any error in oracle 10gR2&lt;/a&gt; on the web.&lt;br /&gt;It leads you to the site of the so called "SQL Server Worldwide Usergroup".&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;There you can pay to have access to my article, &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;which you of course can access for free an my blog, it is right &lt;/span&gt;&lt;a style="color: rgb(0, 0, 153);" href="http://luhartma.blogspot.com/2006/01/flashback-any-error-with-oracle-10g_23.html"&gt;here&lt;/a&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;I had written this article for the Swiss Oracle Usergroup Newsletter where it was published at the beginnig of 2006.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Is it legal anyway, to just copy  my article? Can I screw them?&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;If you know anything about the legal situation with such cases pls inform me through this blog by comment or email.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;What a strange habit!&lt;br /&gt;These people take my article and try to make money with it.&lt;br /&gt;I guess that you can find almost any article they have there for free on the web,&lt;br /&gt;but only if you know how to browse the web of course.&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-114920298067228499?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/114920298067228499/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=114920298067228499&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/114920298067228499'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/114920298067228499'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/06/sql-server-world-wide-usergroup-want.html' title='SQL Server World Wide Usergroup want money from me to read my own article!!!'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-114919690526525291</id><published>2006-06-01T20:57:00.000+02:00</published><updated>2006-06-01T23:28:10.740+02:00</updated><title type='text'>My New York class</title><content type='html'>Have just finished my 10gR2 New Features for Administrators class in New York.&lt;br /&gt;Again we squeezed five days in to three which was a tough time for everyone of us.&lt;br /&gt;And again these very highly skilled and experienced people challenged me a lot wioth their hands on questions like their collegues in Chicago an New Jersey had done before.&lt;br /&gt;&lt;br /&gt;These are the attendants of my class this week:&lt;br /&gt;&lt;br /&gt;Ram&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/New_York%20058.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/200/New_York%20058.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: right;"&gt;                                                                                             Kalyan&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/New_York%20063.jpg"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/200/New_York%20063.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Navin, never had an attendant&lt;br /&gt;who could ask so many questions&lt;br /&gt;in such a short time!&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/New_York%20059.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/200/New_York%20059.jpg" alt="" border="0" /&gt;&lt;/a&gt;                                                                                                  Winarko&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;                             &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/New_York%20060.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/200/New_York%20060.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Nitin&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/New_York%20061.0.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/200/New_York%20061.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: right;"&gt;                                                                                           Eugene&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/New_York%20062.jpg"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/200/New_York%20062.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;We have had a lot of fun with each other.&lt;br /&gt;&lt;br /&gt;And again I got to know a very nice collegue&lt;br /&gt;of mine from New Jersey.&lt;br /&gt;Wonjun Choi&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/New_York%20065.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/200/New_York%20065.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Thanks a lot for&lt;br /&gt;helping me out&lt;br /&gt;when I felt so&lt;br /&gt;left alone and locked out!&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-114919690526525291?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/114919690526525291/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=114919690526525291&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/114919690526525291'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/114919690526525291'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/06/my-new-york-class.html' title='My New York class'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-114878311360664441</id><published>2006-05-28T04:13:00.000+02:00</published><updated>2006-05-28T04:25:13.616+02:00</updated><title type='text'>Arrived in Manhatten</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/New_York%20008.jpg"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/200/New_York%20008.jpg" alt="" border="0" /&gt;&lt;/a&gt;After 8 hours of flight,&lt;br /&gt;reading Jonathan Lewis' Cost Based Oracle,&lt;br /&gt;I have arrived in New York.&lt;br /&gt;I will deliver a special training&lt;br /&gt;here next week.&lt;br /&gt;The city is not very crowdy&lt;br /&gt;because most New Yorkers&lt;br /&gt;have left for a long weekend.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/New_York%20005.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/200/New_York%20005.jpg" alt="" border="0" /&gt;&lt;/a&gt;Contemporary art is all around here.&lt;br /&gt;I will take a day off tomorrow&lt;br /&gt;and get into it.&lt;br /&gt;No forums, newsgroups, blogs&lt;br /&gt;tomorrow...&lt;br /&gt;we will see!&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-114878311360664441?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/114878311360664441/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=114878311360664441&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/114878311360664441'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/114878311360664441'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/05/arrived-in-manhatten.html' title='Arrived in Manhatten'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-114856086315256712</id><published>2006-05-25T14:33:00.000+02:00</published><updated>2006-06-26T16:54:41.020+02:00</updated><title type='text'>Beautiful Bern</title><content type='html'>&lt;a href="http://photos1.blogger.com/blogger/5054/1910/1600/Bern%20004.0.jpg"&gt;&lt;img style="FLOAT: right; MARGIN: 0px 0px 10px 10px; CURSOR: hand" alt="" src="http://photos1.blogger.com/blogger/5054/1910/200/Bern%20004.0.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This week I was in Bern, the capital of Switzerland for two days. I have delivered a specially condensed New Features training there.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/Bern%20003.jpg"&gt;&lt;img style="FLOAT: left; MARGIN: 0pt 10px 10px 0pt; CURSOR: pointer" alt="" src="http://photos1.blogger.com/blogger/5054/1910/200/Bern%20003.jpg" border="0" /&gt;&lt;/a&gt;Bern is one of the most charming cities I have visited .&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I was happy to see that not much damage &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/Bern%20002.jpg"&gt;&lt;img style="FLOAT: right; MARGIN: 0pt 0pt 10px 10px; CURSOR: pointer" alt="" src="http://photos1.blogger.com/blogger/5054/1910/200/Bern%20002.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;is left from the great flood last year.&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-114856086315256712?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/114856086315256712/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=114856086315256712&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/114856086315256712'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/114856086315256712'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/05/beautiful-bern.html' title='Beautiful Bern'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-114792769755427933</id><published>2006-05-18T06:26:00.000+02:00</published><updated>2006-12-01T21:05:16.776+01:00</updated><title type='text'>How to use Fast Incremental Backups with Block Change Tracking  with Oracle 10g</title><content type='html'>In Oracle 9i we could create incremental backups with level 0 to 4.&lt;br /&gt;A level 0 backup is a full backup.&lt;br /&gt;In Oracle 10g there are only incremental level 0 and 1 backups.&lt;br /&gt;&lt;br /&gt;Starting with Oracle 10g RMAN can take incremental backups without having to read the entire datafiles in order to find out which blocks have changed since the last backup.&lt;br /&gt;This new feature is called&lt;span style="COLOR: rgb(51,51,255)"&gt; FAST INCREMENTAL BACKUP&lt;/span&gt;.&lt;br /&gt;The new technology used for this feature is called &lt;span style="COLOR: rgb(51,51,255)"&gt;BLOCK CHANGE TRACKING&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;You enbale block change tracking by making an entry in the controlfile:&lt;br /&gt;&lt;span style="COLOR: rgb(51,51,255)"&gt;SQL&gt; alter database enable block change tracking;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;alter database enable block change tracking&lt;br /&gt;*&lt;br /&gt;ERROR at line 1:&lt;br /&gt;&lt;span style="COLOR: rgb(255,0,0)"&gt;ORA-19773: must specify change tracking file name&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;If you do not have &lt;span style="COLOR: rgb(51,51,255)"&gt;DB_CREATE_FILE_DEST&lt;/span&gt; specified (used for OMF =&gt; oracle managed files)&lt;br /&gt;you will encounter an error if you do not specify a name fot the change tracking file&lt;br /&gt;&lt;span style="COLOR: rgb(51,51,255); FONT-STYLE: italic"&gt;SQL&gt; show parameter create&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;NAME TYPE VALUE&lt;br /&gt;------------------------------------ ----------- ------------------------------&lt;br /&gt;create_bitmap_area_size integer 8388608&lt;br /&gt;create_stored_outlines string&lt;br /&gt;&lt;span style="COLOR: rgb(255,0,0)"&gt;db_create_file_dest string&lt;/span&gt;&lt;br /&gt;db_create_online_log_dest_1 string&lt;br /&gt;db_create_online_log_dest_2 string&lt;br /&gt;db_create_online_log_dest_3 string&lt;br /&gt;db_create_online_log_dest_4 string&lt;br /&gt;db_create_online_log_dest_5 string&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;So I try to alter this parameter:&lt;br /&gt;&lt;span style="COLOR: rgb(51,51,255); FONT-STYLE: italic"&gt;SQL&gt; alter system set db_create_file_dest='/home/oracle/file_create';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;alter system set db_create_file_dest='/home/oracle/file_create'&lt;br /&gt;*&lt;br /&gt;&lt;span style="COLOR: rgb(255,0,0)"&gt;ERROR at line 1:&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(255,0,0)"&gt;ORA-02097: parameter cannot be modified because specified value is invalid&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(255,0,0)"&gt;ORA-01261: Parameter db_create_file_dest destination string cannot be&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(255,0,0)"&gt;translated&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(255,0,0)"&gt;ORA-01262: Stat failed on a file destination directory&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(255,0,0)"&gt;Linux Error: 2: No such file or directory&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Oracle checks if the location existes before it allows us to change this parameter!&lt;br /&gt;&lt;span style="COLOR: rgb(51,51,255); FONT-STYLE: italic"&gt;SQL&gt; ! mkdir -p /home/oracle/file_create&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(51,51,255); FONT-STYLE: italic"&gt;SQL&gt; alter system set db_create_file_dest='/home/oracle/file_create';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;System altered.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now we can enable block change tracking&lt;br /&gt;&lt;span style="COLOR: rgb(51,51,255); FONT-STYLE: italic"&gt;SQL&gt; alter database enable block change tracking;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;Database altered.&lt;/span&gt;&lt;br /&gt;As an alternative you can specify a user managed filename if you do not want to use the parameter:&lt;br /&gt;&lt;span style="COLOR: rgb(51,51,255); FONT-STYLE: italic"&gt;alter database enable block change tracking using file '/home/oracle/change.trc';&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Let's take a look at the &lt;span style="COLOR: rgb(51,51,255)"&gt;alert_log&lt;/span&gt; now:&lt;br /&gt;&lt;span style="font-size:78%;"&gt;alter database enable block change tracking&lt;br /&gt;Thu May 18 06:39:14 2006&lt;br /&gt;&lt;span style="COLOR: rgb(255,0,0)"&gt;ORA-19773 signalled during: alter database enable block change tracking...&lt;/span&gt;&lt;br /&gt;Thu May 18 06:39:46 2006&lt;br /&gt;alter database enable block change tracking using file&lt;br /&gt;'/home/oracle/change.trc'&lt;br /&gt;Thu May 18 06:39:46 2006&lt;br /&gt;Block change tracking file is current.&lt;br /&gt;&lt;span style="COLOR: rgb(255,0,0)"&gt;Starting background process CTWR&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(255,0,0)"&gt;CTWR started with pid=21, OS id=26871&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(255,0,0)"&gt;Block change tracking service is active.&lt;/span&gt;&lt;br /&gt;Thu May 18 06:39:47 2006&lt;br /&gt;Completed: alter database enable block change tracking using file&lt;br /&gt;'/home/oracle/change.trc'&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This is what oerr returns for this error:&lt;br /&gt;&lt;span style="COLOR: rgb(51,51,255); FONT-STYLE: italic"&gt;[oracle@kr12-KL2 bdump]$ oerr ora 19773&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(255,0,0);font-size:78%;" &gt;19773, 00000, "must specify change tracking file name"&lt;br /&gt;// *Cause: No file name was specified with the ALTER DATABASE ENABLE&lt;br /&gt;// CHANGE TRACKING command, and the DB_CREATE_FILE_DEST parameter&lt;br /&gt;// was not set.&lt;br /&gt;// *Action: Either specify a file name, or set the DB_CREATE_FILE_DEST&lt;br /&gt;// parameter.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Let's take a look at the change tracking file:&lt;br /&gt;&lt;span style="COLOR: rgb(51,51,255); FONT-STYLE: italic"&gt;[oracle@edchr3p8 oracle]$ cd file_create/&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(51,51,255); FONT-STYLE: italic"&gt;[oracle@edchr3p8 file_create]$ ll&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;total 4&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;drwxr-x--- 3 oracle oinstall 4096 May 3 15:55 ORCL&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(51,51,255); FONT-STYLE: italic"&gt;[oracle@edchr3p8 file_create]$ cd ORCL/&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(51,51,255); FONT-STYLE: italic"&gt;[oracle@edchr3p8 ORCL]$ ll&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;total 4&lt;br /&gt;drwxr-x--- 2 oracle oinstall 4096 May 3 15:55 changetracking&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(51,51,255); FONT-STYLE: italic"&gt;[oracle@edchr3p8 ORCL]$ cd changetracking/&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(51,51,255); FONT-STYLE: italic"&gt;[oracle@edchr3p8 changetracking]$ ll&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;total 11348&lt;br /&gt;-rw-r----- 1 oracle oinstall 11600384 May 3 15:55 o1_mf_25l66r5c_.chg&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(51,204,0)"&gt;# this is an OMF change tracking file!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The change tracking file has an initial size of 10Mb.&lt;br /&gt;How to monitor the change treacking file from inside Oracle:&lt;br /&gt;&lt;span style="COLOR: rgb(51,51,255); FONT-STYLE: italic"&gt;SQL&gt; desc v$block_change_tracking&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;Name Null? Type&lt;br /&gt;----------------------------------------- -------- ----------------------------&lt;br /&gt;STATUS VARCHAR2(10)&lt;br /&gt;FILENAME VARCHAR2(513)&lt;br /&gt;BYTES NUMBER&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(51,51,255); FONT-STYLE: italic"&gt;SQL&gt; select * from v$block_change_tracking;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;STATUS FILENAME BYTES&lt;br /&gt;---------- -------------------------------------------------- ----------&lt;br /&gt;ENABLED /home/oracle/change.trc 11599872&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Now that we have enabled block change tracking a new background process called &lt;span style="COLOR: rgb(51,51,255)"&gt;CTWR &lt;/span&gt;(change track writer) is started and it will automatically be started for every new instance.&lt;br /&gt;&lt;span style="COLOR: rgb(51,51,255); FONT-STYLE: italic"&gt;[oracle@kr12-KL2 ~]$ ps -ef grep orcl&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;oracle 9531 1 0 May16 ? 00:00:00 ora_pmon_orcl&lt;br /&gt;oracle 9533 1 0 May16 ? 00:00:02 ora_psp0_orcl&lt;br /&gt;oracle 9535 1 0 May16 ? 00:00:00 ora_mman_orcl&lt;br /&gt;oracle 9537 1 0 May16 ? 00:00:06 ora_dbw0_orcl&lt;br /&gt;oracle 9539 1 0 May16 ? 00:00:16 ora_lgwr_orcl&lt;br /&gt;oracle 9541 1 0 May16 ? 00:00:17 ora_ckpt_orcl&lt;br /&gt;oracle 9543 1 0 May16 ? 00:00:25 ora_smon_orcl&lt;br /&gt;oracle 9545 1 0 May16 ? 00:00:00 ora_reco_orcl&lt;br /&gt;oracle 9547 1 0 May16 ? 00:00:03 ora_cjq0_orcl&lt;br /&gt;oracle 9549 1 0 May16 ? 00:00:18 ora_mmon_orcl&lt;br /&gt;oracle 9551 1 0 May16 ? 00:00:02 ora_mmnl_orcl&lt;br /&gt;oracle 9554 1 0 May16 ? 00:00:00 ora_d000_orcl&lt;br /&gt;oracle 9556 1 0 May16 ? 00:00:00 ora_s000_orcl&lt;br /&gt;oracle 9560 1 0 May16 ? 00:00:00 ora_qmnc_orcl&lt;br /&gt;oracle 9574 1 0 May16 ? 00:00:06 ora_q000_orcl&lt;br /&gt;oracle 10746 1 0 May16 ? 00:00:00 ora_q001_orcl&lt;br /&gt;oracle 26854 26850 0 06:38 ? 00:00:00 oracleorcl (DESCRIPTION=&lt;br /&gt;(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))&lt;br /&gt;&lt;span style="COLOR: rgb(255,0,0)"&gt;oracle 26871 1 0 06:39 ? 00:00:00 ora_ctwr_orcl&lt;/span&gt;&lt;br /&gt;oracle 27778 1 0 06:50 ? 00:00:00 ora_j000_orcl&lt;br /&gt;oracle 27780 27153 0 06:50 pts/0 00:00:00 grep orcl&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;CTWR will track addresses of blocks which have changed since the last backup in the change tracking file from now on.&lt;br /&gt;RMAN can use this information for the next incremental backup. It will be able to find out which block must be written to the backupset by just reading the change tracking file.&lt;br /&gt;RMAN will not have to read the entire datafiles into the SGA in order to find out which blocks must be backed up as it had to do before 10g.&lt;br /&gt;This methode is much faster.&lt;br /&gt;&lt;br /&gt;Now what happens if we lose the change tracking file or if it gets corrupted?&lt;br /&gt;Let's corrupt is:&lt;br /&gt;&lt;span style="COLOR: rgb(51,51,255); FONT-STYLE: italic"&gt;[oracle@edchr3p8 changetracking]$ echo 'hallo' &gt; o1_mf_25l66r5c_.chg&lt;/span&gt;&lt;br /&gt;And now let us startup the database with a corrupt change tracking file!&lt;br /&gt;&lt;span style="COLOR: rgb(51,51,255); FONT-STYLE: italic"&gt;SQL&gt; alter database open;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;alter database open&lt;br /&gt;*&lt;br /&gt;ERROR at line 1:&lt;br /&gt;&lt;span style="COLOR: rgb(255,0,0)"&gt;ORA-19751: could not create the change tracking file&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(255,0,0)"&gt;ORA-19750: change tracking file:&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(255,0,0)"&gt;'/home/oracle/file_create/ORCL/changetracking/o1_mf_25l66r5c_.chg'&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(255,0,0)"&gt;ORA-27038: created file already exists&lt;/span&gt;&lt;br /&gt;Additional information: 1&lt;br /&gt;&lt;span style="COLOR: rgb(255,0,0)"&gt;ORA-27047: unable to read the header block of file&lt;/span&gt;&lt;br /&gt;Linux Error: 2: No such file or directory&lt;br /&gt;Additional information: 1&lt;br /&gt;Wed May 3 16:03:30 2006&lt;br /&gt;&lt;span style="COLOR: rgb(255,0,0)"&gt;CHANGE TRACKING is enabled for this database, but the&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(255,0,0)"&gt;change tracking file can not be found. Recreating the file.&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Oracle tries to automaqtically recreate the missing file but it cannot overwrite an existing on!&lt;br /&gt;&lt;br /&gt;Let us create some changed blocks now so Oracle cannot track them in the change tracking file!&lt;br /&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(51,51,255); FONT-STYLE: italic"&gt;SQL&gt; update hr.employees set salary=salary*1.1;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;107 rows updated.&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(51,51,255); FONT-STYLE: italic"&gt;SQL&gt; commit;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;Commit complete.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Now let us take a look at the &lt;span style="COLOR: rgb(51,51,255)"&gt;ALERT_LOG&lt;/span&gt;:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&lt;span style="COLOR: rgb(255,0,0)"&gt;CHANGE TRACKING ERROR 19756, disabling change tracking&lt;/span&gt;&lt;br /&gt;Wed May 3 16:07:24 2006&lt;br /&gt;Errors in file /u01/app/oracle/admin/orcl/bdump/orcl_ctwr_6628.trc:&lt;br /&gt;&lt;span style="COLOR: rgb(255,0,0)"&gt;ORA-19756: corrupt block number 18 found in change tracking file&lt;/span&gt;&lt;br /&gt;ORA-19750: change tracking file: '/home/oracle/file_create/ORCL/changetracking/o1_mf_25l6qckh_.chg'&lt;br /&gt;&lt;span style="COLOR: rgb(255,0,0)"&gt;Block change tracking service stopping.&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(255,0,0)"&gt;Deleted Oracle managed file /home/oracle/file_create/ORCL/&lt;br /&gt;changetracking/o1_mf_25l6qckh_.chg&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Oracle automatically deletes a currupted change tracking file and stops block change tracking.&lt;br /&gt;&lt;br /&gt;Let us now take an incremental backup with RMAN:&lt;br /&gt;&lt;span style="COLOR: rgb(51,51,255); FONT-STYLE: italic"&gt;RMAN&gt; backup incremental level 1 for recover of copy database;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;Starting backup at 03-MAY-06&lt;br /&gt;using target database control file instead of recovery catalog&lt;br /&gt;allocated channel: ORA_DISK_1&lt;br /&gt;channel ORA_DISK_1: sid=159 devtype=DISK&lt;br /&gt;channel ORA_DISK_1: starting incremental level 1 datafile backupset&lt;br /&gt;channel ORA_DISK_1: specifying datafile(s) in backupset&lt;br /&gt;input datafile fno=00001 name=/u01/app/oracle/oradata/orcl/system01.dbf&lt;br /&gt;input datafile fno=00003 name=/u01/app/oracle/oradata/orcl/sysaux01.dbf&lt;br /&gt;input datafile fno=00005 name=/u01/app/oracle/oradata/orcl/example01.dbf&lt;br /&gt;input datafile fno=00002 name=/u01/app/oracle/oradata/orcl/undotbs01.dbf&lt;br /&gt;input datafile fno=00004 name=/u01/app/oracle/oradata/orcl/users01.dbf&lt;br /&gt;channel ORA_DISK_1: starting piece 1 at 03-MAY-06&lt;br /&gt;channel ORA_DISK_1: finished piece 1 at 03-MAY-06&lt;br /&gt;piece handle=/u01/app/oracle/flash_recovery_area/ORCL/backupset/&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;2006_05_03/ o1_mf_nnnd1_TAG20060503&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;T160745_25l6x2s1_.bkp tag= TAG20060503T160745&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt; comment=NONE&lt;br /&gt;channel ORA_DISK_1: backup set complete, elapsed time: 00:01:05&lt;br /&gt;channel ORA_DISK_1: starting incremental level 1 datafile backupset&lt;br /&gt;channel ORA_DISK_1: specifying datafile(s) in backupset&lt;br /&gt;including current control file in backupset&lt;br /&gt;including current SPFILE in backupset&lt;br /&gt;channel ORA_DISK_1: starting piece 1 at 03-MAY-06&lt;br /&gt;channel ORA_DISK_1: finished piece 1 at 03-MAY-06&lt;br /&gt;piece handle=/u01/app/oracle/flash_recovery_area/ORCL/&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;backupset/2006_05_03/o1_mf_ncsn1_TAG&lt;/span&gt;&lt;span style="font-size:78%;"&gt;20060503&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;T160745_25l6z4mv_.bkp tag= TAG20060503T160745 &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;comment=NONE&lt;br /&gt;channel ORA_DISK_1: backup set complete, elapsed time: 00:00:02&lt;br /&gt;&lt;span style="COLOR: rgb(255,0,0)"&gt;Finished backup at 03-MAY-06&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;RMAN was able to take an incremental backup but now it had to use the old methode =&gt; read all the blocks in order to find out which ones have changed since the last backup;&lt;br /&gt;&lt;br /&gt;Next I replace the change tracking file with an old version in order to see what happens when I try to take an incremental backup:&lt;br /&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(51,51,255); FONT-STYLE: italic"&gt;SYS @10gR2 SQL &gt; ! mv /home/oracle/change.old /home/oracle/change.trc&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(51,51,255); FONT-STYLE: italic"&gt;RMAN&gt; backup incremental level 1 for recover of copy database;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;Starting backup at 19-MAY-06&lt;br /&gt;using channel ORA_DISK_1&lt;br /&gt;no parent backup or copy of datafile 3 found&lt;br /&gt;no parent backup or copy of datafile 5 found&lt;br /&gt;no parent backup or copy of datafile 6 found&lt;br /&gt;no parent backup or copy of datafile 2 found&lt;br /&gt;no parent backup or copy of datafile 4 found&lt;br /&gt;channel ORA_DISK_1&lt;span style="COLOR: rgb(255,0,0)"&gt;: starting incremental level 1 datafile backupset&lt;/span&gt;&lt;br /&gt;channel ORA_DISK_1: specifying datafile(s) in backupset&lt;br /&gt;input datafile fno=00001 name=/u01/app/oracle/oradata/orcl/system01.dbf&lt;br /&gt;channel ORA_DISK_1: starting piece 1 at 19-MAY-06&lt;br /&gt;channel ORA_DISK_1: finished piece 1 at 19-MAY-06&lt;br /&gt;piece handle=/u01/app/oracle/flash_recovery_area/ORCL/backupset/2006_05_19/&lt;br /&gt;o1_mf_nnnd1_TAG20060519T123227_26v7owgo_.bk p tag=&lt;br /&gt;TAG20060519T123227 comment=NONE&lt;br /&gt;channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01&lt;br /&gt;channel ORA_DISK_1: starting datafile copy&lt;br /&gt;&lt;span style="COLOR: rgb(255,0,0)"&gt;input datafile fno=00003 name=/u01/app/oracle/oradata/orcl/sysaux01.dbf&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(255,0,0)"&gt;RMAN-03009: failure of backup command on ORA_DISK_1 channel at 05/19/2006 12:32:30&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(255,0,0)"&gt;ORA-19694: some changed blocks were not found in the change tracking file&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(255,0,0)"&gt;continuing other job steps, job failed will not be re-run&lt;/span&gt;&lt;br /&gt;channel ORA_DISK_1: starting datafile copy&lt;br /&gt;input datafile fno=00005 name=/u01/app/oracle/oradata/orcl/example01.dbf&lt;br /&gt;output filename=/u01/app/oracle/flash_recovery_area/ORCL/datafile/&lt;br /&gt;o1_mf_example_26v7oyjx_.dbf tag=TAG20060519T123227&lt;br /&gt;recid=3 stamp=590848373&lt;br /&gt;channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:25&lt;br /&gt;channel ORA_DISK_1: starting datafile copy&lt;br /&gt;input datafile fno=00006 name=/u01/app/oracle/oradata/orcl/sales1.dbf&lt;br /&gt;output filename=/u01/app/oracle/flash_recovery_area/ORCL/datafile/&lt;br /&gt;o1_mf_sales_26v7pr8j_.dbf tag=TAG20060519T123227 rec id=4 stamp=590848386&lt;br /&gt;channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:15&lt;br /&gt;channel ORA_DISK_1: starting datafile copy&lt;br /&gt;input datafile fno=00002 name=/u01/app/oracle/oradata/orcl/undotbs01.dbf&lt;br /&gt;RMAN-03009: failure of backup command on ORA_DISK_1 channel at 05/19/2006 12:33:13&lt;br /&gt;ORA-19694: some changed blocks were not found in the change tracking file&lt;br /&gt;continuing other job steps, job failed will not be re-run&lt;br /&gt;channel ORA_DISK_1: starting datafile copy&lt;br /&gt;input datafile fno=00004 name=/u01/app/oracle/oradata/orcl/users01.dbf&lt;br /&gt;output filename=/u01/app/oracle/flash_recovery_area/ORCL/datafile/&lt;br /&gt;o1_mf_users_26v7qb8t_.dbf tag=TAG20060519T123227 rec id=5 stamp=590848394&lt;br /&gt;channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:01&lt;br /&gt;channel ORA_DISK_1: starting incremental level 1 datafile backupset&lt;br /&gt;channel ORA_DISK_1: specifying datafile(s) in backupset&lt;br /&gt;including current control file in backupset&lt;br /&gt;including current SPFILE in backupset&lt;br /&gt;channel ORA_DISK_1: starting piece 1 at 19-MAY-06&lt;br /&gt;channel ORA_DISK_1: finished piece 1 at 19-MAY-06&lt;br /&gt;piece handle=/u01/app/oracle/flash_recovery_area/ORCL/backupset/2006_05_19/&lt;br /&gt;o1_mf_ncsn1_TAG20060519T123227_26v7qfb5_.bk p tag=TAG20060519T123227 comment=NONE&lt;br /&gt;channel ORA_DISK_1: backup set complete, elapsed time: 00:00:03&lt;br /&gt;RMAN-00571: ===========================================================&lt;br /&gt;RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============&lt;br /&gt;RMAN-00571: ===========================================================&lt;br /&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(255,0,0)"&gt;RMAN-03009: failure of backup command on ORA_DISK_1 channel at 05/19/2006 12:33:13&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(255,0,0)"&gt;ORA-19694: some changed blocks were not found in the change tracking file&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(255,0,0)"&gt;RMAN-03009: failure of backup command on ORA_DISK_1 channel at 05/19/2006 12:32:30&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(255,0,0)"&gt;ORA-19694: some changed blocks were not found in the change tracking file&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(51,51,255); FONT-STYLE: italic"&gt;RMAN&gt; list backup of tablespace sysaux;&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(51,255,51)"&gt;There is no backup!!!&lt;/span&gt;&lt;br /&gt;RMAN has found out that I tried to cheat and that it was not able to create an incremental backup for all files by using the change tracking file.&lt;br /&gt;This is what oerr says about ORA-19694:&lt;br /&gt;&lt;span style="COLOR: rgb(51,51,255); FONT-STYLE: italic"&gt;[oracle@lutzasm ~]$ oerr ora 19694&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;19694, 00000, "some changed blocks were not found in the change tracking file"&lt;br /&gt;// *Cause: A backup or copy found that some changed blocks had not been&lt;br /&gt;// recorded in the change tracking file. The details of which files&lt;br /&gt;// and blocks are affected will be in an Oracle trace file.&lt;br /&gt;&lt;span style="COLOR: rgb(255,0,0)"&gt;// *Action: This indicates that there is a problem with the change tracking&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(255,0,0)"&gt;// feature. Disable change tracking and re-start the backup.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:78%;"&gt;&lt;/span&gt;&lt;span style="font-size:78%;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-114792769755427933?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/114792769755427933/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=114792769755427933&amp;isPopup=true' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/114792769755427933'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/114792769755427933'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/05/how-to-use-fast-incremental-backups.html' title='How to use Fast Incremental Backups with Block Change Tracking  with Oracle 10g'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-114785618485931644</id><published>2006-05-17T10:02:00.000+02:00</published><updated>2006-05-18T17:08:42.683+02:00</updated><title type='text'>How to check if a tablespace is transportable</title><content type='html'>In order to find out if a tablespace or a tablespace set is transportable you can use the package&lt;span style="color: rgb(51, 51, 255);"&gt; DBMS_TTS&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;This is the interface of the package:&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;sys@10gr2 SQL&gt; desc dbms_tts&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;PROCEDURE DOWNGRADE&lt;br /&gt;FUNCTION ISSELFCONTAINED RETURNS BOOLEAN&lt;br /&gt;Argument Name                  Type                    In/Out Default?&lt;br /&gt;------------------------------ ----------------------- ------ --------&lt;br /&gt;TS_LIST                        CLOB                    IN&lt;br /&gt;INCL_CONSTRAINTS               BOOLEAN                 IN&lt;br /&gt;FULL_CHECK                     BOOLEAN                 IN&lt;br /&gt;PROCEDURE KCP_CKCMP&lt;br /&gt;FUNCTION TRANSPORT_CHAR_SET_CHECK RETURNS BOOLEAN&lt;br /&gt;Argument Name                  Type                    In/Out Default?&lt;br /&gt;------------------------------ ----------------------- ------ --------&lt;br /&gt;TS_LIST                        CLOB                    IN&lt;br /&gt;TARGET_DB_CHAR_SET_NAME        VARCHAR2                IN&lt;br /&gt;TARGET_DB_NCHAR_SET_NAME       VARCHAR2                IN&lt;br /&gt;ERR_MSG                        VARCHAR2                OUT&lt;br /&gt;PROCEDURE TRANSPORT_CHAR_SET_CHECK_MSG&lt;br /&gt;Argument Name                  Type                    In/Out Default?&lt;br /&gt;------------------------------ ----------------------- ------ --------&lt;br /&gt;TS_LIST                        CLOB                    IN&lt;br /&gt;TARGET_DB_CHAR_SET_NAME        VARCHAR2                IN&lt;br /&gt;TARGET_DB_NCHAR_SET_NAME       VARCHAR2                IN&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;PROCEDURE TRANSPORT_SET_CHECK&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Argument Name                  Type                    In/Out Default?&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; ------------------------------ ----------------------- ------ --------&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; TS_LIST                        CLOB                    IN&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; INCL_CONSTRAINTS               BOOLEAN                 IN     DEFAULT&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; FULL_CHECK                     BOOLEAN                 IN     DEFAULT&lt;/span&gt;&lt;/span&gt;&lt;span style="font-style: italic;font-size:78%;" &gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;This is how you use the package:&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;sys@10gr2 SQL&gt; exec DBMS_TTS.TRANSPORT_SET_CHECK('LUTZ_TS', TRUE)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;PL/SQL procedure successfully completed.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;sys@10gr2 SQL&gt; exec dbms_tts.TRANSPORT_SET_CHECK('&lt;span style="color: rgb(255, 0, 0);"&gt;SYSTEM&lt;/span&gt;', TRUE)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;BEGIN dbms_tts.TRANSPORT_SET_CHECK('SYSTEM', TRUE); END;&lt;br /&gt;&lt;br /&gt;*&lt;br /&gt;ERROR at line 1:&lt;br /&gt;ORA-01001: invalid cursor&lt;br /&gt;ORA-06512: at "SYS.DBMS_SYS_SQL", line 899&lt;br /&gt;ORA-06512: at "SYS.DBMS_SQL", line 19&lt;br /&gt;ORA-06512: at "SYS.DBMS_TTS", line 838&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;ORA-29351: can not transport system, sysaux, or temporary tablespace 'SYSTEM'&lt;/span&gt;&lt;br /&gt;ORA-06512: at "SYS.DBMS_TTS", line 867&lt;br /&gt;ORA-06512: at line 1&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;After you have checked the tablespace with the procedure &lt;span style="color: rgb(0, 0, 0);"&gt;TRANSPORT_SET_CHECK&lt;/span&gt; you can use a table call &lt;span style="color: rgb(51, 51, 255);"&gt;transport_set_violations&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt; &lt;/span&gt;which is owned by SYS to look at error messages from the procedure.&lt;br /&gt;This table will contain the messages from the last run of the procedure and it will retained only for the duration of the session.&lt;br /&gt;In other words, it will be refreshed with every new session.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;sys@10gr2 SQL&gt; desc transport_set_violations&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;Name                                      Null?    Type&lt;br /&gt;----------------------------------------- -------- ---------------------------- VIOLATIONS                                         VARCHAR2(2000)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Now SYS creates a table in the tablespace I want to check ... &lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(51, 51, 255);"&gt;sys@10gr2 SQL&gt; create table test_sys tablespace lutz_ts as select * from hr.test;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;Table created.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;And I check if the tablspace is transportable...&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;sys@10gr2 SQL&gt; exec dbms_tts.TRANSPORT_SET_CHECK('LUTZ_TS', TRUE)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;PL/SQL procedure successfully completed.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;sys@10gr2 SQL&gt;  select * from transport_set_violations;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;VIOLATIONS&lt;br /&gt;--------------------------------------------------------------------------------&lt;span style="color: rgb(255, 0, 0);"&gt;Sys owned object  TEST_SYS in tablespace LUTZ_TS not allowed in pluggable set&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This would be the error message if the tablespace is not self containing...&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;sys@10gr2 SQL&gt; sys@10gr2 SQL&gt;  select * from transport_set_violations;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;VIOLATIONS&lt;br /&gt;--------------------------------------------------------------------------------&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Constraint TESXT_FK between table SYS.TEST_SYS in tablespace USERS and table HR.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;TEST in tablespace LUTZ_TS&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-size:100%;" &gt;&lt;span style="color: rgb(0, 0, 0);"&gt;Starting with Oracle 10gR2 we can create &lt;a href="http://luhartma.blogspot.com/2006/04/transportable-tablespaces-from-backup.html"&gt;transportable tablespaces from backup&lt;/a&gt;.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-114785618485931644?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/114785618485931644/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=114785618485931644&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/114785618485931644'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/114785618485931644'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/05/how-to-check-if-tablespace-is.html' title='How to check if a tablespace is transportable'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-114784158218564926</id><published>2006-05-17T06:21:00.000+02:00</published><updated>2006-05-17T06:56:44.133+02:00</updated><title type='text'>CS CRUISING ORACLE</title><content type='html'>Right after I had arrived from New Jersey I delivered a short training at a very special event which Credit-Suisse had aranged.&lt;br /&gt;They had hired a ship on the Lake Zurich and invited their top DBAs to come and cruise Oracle for one day.&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/CS_EVENT_crousing%20018.jpg"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/200/CS_EVENT_crousing%20018.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I had the first 30 minute slot and talked about New Features of RMAN in Orcale 10gR2.&lt;br /&gt;&lt;br /&gt;All together there were five speakers on this event&lt;br /&gt;amoung others&lt;br /&gt;&lt;span style="color: rgb(255, 153, 0);"&gt;Christina Antonigni&lt;/span&gt;,&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/CS_EVENT_crousing%20013.0.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/200/CS_EVENT_crousing%20013.0.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt; who talked about Automatic Segment Space Management&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/CS_EVENT_crousing%20010.0.jpg"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/200/CS_EVENT_crousing%20010.0.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;and &lt;span style="color: rgb(255, 153, 0);"&gt;Jonathan Lewis&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;who flew in by helicopter so that he could make it in time from &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/CS_EVENT_crousing%20001.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/200/CS_EVENT_crousing%20001.jpg" alt="" border="0" /&gt;&lt;/a&gt;his Indexing and Troubleshooting Seminar at the Zurich Development Center. He was picked up by the boat on the way.&lt;br /&gt;&lt;br /&gt;Jonathan Lewis talked about the propper usage of V$ and X$-Views.&lt;br /&gt;&lt;br /&gt;I got to know Lutz Fröhlich, who is an ORACLE 9i CERTIFIED MASTER and was recently hired by CS. He is the leader of the DWH-team now. Sorry, but I forgot to take a picture&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-114784158218564926?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/114784158218564926/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=114784158218564926&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/114784158218564926'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/114784158218564926'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/05/cs-cruising-oracle.html' title='CS CRUISING ORACLE'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-114741879249822451</id><published>2006-05-12T09:07:00.000+02:00</published><updated>2006-06-29T07:14:15.910+02:00</updated><title type='text'>Jonathan Lewis Event in Zurich May 11.th-12th. 2006</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/Jonathan_Lewis_Event%20004.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" alt="" src="http://photos1.blogger.com/blogger/5054/1910/200/Jonathan_Lewis_Event%20004.jpg" border="0" /&gt;&lt;/a&gt;I am so lucky that I made it to Zurich in time and can take part in this very special session at least.&lt;br /&gt;&lt;br /&gt;Jonathan Lewis delivers a very highly condensed presentation in a two day event.&lt;br /&gt;The first day, which I missed most of, what a pity!, was about INDEXING STRATEGIES.&lt;br /&gt;Today he speakes about TROUBLE-SHOOTING and TUNING.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/Jonathan_Lewis_Event%20014.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" alt="" src="http://photos1.blogger.com/blogger/5054/1910/200/Jonathan_Lewis_Event%20014.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;There are about 40 people attending.&lt;br /&gt;Again Oracle Education chose this fantastic&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/Jonathan_Lewis_Event%20002.jpg"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer;" alt="" src="http://photos1.blogger.com/blogger/5054/1910/200/Jonathan_Lewis_Event%20002.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;ZURICH DEVELOPMENT CENTER as location for the event.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/Jonathan_Lewis_Event%20005.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" alt="" src="http://photos1.blogger.com/blogger/5054/1910/200/Jonathan_Lewis_Event%20005.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Jonathan made a very funny "demo of ORACLE 11g"&lt;br /&gt;which he faked, and I believe most of us believed he already had access to the next release. Look at this, it's Oracle 11g but it is faked , dont't believe what you see here!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/Jonathan_Lewis_Event%20011.jpg"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer;" alt="" src="http://photos1.blogger.com/blogger/5054/1910/200/Jonathan_Lewis_Event%20011.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;He "demonstrated" something he called HAL&lt;br /&gt; (stands for Heuristic Algorythmic Linguistic:&lt;br /&gt;&lt;br /&gt;=&gt; sees what happened&lt;br /&gt;=&gt; worksout what to do next&lt;br /&gt;=&gt; tells you all about it)&lt;br /&gt;and was "implemented" through a hint /*+go_faster*/&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/Jonathan_Lewis_Event%20013.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" alt="" src="http://photos1.blogger.com/blogger/5054/1910/200/Jonathan_Lewis_Event%20013.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;This was really fun!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="text-decoration: underline;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="text-decoration: underline;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="text-decoration: underline;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="text-decoration: underline;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="text-decoration: underline;"&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;/span&gt;One lucky attendee won a huge model of the Oracle yacht which was taking part the last Americas Cup.&lt;br /&gt;&lt;p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/Jonathan_Lewis_Event%20016.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; cursor: pointer; text-align: center;" alt="" src="http://photos1.blogger.com/blogger/5054/1910/200/Jonathan_Lewis_Event%20016.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/jl_book.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" alt="" src="http://photos1.blogger.com/blogger/5054/1910/200/jl_book.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Every attendee got a copy of Jonthan Lewis' latest book on the CBO.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="text-decoration: underline;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-114741879249822451?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/114741879249822451/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=114741879249822451&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/114741879249822451'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/114741879249822451'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/05/jonathan-lewis-event-in-zurich-may.html' title='Jonathan Lewis Event in Zurich May 11.th-12th. 2006'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-114733331569979999</id><published>2006-05-11T09:35:00.000+02:00</published><updated>2006-05-21T14:59:24.643+02:00</updated><title type='text'>Iselin NJ Event part 2</title><content type='html'>Yesterday I have finished my special Class in New Jersey education center.&lt;br /&gt;These guyes again gave me a hard time , trying to even be harder than their collegues in Chicago last week.&lt;br /&gt;&lt;br /&gt;It was a group of also very experienced DBAs&lt;br /&gt;and we had a fun time.                                                                                                                                                                     &lt;br /&gt;These are   Ying,  Mark, Alex, Miguel, Mangerh, &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/iselin_class%20018.jpg"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/200/iselin_class%20018.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Sridhar and me on the last day&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;In the New Jersey Oracle Education Center&lt;br /&gt;I got to know a very nice collegue of mine from Dallas.&lt;br /&gt;His name is Lester Wells.&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/iselin_class%20012.jpg"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/200/iselin_class%20012.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;He delivered a Grid Control class there.&lt;br /&gt;Thanks for being a light in the dark for me Lester!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Right after the event I headed for Kennedy Airport&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/iselin_class%20020.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/200/iselin_class%20020.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;and left for Zurich.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;On the plane was a large group of orthodox Jews&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/iselin_class.0.jpg"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/200/iselin_class.0.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;who  all of  a sudden  assembled in the middle of the plane&lt;div style="text-align: left;"&gt;for praying.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/Jonathan_Lewis_Event.0.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/200/Jonathan_Lewis_Event.0.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: right;"&gt;Having arrived in Zurich I headed directely to the&lt;br /&gt;Zurich Development Centerin order not to miss&lt;br /&gt;Jonathan Lewis.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;I will report in my next post.&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-114733331569979999?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/114733331569979999/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=114733331569979999&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/114733331569979999'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/114733331569979999'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/05/iselin-nj-event-part-2.html' title='Iselin NJ Event part 2'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-114704660769015018</id><published>2006-05-08T01:59:00.000+02:00</published><updated>2006-05-11T09:35:08.136+02:00</updated><title type='text'>Iselin NJ Event Part 1</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/iselin_class%20003.1.jpg"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/200/iselin_class%20003.1.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Just arrived in Iselin New Jersey.&lt;br /&gt;I will deliver a specially tailored&lt;br /&gt;New Features  for Administrators 10gR2 this week once again.&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-114704660769015018?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/114704660769015018/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=114704660769015018&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/114704660769015018'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/114704660769015018'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/05/iselin-nj-event-part-1.html' title='Iselin NJ Event Part 1'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-114666047135567666</id><published>2006-05-03T14:38:00.000+02:00</published><updated>2006-05-04T03:48:03.336+02:00</updated><title type='text'>My Chicago Training</title><content type='html'>This week I delivered a customized training for a bunch of very advanced DBAs in Chicago.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/chicago_class%20024.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/200/chicago_class%20024.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The location of the Training Center is so sophisticated (the walls in the building are all made of green marble from ground to top floor, well at least to 14th. floor, that's where the Oracle Training Center is located)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;These guyes have really given me a hard time.&lt;br /&gt;They were not interested in the courseware at all&lt;br /&gt;but only in the technical internals of the New Features.&lt;br /&gt;Hardest course I had, ever!&lt;br /&gt;But fun also.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;Somashekar&lt;br /&gt;&lt;div style="text-align: right;"&gt;Alan&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/chicago_class%20001.jpg"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/200/chicago_class%20001.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/chicago_class%20005.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/200/chicago_class%20005.jpg" alt="" border="0" /&gt;&lt;/a&gt;                &lt;br /&gt;&lt;div style="text-align: center;"&gt;                    Selvam&lt;br /&gt;&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/chicago_class%20002.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/200/chicago_class%20002.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Bhavesh&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/chicago_class%20004.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/200/chicago_class%20004.jpg" alt="" border="0" /&gt;&lt;/a&gt;                                                              Warren&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/chicago_class%20008.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/200/chicago_class%20008.jpg" alt="" border="0" /&gt;&lt;/a&gt;Sorry, I forgot to take a picture of Ravi.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;They are all very highly skilled DBAs, never trusting any new features, always trying everything out until they really have proved that it does what they expect it to do.&lt;br /&gt;It was a pleasure meeting you guys.&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-114666047135567666?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/114666047135567666/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=114666047135567666&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/114666047135567666'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/114666047135567666'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/05/my-chicago-training.html' title='My Chicago Training'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-114663531886820131</id><published>2006-05-03T05:56:00.000+02:00</published><updated>2006-10-07T14:53:34.060+02:00</updated><title type='text'>Active Session History in Oracle 10gR1+2</title><content type='html'>This article has been published in the &lt;a href="http://www.soug.ch"&gt;Swiss Oracle User Group's Newsletter 4/2006&lt;/a&gt; &lt;span style="font-size:85%;"&gt;(October 2006)&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;This article descibes the new on Oracle Database 10g &lt;span style="color: rgb(0, 0, 153);"&gt;Active Session History&lt;span style="color: rgb(0, 0, 0);"&gt;, a kind of data warehouse for session statistics.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;A lot of the information in this post I have taken from the book &lt;a href="http://books.mcgraw-hill.com/getbook.php?isbn=007222729X"&gt;Oracle Wait Interface&lt;/a&gt; by the&lt;br /&gt;authors R.Shee, K.Deshpande and K.Gopalakrishnan&lt;br /&gt;which I can strongly recommed to everybody&lt;br /&gt;who has to deal with performance tuning for ORACLE of which release ever.&lt;br /&gt;It covers the Oracle versions until 10gR1 and tells us everything we have ever wanted to know about latches, enqueues and all the wait events.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Starting with the version 10gR1 Oracle stores information about session activity on disk in the &lt;span style="color: rgb(51, 51, 255);"&gt;Automatic Workload Repository (AWR) &lt;/span&gt;which sits, amoung other things,  in the new mandatory &lt;span style="color: rgb(51, 51, 255);"&gt;SYSAUX tablespace&lt;/span&gt;.&lt;br /&gt;This information comes from statistics about active sessions which the Oracle Kernel collects automatically.&lt;br /&gt;The active session history is enabled by default( influenced by the hidden parameter _ASH_ENABLE=true).&lt;br /&gt;&lt;br /&gt;The main components of the ASH are&lt;br /&gt;- two new background procresses, MMON and MMNL,&lt;br /&gt;- a rolling buffer, which sits in the SGA fixed area and  holds the  historical statistical information of active sessions&lt;br /&gt;&lt;br /&gt;This buffer has a minimum size of 1Mb in ORACLE 10gR1 and can grow to a maximum of either 30Mb,  or 5% of SHARED_POOL_SIZE, or Numer of CPUs * 2Mb   (whichever is smaller!).&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;This formula has been changed in 10gR2&lt;/span&gt; to not linearly scale with&lt;br /&gt;the number of CPUs.&lt;br /&gt;All we get to know about the sizing is that "&lt;span style="color: rgb(255, 0, 0);"&gt;...the ASH will &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; auto-configure itself to try and hold at least one-hour worth of &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; instance activity without wasting too much value SGA space and will &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; never be bigger than 2% of SGA_TARGET or 5% of SHARED_POOL (if AutoSGA &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; is not used)&lt;/span&gt;".&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The contents of the rolling buffer get written down to disk on a regular basis by MMNL&lt;br /&gt;( with every snapshot created and when the buffer gets full).&lt;br /&gt;It gets flushed to the table WRH$_ACTIVE_SESSION_HISTORY in the AWR which is implemented like a facts table in a DWH with its columns as dimensions.&lt;br /&gt;This is enbled with the hidden parameter  _ASH_DISK_WRITE_ENABLE=true.&lt;br /&gt;&lt;br /&gt;The information in the ASH is used, among others, by automatic tuning utilities like teh SQLTUNING Advisor (dbms_sqltune) for the &lt;span style="color: rgb(51, 51, 255);"&gt;Automatic Tuning Optimizer (ATO)&lt;/span&gt;. This one &lt;span style="color: rgb(0, 153, 0);"&gt;will look for historical data about sql-statements and their exetutions in the ASH (see buttom) &lt;/span&gt;as well, anong other activities it can perform in order top find a potentially better execution plan.&lt;br /&gt;&lt;br /&gt;There are a lot of DBA_ views we can use to read the historical information from the AWR:&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(51, 51, 255);font-size:85%;" &gt;SELECT table_name&lt;br /&gt;FROM dictionary&lt;br /&gt;WHERE table_name like 'DBA/_HIST/_%' ESCAPE '/'&lt;br /&gt;ORDER BY table_name;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size:78%;"&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;TABLE_NAME &lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;-----------------------------                                              &lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;DBA_HIST_ACTIVE_SESS_HISTORY&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;DBA_HIST_BASELINE                                                               &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_BG_EVENT_SUMMARY                                                       &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_BUFFERED_QUEUES                                                        &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_BUFFERED_SUBSCRIBERS                                                   &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_BUFFER_POOL_STAT                                                       &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_COMP_IOSTAT                                                            &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_CR_BLOCK_SERVER                                                        &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_CURRENT_BLOCK_SERVER                                                   &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_DATABASE_INSTANCE                                                      &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_DATAFILE                                                               &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_DB_CACHE_ADVICE                                                        &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_DLM_MISC                                                               &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_ENQUEUE_STAT                                                           &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_EVENT_NAME                                                             &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_FILEMETRIC_HISTORY                                                     &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_FILESTATXS                                                             &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_INSTANCE_RECOVERY                                                      &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_INST_CACHE_TRANSFER                                                    &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_JAVA_POOL_ADVICE                                                       &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_LATCH                                                                  &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_LATCH_CHILDREN                                                         &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_LATCH_MISSES_SUMMARY                                                   &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_LATCH_NAME                                                             &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_LATCH_PARENT                                                           &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_LIBRARYCACHE                                                           &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_LOG                                                                    &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_METRIC_NAME                                                            &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_MTTR_TARGET_ADVICE                                                     &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_OPTIMIZER_ENV                                                          &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_OSSTAT                                                                 &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_OSSTAT_NAME                                                            &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_PARAMETER                                                              &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_PARAMETER_NAME                                                         &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_PGASTAT                                                                &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_PGA_TARGET_ADVICE                                                      &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_PROCESS_MEM_SUMMARY                                                    &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_RESOURCE_LIMIT                                                         &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_ROWCACHE_SUMMARY                                                       &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_RULE_SET                                                               &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_SEG_STAT                                                               &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_SEG_STAT_OBJ                                                           &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_SERVICE_NAME                                                           &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_SERVICE_STAT                                                           &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_SERVICE_WAIT_CLASS                                                     &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_SESSMETRIC_HISTORY                                                     &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_SESS_TIME_STATS                                                        &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_SGA                                                                    &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_SGASTAT                                                                &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_SGA_TARGET_ADVICE                                                      &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_SHARED_POOL_ADVICE                                                     &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_SNAPSHOT                                                               &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_SNAP_ERROR                                                             &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;DBA_HIST_SQLBIND                                                                &lt;/span&gt;&lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 153, 0);"&gt;&lt;br /&gt;DBA_HIST_SQLSTAT                                                                &lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 153, 0);"&gt;&lt;br /&gt;DBA_HIST_SQLTEXT                                                                &lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 153, 0);"&gt;&lt;br /&gt;DBA_HIST_SQL_BIND_METADATA                                                      &lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 153, 0);"&gt;&lt;br /&gt;DBA_HIST_SQL_PLAN                                                               &lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 153, 0);"&gt;&lt;br /&gt;DBA_HIST_SQL_SUMMARY                                                            &lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 153, 0);"&gt;&lt;br /&gt;DBA_HIST_SQL_WORKAREA_HSTGRM                                                    &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_STAT_NAME                                                              &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_STREAMS_APPLY_SUM                                                      &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_STREAMS_CAPTURE                                                        &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_STREAMS_POOL_ADVICE                                                    &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_SYSMETRIC_HISTORY                                                      &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_SYSMETRIC_SUMMARY                                &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_SYSSTAT                                                                &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_SYSTEM_EVENT                                                           &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_SYS_TIME_MODEL                                                         &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_TABLESPACE_STAT                                                        &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_TBSPC_SPACE_USAGE                                                      &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_TEMPFILE                                                               &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_TEMPSTATXS                                                             &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_THREAD                                                                 &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_UNDOSTAT                                                               &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_WAITCLASSMET_HISTORY                                                   &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_WAITSTAT                                                                                                    &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;DBA_HIST_WR_CONTROL                                                             &lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(51, 51, 255);"&gt;78 rows selected.&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;  The rolling buffer can be viewed by querying the relevant v$view:&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(51, 51, 255);font-size:85%;" &gt;SELECT table_name&lt;br /&gt;FROM dictionary&lt;br /&gt;WHERE table_name like 'V$%SESSION%HISTORY'&lt;br /&gt;ORDER BY table_name;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:78%;"&gt;&lt;span style="font-style: italic;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-style: italic;font-size:78%;" &gt;TABLE_NAME                                                              &lt;br /&gt;------------------------------                                          &lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:78%;"&gt;&lt;span style="font-style: italic;"&gt;V$ACTIVE_SESSION_HISTORY&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;V$SESSION_WAIT_HISTORY&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size:78%;"&gt;&lt;span style="font-style: italic; color: rgb(51, 51, 255);"&gt;2 rows selected.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;You can use a query like this to look at the session activity in a certain peride of time with a query like this:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;SELECT session_id, event, COUNT(*), SUM(time_waited)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt; FROM v$active_session_history&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;  WHERE session_state= 'WAITING'&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;  AND time_waited &gt; 0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;  AND sample_time &gt;= (sysdate-&amp;MinutesAgo/(24*60))&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;GROUP BY session_id, event;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:78%;"&gt;Enter value for minutesago: 5&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size:78%;"&gt;old   5:   AND sample_time &gt;= (sysdate-&amp;MinutesAgo/(24*60))&lt;br /&gt;new   5:   AND sample_time &gt;= (sysdate-5/(24*60))&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:78%;"&gt;&lt;br /&gt;SESSION_ID EVENT          &lt;/span&gt;&lt;span style="font-size:78%;"&gt;                              COUNT(*)     SUM(TIME_WAITED)              &lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size:78%;"&gt;                                              &lt;br /&gt;---------------- --------                                        -------------    ------------------------------&lt;br /&gt;&lt;/span&gt;                                                         149          db file sequential read            &lt;/span&gt;&lt;span style="font-size:85%;"&gt;  3                    40857                                             &lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;       149          db file scattered read                &lt;/span&gt;&lt;span style="font-size:85%;"&gt;1                     1530 &lt;/span&gt;&lt;span style="font-size:85%;"&gt;                       &lt;br /&gt;164          db file sequential read              &lt;/span&gt;&lt;span style="font-size:85%;"&gt;1                     12208         &lt;/span&gt;&lt;span style="font-size:85%;"&gt; &lt;br /&gt;&lt;/span&gt;&lt;br /&gt;The autors also describe how to dump the contents of the rolling buffer to a trace file in USER_DUMP_DEST  in order to use sqlldr to load the information into another database.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;ALTER SESSION SET events 'immediate trace name ashdump, level 10';&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;You can also use the utility  &lt;span style="color: rgb(51, 51, 255);"&gt;oradebug &lt;/span&gt;to dump the rolling buffer:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;SYS @10gR2 SQL &gt;&lt;span style="color: rgb(51, 51, 255);"&gt; oradebug setmypid&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;Statement processed&lt;/span&gt;&lt;br /&gt;SYS @10gR2 SQL &gt;&lt;span style="color: rgb(51, 51, 255);"&gt; oradebug unlimit&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;Statement processed&lt;/span&gt;&lt;br /&gt;SYS @10gR2 SQL &gt; &lt;span style="color: rgb(51, 51, 255);"&gt;oradebug dump ashdump 10&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;Statement processed&lt;/span&gt;&lt;br /&gt;SYS @10gR2 SQL &gt;&lt;span style="color: rgb(51, 51, 255);"&gt; oradebug tracefile_name&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;Statement processed&lt;/span&gt;&lt;br /&gt;SYS@10gR2 SQL &gt; &lt;span style="color: rgb(51, 51, 255);"&gt;oradebug tracefile_name&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;/u01/app/oracle/admin/orcl/udump/orcl_ora_5851.trc&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;-- first lines: column names for data&lt;br /&gt;-- trace data displayed as comma separated list of values&lt;br /&gt;-- can use sqlldr to load the data into another DB for further analysis&lt;br /&gt;-- can be helpfull in cases of hanging system&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-114663531886820131?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/114663531886820131/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=114663531886820131&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/114663531886820131'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/114663531886820131'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/05/active-session-history-in-oracle.html' title='Active Session History in Oracle 10gR1+2'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-114662711125385672</id><published>2006-05-03T05:21:00.000+02:00</published><updated>2006-05-03T05:31:51.253+02:00</updated><title type='text'>Ginza Restaurant in Chicago Downtown -  A must for Sushi lovers!</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/chicago_sushi%20002.jpg"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/200/chicago_sushi%20002.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Tonight I had luch at nice little Sushi Restaurant&lt;br /&gt;&lt;br /&gt;It is wonderful little place, not too crowded with a very relaxing ambiente: silent japanese music and nice people.&lt;br /&gt;Here I got the best Sushi I have ever tasted.&lt;br /&gt;Tonight they had a very special sushi with an egg of a japanese snapper. Never had that before. Wow!&lt;br /&gt;Here is the contact:&lt;br /&gt;Ginza Restaurant (Japanese Cuisine)&lt;br /&gt;Chicago, IL&lt;br /&gt;19 E. Ohio  St.&lt;br /&gt;Fon. 312-222-0600&lt;br /&gt;Fax. 312-222-0919&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-114662711125385672?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/114662711125385672/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=114662711125385672&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/114662711125385672'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/114662711125385672'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/05/ginza-restaurant-in-chicago-downtown.html' title='Ginza Restaurant in Chicago Downtown -  A must for Sushi lovers!'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-114662647330002125</id><published>2006-05-03T05:15:00.000+02:00</published><updated>2006-05-03T05:21:13.300+02:00</updated><title type='text'>Lunch at the Hooters</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/chicago_class%20022.jpg"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/200/chicago_class%20022.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/chicago_class%20020.jpg"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/200/chicago_class%20020.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;These guyes took me out for lunch at the Hooters today.&lt;br /&gt;It is a funny place where you can get loads of very good chicken wings and not only chicken wings...&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-114662647330002125?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/114662647330002125/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=114662647330002125&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/114662647330002125'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/114662647330002125'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/05/lunch-at-hooters.html' title='Lunch at the Hooters'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-114644119068922943</id><published>2006-05-01T01:45:00.000+02:00</published><updated>2006-05-02T17:42:44.956+02:00</updated><title type='text'>this blog is a success!! thank you for using it!</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/lutz_blog.1.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/400/lutz_blog.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Looking at the statistics of my blog I get very happy.&lt;br /&gt;I seam to write about things which are interesting for people.&lt;br /&gt;&lt;br /&gt;Thank you for coosing my blog!&lt;br /&gt;And thank you for your feedback and comments!&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-114644119068922943?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/114644119068922943/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=114644119068922943&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/114644119068922943'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/114644119068922943'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/05/this-blog-is-success-thank-you-for.html' title='this blog is a success!! thank you for using it!'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-114635598448688700</id><published>2006-04-30T02:08:00.000+02:00</published><updated>2006-05-01T21:43:10.153+02:00</updated><title type='text'>Chicago I</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/chicago%20007.jpg"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/200/chicago%20007.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Just arrived in Chicago Downtown.&lt;br /&gt;I will deliver a customized  10gR2  New Features for Administrators  as a private event next week (May 1st.-3rd).&lt;br /&gt;&lt;br /&gt;Haved been reading "Cost based Oracle" by Jonathan Lewis during the flight. This book is like a thriller for me - really exciting!&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-114635598448688700?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/114635598448688700/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=114635598448688700&amp;isPopup=true' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/114635598448688700'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/114635598448688700'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/04/chicago-i.html' title='Chicago I'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-114620272489017475</id><published>2006-04-28T07:27:00.000+02:00</published><updated>2006-04-28T10:20:00.343+02:00</updated><title type='text'>ORACLE SECURE BACKUP now available</title><content type='html'>ORACLE has announced  general availability of its new Media Management Server &lt;span style="color: rgb(51, 51, 255);"&gt;Oracle Secure Backup &lt;span style="color: rgb(0, 0, 0);"&gt;and&lt;/span&gt; &lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;Oracle Secure Backup Express&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;This is Oracle's          new tape backup management software, delivering secure, high performance          network tape backup for Oracle databases and file          systems.&lt;br /&gt;With Oracle Secure Backup (OSB) you can not only backup database files but also the entire ORACLE stack including&lt;br /&gt;- application servers&lt;br /&gt;- collaboration suites&lt;br /&gt;as well as OS-file systems.&lt;br /&gt;&lt;br /&gt;OSB is capable of discovering tape libraries which are available within a so called administrative doamin (which you define), it can handle barcode readers and change tapes and you can use it to backup any maschine on which either an OSB client is running or an NDMP-demon (&lt;a href="http://www.ndmp.org/info/faq.shtml"&gt;network data management protocol&lt;/a&gt;)  is started.&lt;br /&gt;OSB is strongly integrated with RMAN and can be accessed&lt;br /&gt;- through a web interface&lt;br /&gt;- a command line tool&lt;br /&gt;- enterprise manager&lt;br /&gt;&lt;br /&gt;For more info pls see the following locations:&lt;br /&gt;The official announcement is &lt;a href="http://www.oracle.com/corporate/press/2006_apr/042606-osb-ga-finalsite.html"&gt;here&lt;/a&gt;.&lt;br /&gt;The product description can be found  &lt;a href="http://www.oracle.com/database/secure-backup.html"&gt;here&lt;/a&gt;.&lt;br /&gt;Technical information for DBAs and Developers can be found &lt;a href="http://www.oracle.com/technology/products/secure-backup/index.html"&gt;here&lt;/a&gt;.&lt;br /&gt;A white paper about OSB on OTN is &lt;a href="http://www.oracle.com/technology/products/secure-backup/pdf/optimized_oracle_osb.pdf"&gt;here&lt;/a&gt;.&lt;br /&gt;OSB on OTn is &lt;a href="http://www.oracle.com/technology/products/secure-backup/index.html"&gt;here&lt;/a&gt;.&lt;span style="text-decoration: underline;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-114620272489017475?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/114620272489017475/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=114620272489017475&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/114620272489017475'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/114620272489017475'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/04/oracle-secure-backup-now-available.html' title='ORACLE SECURE BACKUP now available'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-114620187040039033</id><published>2006-04-28T06:09:00.000+02:00</published><updated>2006-04-30T18:38:48.423+02:00</updated><title type='text'>How to adjust the high watermark in ORACLE 10g - ALTER TABLE SHRINK</title><content type='html'>Hanging around in my hotel in Chicago because it is raining, I have been cruising around in the OTN forums which inspired me to write something about the&lt;span style="color: rgb(0, 0, 153);"&gt; High Watermark&lt;/span&gt; and the Oracle 10gR1 New Feature &lt;span style="color: rgb(0, 0, 153);"&gt; SEGMENT &lt;/span&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;SHRINKING&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;The High Watermark is the maximum fill-grade a table has ever reached.&lt;br /&gt;Above the high watermark are only empty blocks.&lt;br /&gt;These blocks can be formatted or unformatted.&lt;br /&gt;&lt;br /&gt;First let's have a look at the question &lt;span style="color: rgb(0, 0, 153);"&gt;when space is allocated&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;- when you create a table at least one extent (contiguous blocks) is allocated to the table&lt;br /&gt;- if you have specified MINEXTENTS the number of MINEXTENTS extents&lt;br /&gt;will be allocated immedaitely to the table&lt;br /&gt;- if you have not specified MINEXTENTS then exactely one extent&lt;br /&gt;will be allocated (we will look at extent sizes later in another post).&lt;br /&gt;&lt;br /&gt;Immediately after creation of the segment (table) the high watermark will be at the first block of the first extent as long as there are no inserts made.&lt;br /&gt;&lt;br /&gt;When you insert rows into the table the high watermark will be bumped up step by step.&lt;br /&gt;This is done by the server process which makes the inserts.&lt;br /&gt;&lt;br /&gt;Now let us take a look at &lt;span style="color: rgb(0, 0, 153);"&gt;when space is released again&lt;span style="color: rgb(0, 0, 0);"&gt; from a segment like a table or index:&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;Let's asume that we have filled a table with 100'0000 rows.&lt;br /&gt;And let's asume that we deleted 50'000 rows afterwards.&lt;br /&gt;In this case the high watermark will have reached the level of 100'000 and will have stayed there. Which means that we have empty blocks below the high watermark now.&lt;br /&gt;Oracle has a good reason this: it might occur that you delete rows and immediately this you insert rows into the same table. In this case it is good that the space was not released with the deletes, because it had to be get reallocate again for the following inserts, which would mean permanent changes to the data dictionary&lt;br /&gt;(=&gt; dba_free_space, dba_extents, dba_segements ...) .&lt;br /&gt;Furthermore the physical addresses of the deleted row get recycled by new rows.&lt;br /&gt;&lt;br /&gt;These empty blocks below the high watermark can get annoying in a number of situations because they are not used by DIRECT LOADs and DIRECT PATH LOADs:&lt;br /&gt;&lt;br /&gt;1. seriell direct load:&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt; &lt;span style="font-style: italic;"&gt;INSERT /*+ APPEND */ &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153); font-style: italic;"&gt;      INTO  hr.employees &lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153); font-style: italic;"&gt;       NOLOGGING&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153); font-style: italic;"&gt;   SELECT * &lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;&lt;span style="font-style: italic;"&gt;    FROM oe.emps;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;2. parallel direct load:&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153); font-weight: bold; font-style: italic;"&gt;ALTER SESSION ENABLE PARALLEL DML;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153); font-weight: bold; font-style: italic;"&gt;INSERT /*+PARALLLEL(&lt;span style="color: rgb(0, 0, 153);"&gt;hr.employees,2)&lt;/span&gt;&lt;br /&gt;INTO  hr.employees &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153); font-weight: bold; font-style: italic;"&gt;       NOLOGGING&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153); font-weight: bold; font-style: italic;"&gt;   SELECT * &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153); font-weight: bold; font-style: italic;"&gt;    FROM oe.emps;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;3. direct path loads:&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;sqlldr hr/hr control=lcaselutz.ctl ... &lt;span style="color: rgb(255, 0, 0);"&gt;direct=y &lt;span style="color: rgb(0, 0, 0);"&gt;(default is direct=n)&lt;br /&gt;&lt;br /&gt;All the above actions case that the SGA is not used for the inserts but the PGA:&lt;br /&gt;there wil be temporary segements filled and &lt;span style="color: rgb(255, 0, 0);"&gt;dumped into newly formatted blocks above the high watermark&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;So we might want to get high watermark down before we load data into the table in order to use the free empty blocks for the loading.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;So how can we release unused space from a table?&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;There are a number of possible options which are already available before Oracle 10g:&lt;br /&gt;- What we always could do is  &lt;span style="color: rgb(0, 0, 153);"&gt;export and import&lt;/span&gt; the segment.&lt;br /&gt;  After an import the table will have only one extent.&lt;br /&gt;  The rows will have new physical addresses and&lt;br /&gt;   the high watermark will be adjusted.&lt;br /&gt;- Another option would be to TRUNCATE the table.&lt;br /&gt; With this we would loose all rows which are in the table.&lt;br /&gt; So we cannot use this if we want to keep existing records.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;With &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;Oracle 9i another possibilty was implemented:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;ALTER TABLE emp MOVE TABLESPACE users;&lt;/span&gt;&lt;br /&gt;This statement will also cause that&lt;br /&gt;- the &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;rows will have new physical addresses and&lt;br /&gt;- the high watermark will be adjusted.&lt;br /&gt;But for this:&lt;br /&gt;-  we need a full (exclusive) table lock&lt;br /&gt;- the indexes will be left with the status unusable (because they contain the old rowids) and must be rebuilt.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Starting with ORACLE 10gR1 we can use a new feature for adjusting the high watermark,&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;it is called segment &lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;shrinking &lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;and &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;is only possible for segments which use ASSM&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;,&lt;/span&gt; in other words, which are located in tablespaces which use Automatic Segement Space Management&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;.&lt;br /&gt;In such a tablespace a table does not really have a High watermark!&lt;br /&gt;It uses two watermarks instead:&lt;br /&gt;- the &lt;span style="color: rgb(0, 0, 153);"&gt;High High Watermark &lt;span style="color: rgb(0, 0, 0);"&gt;referred to as &lt;span style="color: rgb(0, 0, 153);"&gt;HHWM&lt;/span&gt;, above which alle blocks ar unformatted.&lt;br /&gt;- the &lt;span style="color: rgb(0, 0, 153);"&gt;Low &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;High Watermark &lt;span style="color: rgb(0, 0, 0);"&gt;referred to as &lt;span style="color: rgb(0, 0, 153);"&gt;LHWM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; below which all blocks are formatted.&lt;br /&gt;We now can have unformatted blocks in the middle of a segment!&lt;br /&gt;&lt;br /&gt;ASSM was introduced in Oracle 9iR2 and it was made the default for tablespaces in Oracle 10gR2.&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;With the &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;table shrinking&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; feature we can get Oracle&lt;br /&gt;to move rows which are located in the middle or at the end of a segment&lt;br /&gt;further more down to the beginning of the segment and by&lt;br /&gt;this make the segment more compact.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  For this we must first allow ORACLE to change the ROWIDs of these rows by issuing &lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;&lt;br /&gt;ALTER TABLE emp &lt;span style="color: rgb(255, 0, 0);"&gt;ENABLE ROW MOVEMENT&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;ROWIDs are normally assigned to a row for the life time of the row at insert time.&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;After we have given Oracle the permission to change the &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;ROWIDs&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; we can now issue a shrink statement.&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;span style="font-style: italic;"&gt;ALTER TABLE emp &lt;/span&gt;SHRINK SPACE;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;This statement will procede in two steps:&lt;br /&gt;- The first step makes the segment compact&lt;br /&gt;by moving rows further down to free blocks at the beginning of the segment.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;- The second step adjusts the high watermark. For this Oracle needs an exclusive table lock,&lt;br /&gt;but for a very short moment only.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;Table shrinking...&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;&lt;br /&gt;&lt;/span&gt;- will adjust the high watermark&lt;br /&gt;- can be done online&lt;br /&gt;- will cause only rowlocks during the operation and just a &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;very short full table lock at the end of the operation&lt;br /&gt;-&lt;span style="color: rgb(255, 0, 0);"&gt; indexes will be maintained and remain usable&lt;/span&gt;&lt;br /&gt;- can be made in one go&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;- can be made in two steps&lt;br /&gt;(this can be usefull if you cannot get a full table lock during certain hours:&lt;br /&gt;you only make the first step and adjust the high watermark later&lt;br /&gt;when it is more conveniant:&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;span style="font-style: italic;"&gt;  -  ALTER TABLE emp &lt;/span&gt;SHRINK SPACE; &lt;span style="color: rgb(0, 0, 0);"&gt;-- only for the emp table&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;span style="font-style: italic;"&gt;  - ALTER TABLE emp &lt;/span&gt;SHRINK SPACE CASCADE; &lt;span style="color: rgb(0, 0, 0);"&gt;-- for all dependent objects as well&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;  -  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;span style="font-style: italic;"&gt;ALTER TABLE emp &lt;/span&gt;SHRINK SPACE COMPACT; &lt;span style="color: rgb(0, 0, 0);"&gt;-- only makes the first step (moves the rows)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;)&lt;br /&gt;&lt;br /&gt;The following &lt;span style="color: rgb(255, 0, 0);"&gt;restrictions &lt;/span&gt;apply to table shrinking:&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;1.)&lt;/span&gt;  &lt;span style="color: rgb(0, 0, 0);"&gt;It is only possible in tablespaces with ASSM.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;2.) You cannot shrink:&lt;/span&gt;&lt;br /&gt;- UNDO segments&lt;br /&gt;- temporary segments&lt;br /&gt;- clustered tables&lt;br /&gt;- tables with a colmn of datatype &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;LONG&lt;br /&gt;- LOB indexes&lt;br /&gt;- IOT mapping tables and IOT overflow segments&lt;br /&gt;- tables with MVIEWS with ON COMMIT&lt;br /&gt;- tables with MVIEWS which are based on ROWIDs&lt;br /&gt;&lt;br /&gt;The Oracle 10g Oracle  comes with a Segment Advisor utility.&lt;br /&gt;The &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;Enterprise Manager, Database Control,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; even has a wizzard which can search for shrink candidates.&lt;br /&gt;&lt;br /&gt;This advisor is run automatically by an autotask job on a regular basis in the default maintainance window.&lt;br /&gt;&lt;br /&gt;You can use the built in package DBMS_SPACE to run the advisor manually as well.&lt;br /&gt;I will blog about this later on some time.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-114620187040039033?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/114620187040039033/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=114620187040039033&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/114620187040039033'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/114620187040039033'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/04/how-to-adjust-high-watermark-in-oracle.html' title='How to adjust the high watermark in ORACLE 10g - ALTER TABLE SHRINK'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-114560587984947598</id><published>2006-04-21T09:37:00.000+02:00</published><updated>2006-04-24T10:04:01.010+02:00</updated><title type='text'>Jonathan Lewis, the master of the cost based optimizer</title><content type='html'>I am reading the latest book by Jonathan Lewis, &lt;a href="http://www.apress.com/book/bookDisplay.html?bID=10081"&gt;Cost-Based Oracle Fundamentals&lt;/a&gt;  right now.&lt;br /&gt;It is a compilation of all the in depth knowlege about the Cost-Based Optimizer we have been looking for since ages.&lt;br /&gt;And it covers the history of the CBO from ORACLE 8i until ORACLE 10g.&lt;br /&gt;&lt;br /&gt;It is really amazing how Jonathan Lewis explains, step by step,&lt;br /&gt;what the CBO is all about and how it works.&lt;br /&gt;And this in a way which can be understood even by non-insider-gurus,&lt;br /&gt;although he really goes into details.&lt;br /&gt;Jonathan Lewis encourages the reader to try the examples from the book practically  in real life and find out what happens. The sample code is available for &lt;a href="http://www.apress.com/book/supplementDownload.html?bID=10081&amp;sID=3124"&gt;download from the apress site&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;As Tom Kyte wrote in the foreward of the book:&lt;br /&gt;"The insight that Jonathan provides into the working of the CBO will make a DBA a better designer and a developer a better SQL coder. Both groups will become better troubleshooters".&lt;br /&gt;&lt;br /&gt;I can only recommed this book to everybody who has to deal with ORACLE performance issues.&lt;br /&gt;It will be worth the money.&lt;br /&gt;&lt;br /&gt;I am really looking foreward to meeting Jonathan Lewis in Zurich on May 11th.-12th.&lt;br /&gt;where he will deliver some very special trainings about troubleshooting and indexing.&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;For everybody who might be interested in taking part in this event,&lt;span style="color: rgb(51, 51, 255);"&gt; &lt;/span&gt;&lt;/span&gt;&lt;a style="color: rgb(51, 51, 255);" href="http://luhartma.blogspot.com/2006/01/oracle-education-special-events-this.html"&gt;here&lt;/a&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; is the info about bookings.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-114560587984947598?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/114560587984947598/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=114560587984947598&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/114560587984947598'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/114560587984947598'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/04/jonathan-lewis-master-of-cost-based.html' title='Jonathan Lewis, the master of the cost based optimizer'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-114553695787124005</id><published>2006-04-20T13:33:00.000+02:00</published><updated>2006-08-23T11:50:43.990+02:00</updated><title type='text'>Asynchronous Commit - a New Feature in ORACLE  10gR2</title><content type='html'>"In the old times" the LGWR had to write to the redo-logs with every COMMIT.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Starting with ORACLE 10gR2&lt;/span&gt; we can use the initialization parameter&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;COMMIT&lt;/span&gt;_WRITE &lt;/span&gt;to change the commit behaviour&lt;br /&gt;on SYSTEM- as well as on  SESSION-LEVEL.&lt;br /&gt;&lt;br /&gt;We can allow LGWR to consider itself&lt;br /&gt;- when to write to disk and&lt;br /&gt;- when control is returned to the client.&lt;br /&gt;&lt;br /&gt;By specifying  &lt;span style="color: rgb(51, 51, 255);"&gt;WAIT &lt;/span&gt;or &lt;span style="color: rgb(51, 51, 255);"&gt;NOWAIT  &lt;/span&gt;you can influence when LGWR returns control to the client.&lt;br /&gt;By specifiying &lt;span style="color: rgb(51, 51, 255);"&gt;IMMEDIATE &lt;/span&gt;or &lt;span style="color: rgb(51, 51, 255);"&gt;BATCH &lt;/span&gt;you can influence when LGWR will write to disk.&lt;br /&gt;&lt;br /&gt;&lt;span class="bold"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;If you do not explicitly specify this advanced parameter:&lt;/span&gt;&lt;br /&gt;- - the default is IMMEDIATE, WAIT&lt;br /&gt;- the database by default will write commit records to disk for every commit&lt;br /&gt;- control is returned to the client after the writing is completed.&lt;br /&gt;- the client receives the massage COMMIT COMPLETE.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;If you set COMMIT_WRITE to NOWAIT and you do not specify anything else:&lt;/span&gt;&lt;br /&gt;- the default is IMMEDIATE, NOWAIT&lt;br /&gt;- LGWR will write to the redologs directely after every commit&lt;br /&gt;- it will not wait until the writing is completed before it sends the next writing process to the redologs&lt;br /&gt;- the client will have control before the writing is completed.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;If you set COMMIT_WRITE to BATCH and you do not specify anything else:&lt;/span&gt;&lt;br /&gt;- the default is BATCH, WAIT&lt;br /&gt;- LGWR will consider itself when to write to  disk from the LOG_BUFFER&lt;br /&gt;- LGWR will not write with every COMMIT&lt;br /&gt;- the client must wait until the I/O of LGWR is completed&lt;br /&gt;&lt;br /&gt;Changing this parameter has its drawbacks and advantages and it is you who has to descide which death to dye:&lt;br /&gt;- the majour&lt;span style="color: rgb(255, 0, 0);"&gt; drawback&lt;/span&gt; is obviousely that you cannot be sure anymore that your changes are persistently saved even after commit which can mean that you might lose even committed data in the case of an instance crash.&lt;br /&gt;- the &lt;span style="color: rgb(255, 0, 0);"&gt;advantage&lt;/span&gt; can be that concurrently committing sessions do not have to to wait for each other 's  commit to complete =&gt; less wait events.&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;This parameter, again,  is not a basic but an advanced parameter, which means that the default is o.k. &lt;/span&gt;in the first place and you would think about changing its value to whatever only after you encounter significant numbers of wait event with concurrent commits.&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Because it is good to know that the committed changes are persistently changed and can be applied again in case of crash recovery.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p:colorscheme colors="#FFFFFF,#000000,#000000,#000000,#CCCCCC,#FF0000,#FF0000,#999999"&gt;  &lt;/p:colorscheme&gt;&lt;div shape="_x0000_s3074" style=""&gt;  &lt;div class="O1" style=""&gt;&lt;span style=";font-family:Arial;font-size:92;"  &gt;&lt;span style="position: absolute; left: -6.75%;color:red;" &gt;•&lt;/span&gt;&lt;/span&gt;&lt;span style=";font-family:Arial;font-size:92;"  &gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;You change the parameter by providing the values separated by a comma:&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;span style="font-family:helvetica;"&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;ALTER SYSTEM SET COMMIT_WRITE = BATCH, NOWAIT;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;pre space="preserve" class="oac_no_warn"&gt;POSSIBLE COMBINATIONS:&lt;br /&gt;- IMMEDIATE,NOWAIT&lt;br /&gt;- IMMEDIATE,WAIT&lt;br /&gt;- BATCH,NOWAIT&lt;br /&gt;- BATCH,WAIT&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-114553695787124005?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/114553695787124005/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=114553695787124005&amp;isPopup=true' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/114553695787124005'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/114553695787124005'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/04/asynchronous-commit-new-feature-in.html' title='Asynchronous Commit - a New Feature in ORACLE  10gR2'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-114476807876390098</id><published>2006-04-11T16:10:00.000+02:00</published><updated>2006-07-07T10:56:55.446+02:00</updated><title type='text'>Transportable Tablespaces from Backup with RMAN in Oracle 10g Release 2</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Before Oracle 10g it was also possible to create transportable tablespace&lt;/span&gt;s&lt;br /&gt;&lt;span style="font-size:78%;"&gt;(they were introduced with ORACLE 8i)&lt;/span&gt;:&lt;br /&gt;we have used export-utility (exp) to create them.&lt;br /&gt;- first we had to make the tablespace READ ONLY before exporting,&lt;br /&gt;- then we had to used export utility to dump the tablespace metadata.&lt;br /&gt;&lt;span style="font-size:78%;"&gt;             &lt;span style="font-size:85%;"&gt;(In the exp-dumpfile only the metadata of the tablespace are dumped)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;- and after we shipped the datafiles from the source system to the target system we could use the import utility(imp)  to import the metadata from the dumpfile and&lt;br /&gt;- finally we could take the tablespace in the target system read write.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 0);"&gt;This procedure had a number of significant limitations:&lt;/span&gt;&lt;br /&gt;1. The  source- and target-platforms had to be exactely the same(up to the last OS-package)&lt;br /&gt;2. The source- and target-database had to exactely the same version (up to the last patchset)&lt;br /&gt;3. The tablespace had to be made READ ONLY before exporting the metadata&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0); font-weight: bold;"&gt;Since ORACLE 10gR2 we can now use RMAN to create a transportable tablespace-set from Backup.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Now we do not need to make the tablespace(s) READ ONLY any more.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;Here are the steps RMAN will take to do so:&lt;/span&gt;&lt;br /&gt;1. RMAN connects to the source-database&lt;br /&gt;2. RMAN creates an AUXILIARY instance and an AUXILIARY database which constists of a SYSTEM- and  an UNDO-tablespace and the tablespace(s) we want to export. For this RMAN uses a backupset of the source database.&lt;br /&gt;3. RMAN recovers the AUXILIARY database to the desired point in time&lt;br /&gt;4. RMAN uses export-datapump (expdp) to create a dumpfile-set:&lt;br /&gt;this consists of:&lt;br /&gt;-  the the datafiles which represent the transportable-tablespace-set,&lt;br /&gt;-  the dumpfile of the export con taining the metadata of the tablespace-set&lt;br /&gt;-  a sql-script which can be used to import the metadata into the target system&lt;br /&gt;5. RMAN removes the AUXILIARY instance from the host.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;And here is a demo:&lt;/span&gt;&lt;br /&gt;I have written a little sql-script which contains an RMAN-run-block:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;[oracle@lutz1 oracle]$ rman target / @tts.sql&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Recovery Manager: Release 10.2.0.1.0 - Production on Tue Feb 7 02:57:33 2006&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; &lt;/span&gt;&lt;span style="font-style: italic;"&gt;Copyright (c) 1982, 2005, Oracle.  All rights reserved.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; &lt;/span&gt;&lt;span style="font-style: italic;"&gt;connected to target database: ORCL (DBID=1106297266)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; &lt;/span&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;RMAN&gt; run {&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;2&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;  TRANSPORT TABLESPACE 'LUTZ_TEST'&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;3&gt;  AUXILIARY DESTINATION '/home/oracle/AUX/tts'&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;4&gt;  DUMP FILE 'lutz_test.dmp'&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;5&gt;  EXPORT LOG 'lutz_test.log'&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;6&gt;  IMPORT SCRIPT 'lutz_test_im.sql'&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;7&gt;  TABLESPACE DESTINATION '/home/oracle/AUX/tts'&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;8&gt;  UNTIL TIME="to_date('07-02-2006:02:57:00', 'dd-mm-yyyy:hh24:mi:ss')";&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;9&gt; }&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;using target database control file instead of recovery catalog&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;RMAN-05026: WARNING: presuming following set of tablespaces applies&lt;br /&gt;to specified point in time&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;List of tablespaces expected to have UNDO segments&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;tablespace SYSTEM&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;tablespace UNDOTBS1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0); font-style: italic;"&gt;Creating automatic instance, with SID='yigu'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;initialization parameters used for automatic instance:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;db_name=ORCL&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;compatible=10.2.0.1.0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;db_block_size=8192&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;db_files=200&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;db_unique_name=tspitr_ORCL_yigu&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;large_pool_size=1M&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;shared_pool_size=110M&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;#No auxiliary parameter file used&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;db_create_file_dest=/home/oracle/AUX/tts&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;control_files=/home/oracle/AUX/tts/cntrl_tspitr_ORCL_yigu.f&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0); font-style: italic;"&gt;starting up automatic instance ORCL&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Oracle instance started&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; &lt;/span&gt;&lt;span style="font-style: italic;"&gt;Total System Global Area     201326592 bytes&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; &lt;/span&gt;&lt;span style="font-style: italic;"&gt;Fixed Size                     1218508 bytes&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Variable Size                146802740 bytes&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Database Buffers              50331648 bytes&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Redo Buffers                   2973696 bytes&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;Automatic instance created&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;contents of Memory Script&lt;/span&gt;:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;# set the until clause&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;set until  time "to_date('07-02-2006:02:57:00', 'dd-mm-yyyy:hh24:mi:ss')";&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;# restore the controlfile&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;restore clone controlfile;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;# mount the controlfile&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;sql clone 'alter database mount clone database';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;# archive current online log for tspitr to a resent until time&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;sql 'alter system archive log current';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;# avoid unnecessary autobackups for structural changes during TSPITR&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;sql 'begin dbms_backup_restore.AutoBackupFlag(FALSE); end;';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;executing Memory Script&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;executing command: SET until clause&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Starting restore &lt;/span&gt;at 07-FEB-06&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;allocated channel: ORA_AUX_DISK_1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;channel ORA_AUX_DISK_1: sid=37 devtype=DISK&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;allocated channel: ORA_AUX_SBT_TAPE_1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;channel ORA_AUX_SBT_TAPE_1: sid=36 devtype=SBT_TAPE&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;channel ORA_AUX_SBT_TAPE_1: Oracle Secure Backup&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;channel ORA_AUX_DISK_1: &lt;span style="color: rgb(255, 0, 0);"&gt;starting datafile backupset restore&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;channel ORA_AUX_DISK_1: &lt;span style="color: rgb(255, 0, 0);"&gt;restoring control file&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;channel ORA_AUX_DISK_1: &lt;span style="color: rgb(255, 0, 0);"&gt;reading from backup piece&lt;/span&gt; /opt/oracle/flash_recovery_area/ORCL/&lt;br /&gt;autobackup/2006_02_07/o1_mf_s_581741757_1yhzkgp5_.bkp&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;channel ORA_AUX_DISK_1: restored backup piece 1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;piece handle=/opt/oracle/flash_recovery_area/ORCL/&lt;br /&gt;autobackup/2006_02_07/o1_mf_s_581741757_1yhzkgp5_.bkp tag=TAG20060207T025557&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:06&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;output filename=/home/oracle/AUX/tts/cntrl_tspitr_ORCL_yigu.f&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;Finished restore at 07-FEB-06&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;sql statement: &lt;span style="color: rgb(255, 0, 0);"&gt;alter database mount clone database&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; &lt;/span&gt;&lt;span style="font-style: italic;"&gt;sql statement: &lt;span style="color: rgb(255, 0, 0);"&gt;alter system archive log current&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; &lt;/span&gt;&lt;span style="font-style: italic;"&gt;sql statement: begin dbms_backup_restore.AutoBackupFlag(FALSE); end;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;released channel: ORA_AUX_DISK_1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;released channel: ORA_AUX_SBT_TAPE_1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;contents of Memory Script:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;# generated tablespace point-in-time recovery script&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;# set the until clause&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;set until  time "to_date('07-02-2006:02:57:00', 'dd-mm-yyyy:hh24:mi:ss')";&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;# set an omf destination filename for restore&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;set newname for clone datafile  1 to new;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;# set an omf destination filename for restore&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;set newname for clone datafile  2 to new;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;# set an omf destination filename for restore&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;set newname for clone datafile  3 to new;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;# set an omf destination tempfile&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;set newname for clone tempfile  1 to new;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;# set a destination filename for restore&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;set newname for datafile  6 to&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; "/home/oracle/AUX/tts/lutz_test.dbf";&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;# rename all tempfiles&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;switch clone tempfile all;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;# restore the tablespaces in the recovery set plus the auxilliary tablespaces&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;restore clone datafile  1, 2, 3, 6;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;switch clone datafile all;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;#online the datafiles restored or flipped&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;sql clone "alter database datafile  1 online";&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;#online the datafiles restored or flipped&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;sql clone "alter database datafile  2 online";&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;#online the datafiles restored or flipped&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;sql clone "alter database datafile  3 online";&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;#online the datafiles restored or flipped&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;sql clone "alter database datafile  6 online";&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;# make the controlfile point at the restored datafiles, then recover them&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;recover clone database tablespace  "LUTZ_TEST", "SYSTEM",&lt;br /&gt;"UNDOTBS1", "SYSAUX" delete archivelog;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;alter clone database open resetlogs;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;# PLUG HERE the creation of a temporary tablespace if export fails due to lack&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;# of temporary space.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;# For example in Unix these two lines would do that:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;#sql clone "create tablespace aux_tspitr_tmp&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;#           datafile ''/tmp/aux_tspitr_tmp.dbf'' size 500K";&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;executing Memory Script&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;executing command: SET until clause&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; &lt;/span&gt;&lt;span style="font-style: italic;"&gt;executing command: SET NEWNAME&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; &lt;/span&gt;&lt;span style="font-style: italic;"&gt;executing command: SET NEWNAME&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; &lt;/span&gt;&lt;span style="font-style: italic;"&gt;executing command: SET NEWNAME&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; &lt;/span&gt;&lt;span style="font-style: italic;"&gt;executing command: SET NEWNAME&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; &lt;/span&gt;&lt;span style="font-style: italic;"&gt;executing command: SET NEWNAME&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; &lt;/span&gt;&lt;span style="font-style: italic;"&gt;renamed temporary file 1 to /home/oracle/AUX/tts/TSPITR_ORCL_YIGU/&lt;br /&gt;datafile/o1_mf_temp_%u_.tmp in control file&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;Starting restore at 07-FEB-06&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;allocated channel: ORA_AUX_DISK_1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;channel ORA_AUX_DISK_1: sid=37 devtype=DISK&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; &lt;/span&gt;&lt;span style="font-style: italic;"&gt;channel ORA_AUX_DISK_1: restoring datafile 00001&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;input datafile copy recid=2 stamp=581741278 filename=/opt/oracle/flash_recovery_area/ORCL/&lt;br /&gt;datafile/o1_mf_system_1yhyzg1w_.dbf&lt;br /&gt;destination for restore of datafile 00001:&lt;br /&gt;/home/oracle/AUX/tts/TSPITR_ORCL_YIGU/&lt;br /&gt;datafile/o1_mf_system_%u_.dbf&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;channel ORA_AUX_DISK_1: copied datafile copy of datafile 00001&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;output filename=/home/oracle/AUX/tts/TSPITR_ORCL_YIGU/&lt;br /&gt;datafile/o1_mf_system_1yhzoc4n_.dbf recid=8 stamp=581741970&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;channel ORA_AUX_DISK_1: restoring datafile 00002&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;input datafile copy recid=5 stamp=581741387 filename=/opt/oracle/flash_recovery_area/ORCL/&lt;br /&gt;datafile/o1_mf_undotbs1_1yhz5np1_.dbf&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;destination for restore of datafile 00002: /home/oracle/AUX/tts/&lt;br /&gt;TSPITR_ORCL_YIGU/datafile/o1_mf_undotbs1_%u_.dbf&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;channel ORA_AUX_DISK_1: copied datafile copy of datafile 00002&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;output filename=/home/oracle/AUX/tts/TSPITR_ORCL_YIGU/&lt;br /&gt;datafile/o1_mf_undotbs1_1yhzrccl_.dbf&lt;br /&gt;recid=9 stamp=581741983&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;channel ORA_AUX_DISK_1: restoring datafile 00003&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;input datafile copy recid=3 stamp=581741352 filename=/opt/oracle/flash_recovery_area/ORCL/&lt;br /&gt;datafile/o1_mf_sysaux_1yhz2s7c_.dbf&lt;br /&gt;destination for restore of&lt;br /&gt;datafile 00003: /home/oracle/AUX/tts/TSPITR_ORCL_YIGU/&lt;br /&gt;datafile/o1_mf_sysaux_%u_.dbf&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;channel ORA_AUX_DISK_1: copied datafile copy of datafile 00003&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;output filename=/home/oracle/AUX/tts/TSPITR_ORCL_YIGU/&lt;br /&gt;datafile/o1_mf_sysaux_1yhzrm6x_.dbf&lt;br /&gt;recid=10 stamp=581742036&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;channel ORA_AUX_DISK_1: restoring datafile 00006&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;input datafile copy recid=6 stamp=581741397 filename=/opt/oracle/flash_recovery_area/ORCL/&lt;br /&gt;datafile/o1_mf_lutz_tes_1yhz63wv_.dbf&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;destination for restore of datafile 00006:&lt;br /&gt;/home/oracle/AUX/tts/lutz_test.dbf&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;channel ORA_AUX_DISK_1:&lt;br /&gt;copied datafile copy of datafile 00006&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;output filename=/home/oracle/AUX/tts/lutz_test.dbf&lt;br /&gt;recid=11 stamp=581742044&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;Finished restore at 07-FEB-06&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;datafile 1 switched to datafile copy&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;input datafile copy recid=12 stamp=581742047 filename=/home/oracle/AUX/tts/TSPITR_ORCL_YIGU/&lt;br /&gt;datafile/o1_mf_system_1yhzoc4n_.dbf&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;datafile 2 switched to datafile copy&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;input datafile copy recid=13 stamp=581742048 filename=/home/oracle/AUX/tts/TSPITR_ORCL_YIGU/&lt;br /&gt;datafile/o1_mf_undotbs1_1yhzrccl_.dbf&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;datafile 3 switched to datafile copy&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;input datafile copy recid=14 stamp=581742048 filename=/home/oracle/AUX/tts/TSPITR_ORCL_YIGU/&lt;br /&gt;datafile/o1_mf_sysaux_1yhzrm6x_.dbf&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;datafile 6 switched to datafile copy&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;input datafile copy recid=15 stamp=581742048 filename=/home/oracle/AUX/tts/lutz_test.dbf&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;sql statement: &lt;span style="color: rgb(255, 0, 0);"&gt;alter database datafile  1 online&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; &lt;/span&gt;&lt;span style="font-style: italic;"&gt;sql statement: &lt;span style="color: rgb(255, 0, 0);"&gt;alter database datafile  2 online&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; &lt;/span&gt;&lt;span style="font-style: italic;"&gt;sql statement: &lt;span style="color: rgb(255, 0, 0);"&gt;alter database datafile  3 online&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; &lt;/span&gt;&lt;span style="font-style: italic;"&gt;sql statement: &lt;span style="color: rgb(255, 0, 0);"&gt;alter database datafile  6 online&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; &lt;/span&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;&lt;br /&gt;Starting recover at 07-FEB-06&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;using channel ORA_AUX_DISK_1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;starting media recovery&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;archive log thread 1 sequence 10 is already on disk as file /opt/oracle/flash_recovery_area/ORCL/&lt;br /&gt;archivelog/2006_02_07/o1_mf_1_10_1yhzo2j8_.arc&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;archive log filename=/opt/oracle/flash_recovery_area/ORCL/&lt;br /&gt;archivelog/2006_02_07/o1_mf_1_10_1yhzo2j8_.arc&lt;br /&gt;thread=1 sequence=10media recovery complete, elapsed time: 00:00:01&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;Finished recover at 07-FEB-06&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt; &lt;/span&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;database opened&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;contents of Memory Script:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;#mark read only the tablespace that will be exported&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;sql clone "alter tablespace LUTZ_TEST read only";&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;#&lt;span style="color: rgb(255, 0, 0);"&gt; create directory for datapump export&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;sql clone "create or replace directory STREAMS_DIROBJ_DPDIR as ''&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;/home/oracle/AUX/tts''";&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;# &lt;span style="color: rgb(255, 0, 0);"&gt;export the tablespaces in the recovery set&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;host 'expdp userid=\"/@\(DESCRIPTION=\(ADDRESS=(PROTOCOL=beq\)(PROGRAM=/opt/oracle/product/db10_2/bin/oracle\)&lt;br /&gt;\(ARGV0=oracleyigu\)\(ARGS=^'\(DESCRIPTION=\(LOCAL=YES\)&lt;br /&gt;(ADDRESS=\(PROTOCOL=beq\)\)\)^'\)\(ENVS=^'ORACLE_SID=yigu^'\)\)&lt;br /&gt;\(CONNECT_DATA=\(SID=yigu\)\)\) as sysdba\" transport_tablespaces=&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; LUTZ_TEST dumpfile=&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;lutz_test.dmp directory=&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;STREAMS_DIROBJ_DPDIR logfile=&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;lutz_test.log';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;executing Memory Script&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;sql statement: &lt;span style="color: rgb(255, 0, 0);"&gt;alter tablespace LUTZ_TEST read only&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; &lt;/span&gt;&lt;span style="font-style: italic;"&gt;sql statement: create or replace directory STREAMS_DIROBJ_DPDIR as ''/home/oracle/AUX/tts''&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Export: Release 10.2.0.1.0 &lt;/span&gt;- Production on Tuesday, 07 February, 2006 3:01:47&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; &lt;/span&gt;&lt;span style="font-style: italic;"&gt;Copyright (c) 2003, 2005, Oracle.  All rights reserved.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; &lt;/span&gt;&lt;span style="font-style: italic;"&gt;Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;With the Partitioning, OLAP and Data Mining options&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Starting "SYS"."SYS_EXPORT_TRANSPORTABLE_01":  userid="/********@(DESCRIPTION=(ADDRESS=(PROTOCOL=beq)&lt;br /&gt;(PROGRAM=/opt/oracle/product/db10_2/bin/oracle)(ARGV0=oracleyigu)&lt;br /&gt;(ARGS=\(DESCRIPTION=\(LOCAL=YES\)\(ADDRESS=\(PROTOCOL=beq\)\)\))&lt;br /&gt;(ENVS=ORACLE_SID=yigu))(CONNECT_DATA=(SID=yigu))) AS SYSDBA" transport_tablespaces= LUTZ_TEST dumpfile=lutz_test.dmp directory=STREAMS_DIROBJ_DPDIR logfile=lutz_test.log&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Processing object type TRANSPORTABLE_EXPORT/PLUGTS_BLK&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Processing object type TRANSPORTABLE_EXPORT/POST_INSTANCE/PLUGTS_BLK&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Master table "SYS"."SYS_EXPORT_TRANSPORTABLE_01" successfully loaded/unloaded&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;******************************************************************************&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Dump file set for SYS.SYS_EXPORT_TRANSPORTABLE_01 is:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;  /home/oracle/AUX/tts/lutz_test.dmp&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Job "SYS"."SYS_EXPORT_TRANSPORTABLE_01" successfully completed at 03:02:44&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;host command complete&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;/*&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;   The following command may be used to import the tablespaces.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;   Substitute values for &lt;logon&gt; and &lt;directory&gt;.&lt;/directory&gt;&lt;/logon&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;   impdp &lt;logon&gt; directory=&lt;directory&gt; dumpfile= 'lutz_test.dmp' transport_datafiles= /home/oracle/AUX/tts/lutz_test.dbf&lt;/directory&gt;&lt;/logon&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;*/&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;--------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;-- Start of sample PL/SQL script for importing the tablespaces&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;--------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;-- creating directory objects&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;CREATE DIRECTORY STREAMS$DIROBJ$1 AS  '/home/oracle/AUX/tts/';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;CREATE DIRECTORY STREAMS$DIROBJ$DPDIR AS  '/home/oracle/AUX/tts';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;/* PL/SQL Script to import the exported tablespaces */&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;DECLARE&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;  -- the datafiles&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;  tbs_files     dbms_streams_tablespace_adm.file_set;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;  cvt_files     dbms_streams_tablespace_adm.file_set;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;  -- the dumpfile to import&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;  dump_file     dbms_streams_tablespace_adm.file;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;  dp_job_name   VARCHAR2(30) := NULL;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;  -- names of tablespaces that were imported&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;  ts_names       dbms_streams_tablespace_adm.tablespace_set;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;BEGIN&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;  -- dump file name and location&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;  dump_file.file_name :=  'lutz_test.dmp';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;  dump_file.directory_object := 'STREAMS$DIROBJ$DPDIR';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;  -- forming list of datafiles for import&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;  tbs_files( 1).file_name :=  'lutz_test.dbf';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;  tbs_files( 1).directory_object :=  'STREAMS$DIROBJ$1';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;  -- import tablespaces&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;  dbms_streams_tablespace_adm.attach_tablespaces(&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    datapump_job_name      =&gt; dp_job_name,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    dump_file              =&gt; dump_file,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    tablespace_files       =&gt; tbs_files,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    converted_files        =&gt; cvt_files,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    tablespace_names       =&gt; ts_names);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;  -- output names of imported tablespaces&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;  IF ts_names IS NOT NULL AND ts_names.first IS NOT NULL THEN&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    FOR i IN ts_names.first .. ts_names.last LOOP&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;      dbms_output.put_line('imported tablespace '|| ts_names(i));&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    END LOOP;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;  END IF;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;END;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;/&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;-- dropping directory objects&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;DROP DIRECTORY STREAMS$DIROBJ$1;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;DROP DIRECTORY STREAMS$DIROBJ$DPDIR;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;--------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;-- End of sample PL/SQL script&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;--------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;Removing automatic instance&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;shutting down automatic instance&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;Oracle instance shut down&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;Automatic instance removed&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;auxiliary instance file /home/oracle/AUX/tts/cntrl_tspitr_ORCL_yigu.f&lt;br /&gt;deleted&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;auxiliary instance file /home/oracle/AUX/tts/TSPITR_ORCL_YIGU/datafile/&lt;br /&gt;o1_mf_system_1yhzoc4n_.dbf&lt;br /&gt;deleted&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;auxiliary instance file /home/oracle/AUX/tts/TSPITR_ORCL_YIGU/datafile/&lt;br /&gt;o1_mf_undotbs1_1yhzrccl_.dbf&lt;br /&gt;deleted&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;auxiliary instance file /home/oracle/AUX/tts/TSPITR_ORCL_YIGU/datafile/&lt;br /&gt;o1_mf_sysaux_1yhzrm6x_.dbf&lt;br /&gt;deleted&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;auxiliary instance file /home/oracle/AUX/tts/TSPITR_ORCL_YIGU/datafile/&lt;br /&gt;o1_mf_temp_1yhzvhkk_.tmp&lt;br /&gt;deleted&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;auxiliary instance file /home/oracle/AUX/tts/TSPITR_ORCL_YIGU/onlinelog/&lt;br /&gt;o1_mf_1_1yhztxdl_.log&lt;br /&gt;deleted&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;auxiliary instance file /home/oracle/AUX/tts/TSPITR_ORCL_YIGU/onlinelog/&lt;br /&gt;o1_mf_2_1yhzv0p5_.log&lt;br /&gt;deleted&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;auxiliary instance file /home/oracle/AUX/tts/TSPITR_ORCL_YIGU/onlinelog/&lt;br /&gt;o1_mf_3_1yhzv4gp_.log&lt;br /&gt;deleted&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;Recovery Manager complete.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;[oracle@lutz1 oracle]$ ll /home/oracle/AUX/tts/&lt;/span&gt;&lt;br /&gt;total 10344&lt;br /&gt;-rw-r-----    1 oracle   oinstall 10493952 Feb  7 03:01 lutz_test.dbf&lt;br /&gt;-rw-r-----    1 oracle   oinstall    65536 Feb  7 03:02 lutz_test.dmp&lt;br /&gt;-rw-r--r--    1 oracle   oinstall     2075 Feb  7 03:03 lutz_test_im.sql&lt;br /&gt;-rw-r--r--    1 oracle   oinstall     1130 Feb  7 03:02 lutz_test.log&lt;br /&gt;drwxr-x---    4 oracle   oinstall     4096 Feb  7 02:58 TSPITR_ORCL_YIGU&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;[oracle@lutz1 oracle]$ cat /home/oracle/AUX/tts/lutz_test_im.sql&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;/*&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;  &lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-style: italic;"&gt; The following command may be used to import the tablespaces.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;   Substitute values for &lt;logon&gt; and &lt;directory&gt;.&lt;/directory&gt;&lt;/logon&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;   impdp &lt;logon&gt; directory=&lt;directory&gt; dumpfile= 'lutz_test.dmp' transport_datafiles= /home/oracle/AUX/tts/lutz_test.dbf&lt;/directory&gt;&lt;/logon&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;*/&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;--------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;-- Start of sample PL/SQL script for importing the tablespaces&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;--------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;-- creating directory objects&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;CREATE DIRECTORY STREAMS$DIROBJ$1 AS &lt;br /&gt;'/home/oracle/AUX/tts/';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;CREATE DIRECTORY STREAMS$DIROBJ$DPDIR AS &lt;br /&gt;'/home/oracle/AUX/tts';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;/* PL/SQL Script to import the exported tablespaces */&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;DECLARE&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;  -- the datafiles&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;  tbs_files     dbms_streams_tablespace_adm.file_set;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;  cvt_files     dbms_streams_tablespace_adm.file_set;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;  -- the dumpfile to import&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;  dump_file     dbms_streams_tablespace_adm.file;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;  dp_job_name   VARCHAR2(30) := NULL;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;  -- names of tablespaces that were imported&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;  ts_names       dbms_streams_tablespace_adm.tablespace_set;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;BEGIN&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;  -- dump file name and location&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;  dump_file.file_name :=  'lutz_test.dmp';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;  dump_file.directory_object := 'STREAMS$DIROBJ$DPDIR';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;  -- forming list of datafiles for import&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;  tbs_files( 1).file_name :=  'lutz_test.dbf';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;  tbs_files( 1).directory_object :=  'STREAMS$DIROBJ$1';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;  -- import tablespaces&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;  dbms_streams_tablespace_adm.attach_tablespaces(&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    datapump_job_name      =&gt; dp_job_name,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    dump_file              =&gt; dump_file,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    tablespace_files       =&gt; tbs_files,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    converted_files        =&gt; cvt_files,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    tablespace_names       =&gt; ts_names);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;  -- output names of imported tablespaces&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;  IF ts_names IS NOT NULL AND ts_names.first&lt;br /&gt;IS NOT NULL THEN&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    FOR i IN ts_names.first .. ts_names.last LOOP&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;      dbms_output.put_line('imported tablespace '|| ts_names(i));&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    END LOOP;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;  END IF;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;END;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;/&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;-- dropping directory objects&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;DROP DIRECTORY STREAMS$DIROBJ$1;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;DROP DIRECTORY STREAMS$DIROBJ$DPDIR;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;--------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;-- End of sample PL/SQL script&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;--------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;[oracle@lutz1 oracle]$ cat /home/oracle/AUX/tts/lutz_test.log&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Export: Release 10.2.0.1.0 - Production on Tuesday, 07 February, 2006 3:01:47&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; &lt;/span&gt;&lt;span style="font-style: italic;"&gt;Copyright (c) 2003, 2005, Oracle.  All rights reserved.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;;;;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0&lt;br /&gt;- Production&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;With the Partitioning, OLAP and Data Mining options&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Starting "SYS"."SYS_EXPORT_TRANSPORTABLE_01":  userid="/********@(DESCRIPTION=(ADDRESS=(PROTOCOL=beq)&lt;br /&gt;(PROGRAM=/opt/oracle/product/db10_2/bin/oracle)(ARGV0=oracleyigu)&lt;br /&gt;(ARGS=\(DESCRIPTION=\(LOCAL=YES\)\(ADDRESS=(PROTOCOL=beq\)\)\))(ENVS=ORACLE_SID=yigu))&lt;br /&gt;(CONNECT_DATA=(SID=yigu))) AS SYSDBA" transport_tablespaces= LUTZ_TEST dumpfile=lutz_test.dmp directory=STREAMS_DIROBJ_DPDIR logfile=lutz_test.log&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Processing object type&lt;br /&gt;TRANSPORTABLE_EXPORT/PLUGTS_BLK&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Processing object type&lt;br /&gt;TRANSPORTABLE_EXPORT/POST_INSTANCE/PLUGTS_BLK&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Master table&lt;br /&gt;"SYS"."SYS_EXPORT_TRANSPORTABLE_01" successfully loaded/unloaded&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;******************************************************************************&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Dump file set for SYS.SYS_EXPORT_TRANSPORTABLE_01 is:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;  /home/oracle/AUX/tts/lutz_test.dmp&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Job "SYS"."SYS_EXPORT_TRANSPORTABLE_01"&lt;br /&gt;successfully completed at 03:02:44&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;[oracle@lutz1 oracle]$ ls -rtl /home/oracle/AUX/tts/TSPITR_ORCL_YIGU/*&lt;/span&gt;&lt;br /&gt;/home/oracle/AUX/tts/TSPITR_ORCL_YIGU/onlinelog:&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;total 0&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-114476807876390098?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/114476807876390098/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=114476807876390098&amp;isPopup=true' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/114476807876390098'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/114476807876390098'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/04/transportable-tablespaces-from-backup.html' title='Transportable Tablespaces from Backup with RMAN in Oracle 10g Release 2'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-114432285474470559</id><published>2006-04-06T13:24:00.000+02:00</published><updated>2006-04-28T05:29:08.230+02:00</updated><title type='text'>Resumable space allocation in ORACLE 10g</title><content type='html'>Since Oracle 9i we can cause a session which runs into a space allocation problem&lt;br /&gt;to halt adn wait for the resolution of the space problem&lt;br /&gt;instead of rolling back the staement&lt;br /&gt;by using the resumable space allocation option.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;In 9i&lt;/span&gt; this could be done only on session level.&lt;br /&gt;&lt;span style="font-size:130%;"&gt;Since Oracle 10gR1 &lt;/span&gt;the parameter &lt;span style="color: rgb(51, 51, 255);"&gt;RESUMABLE_TIMEOUT&lt;/span&gt;&lt;br /&gt;can also be set on system level for all sessions;&lt;br /&gt;&lt;br /&gt;&lt;table class="Informal" title="RESUMABLE_TIMEOUT Property Descriptions" summary="This table is described in the preceding text" border="1" cellpadding="3" cellspacing="0" dir="ltr" frame="hsides" rules="groups" width="100%"&gt; &lt;tbody&gt;&lt;tr align="left" valign="top"&gt;&lt;td id="r2c1-t353" headers="r1c1-t353" align="left"&gt;&lt;span class="bold"&gt;Parameter type&lt;/span&gt;&lt;/td&gt; &lt;td headers="r2c1-t353 r1c2-t353" align="left"&gt;Integer&lt;/td&gt; &lt;/tr&gt; &lt;tr align="left" valign="top"&gt; &lt;td id="r3c1-t353" headers="r1c1-t353" align="left"&gt;&lt;span class="bold"&gt;Default value&lt;/span&gt;&lt;/td&gt; &lt;td headers="r3c1-t353 r1c2-t353" align="left"&gt;&lt;code&gt;0&lt;/code&gt; (seconds)&lt;/td&gt; &lt;/tr&gt; &lt;tr align="left" valign="top"&gt; &lt;td id="r4c1-t353" headers="r1c1-t353" align="left"&gt;&lt;span class="bold"&gt;Modifiable&lt;/span&gt;&lt;/td&gt; &lt;td headers="r4c1-t353 r1c2-t353" align="left"&gt;&lt;code&gt;ALTER SESSION&lt;/code&gt;, &lt;code&gt;ALTER SYSTEM&lt;/code&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr align="left" valign="top"&gt; &lt;td id="r5c1-t353" headers="r1c1-t353" align="left"&gt;&lt;span class="bold"&gt;Range of values&lt;/span&gt;&lt;/td&gt; &lt;td headers="r5c1-t353 r1c2-t353" align="left"&gt;&lt;code&gt;0&lt;/code&gt; to 2&lt;sup&gt;31&lt;/sup&gt; - 1 (in seconds)&lt;/td&gt; &lt;/tr&gt; &lt;tr align="left" valign="top"&gt; &lt;td id="r6c1-t353" headers="r1c1-t353" align="left"&gt;&lt;span class="bold"&gt;Real Application Clusters&lt;/span&gt;&lt;/td&gt; &lt;td headers="r6c1-t353 r1c2-t353" align="left"&gt;Multiple instances can have different values.&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt; &lt;/table&gt;&lt;br /&gt;Here is a little demo on session level:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;SYS @ orcl AS SYSDBA SQL &gt; CREATE USER lutz IDENTIFIED BY lutz&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;   DEFAULT TABLESPACE lutz_klein&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;   QUOTA 1m ON lutz_klein;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;User created.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;SYS @ orcl AS SYSDBA SQL &gt; GRANT CREATE SESSION , CREATE TABLE TO lutz;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;Grant succeeded.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;LUTZ @ orcl  SQL &gt; BEGIN FOR i IN 1..10000 LOOP&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;  2   INSERT INTO lutz_small VALUES(i);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;  3  END LOOP;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;  4  COMMIT;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;  5  END;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;  6  /&lt;br /&gt;&lt;/span&gt;PL/SQL procedure successfully completed.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;LUTZ @ orcl  SQL &gt;  INSERT INTO lutz_small SELECT * FROM lutz_small;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;ERROR at line 1:&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;ORA-01536: space quota exceeded for tablespace 'LUTZ_KLEIN'&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;LUTZ @ orcl  SQL &gt; SELECT COUNT(*) FROM lutz_small;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;COUNT(*)&lt;br /&gt;----------&lt;br /&gt;     40000&lt;br /&gt;&lt;/span&gt;As we can see, the server made a transaction level rollback.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;LUTZ @ orcl  SQL &gt;  ALTER SESSION ENABLE RESUMABLE TIMEOUT 600;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;ERROR:&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;ORA-01031: insufficient privileges&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;SYS @ orcl AS SYSDBA SQL &gt; GRANT RESUMABLE TO lutz;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Grant succeeded.&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);font-size:100%;" &gt;LUTZ @ orcl  SQL &gt;  ALTER SESSION ENABLE RESUMABLE TIMEOUT 600;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;Session altered.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;LUTZ @ orcl  SQL &gt; INSERT INTO lutz_small SELECT * FROM lutz_small&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 0);"&gt;alert_orcl.log ===&gt;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;Thu Apr  6 10:12:48 2006pr  6 10:59:03 2006&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;statement in resumable session 'User LUTZ(62), Session 142, Instance 1' was suspended due to&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;    ORA-01536: space quota exceeded for tablespace 'LUTZ_KLEIN'&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;SYS @ orcl AS SYSDBA SQL &gt; DESC dba_resumable&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt; Name                                      Null?    Type&lt;br /&gt; ----------------------------------------- -------- ----------------------------&lt;br /&gt; USER_ID                                            NUMBER&lt;br /&gt; SESSION_ID                                         NUMBER&lt;br /&gt; INSTANCE_ID                                        NUMBER&lt;br /&gt; COORD_INSTANCE_ID                                  NUMBER&lt;br /&gt; COORD_SESSION_ID                                   NUMBER&lt;br /&gt; STATUS                                             VARCHAR2(9)&lt;br /&gt; TIMEOUT                                            NUMBER&lt;br /&gt; START_TIME                                         VARCHAR2(20)&lt;br /&gt; SUSPEND_TIME                                       VARCHAR2(20)&lt;br /&gt; RESUME_TIME                                        VARCHAR2(20)&lt;br /&gt; NAME                                               VARCHAR2(4000)&lt;br /&gt; SQL_TEXT                                           VARCHAR2(1000)&lt;br /&gt; ERROR_NUMBER                                       NUMBER&lt;br /&gt; ERROR_PARAMETER1                                   VARCHAR2(80)&lt;br /&gt; ERROR_PARAMETER2                                   VARCHAR2(80)&lt;br /&gt; ERROR_PARAMETER3                                   VARCHAR2(80)&lt;br /&gt; ERROR_PARAMETER4                                   VARCHAR2(80)&lt;br /&gt; ERROR_PARAMETER5                                   VARCHAR2(80)&lt;br /&gt; ERROR_MSG                                          VARCHAR2(4000)&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;SYS @ orcl AS SYSDBA SQL &gt; SELECT name, SQL_TEXT, STATUS, TIMEOUT FROM dba_resumable;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt; NAME       SQL_TEXT                                          STATUS       TIMEOUT&lt;br /&gt;---------- ------------------------------------------------- --------- ----------&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;User LUTZ( insert into lutz_small select * from lutz_small   SUSPENDED        600&lt;/span&gt;&lt;br /&gt; &lt;span style="color: rgb(255, 0, 0);"&gt;62), Session 142, Instance 1&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;SYS @ orcl AS SYSDBA SQL &gt; ALTER USER lutz QUOTA UNLIMITED ON lutz_klein;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;User altered.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;LUTZ @ orcl  SQL &gt; INSERT INTO lutz_small SELECT * FROM lutz_small&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;40000 rows created.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 0);"&gt;alert_orcl.log ===&gt;&gt;&lt;br /&gt;&lt;/span&gt;Thu Apr  6 11:05:29 2006&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;statement in resumable session 'User LUTZ(62), Session 142, Instance 1' was resumed&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-114432285474470559?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/114432285474470559/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=114432285474470559&amp;isPopup=true' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/114432285474470559'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/114432285474470559'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/04/resumable-space-allocation-in-oracle.html' title='Resumable space allocation in ORACLE 10g'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-114422832875298777</id><published>2006-04-05T11:02:00.000+02:00</published><updated>2006-11-08T08:12:09.840+01:00</updated><title type='text'>How to check for and repair block corruption with RMAN in Oracle 9i and Oracle 10g</title><content type='html'>&lt;span style="color: rgb(255, 0, 0);"&gt;Problem&lt;/span&gt;: the application encounters an &lt;span style="color: rgb(255, 0, 0);"&gt;ORA-01578 &lt;/span&gt;runtime error because there are one or more corrupt blocks in a table it is reading.&lt;br /&gt;&lt;br /&gt;How can corrupt blocks be caused?&lt;br /&gt;First of all we have two diffent kinds of block corruption:&lt;br /&gt;-&lt;span style="color: rgb(51, 51, 255);"&gt; physical corruption (media corrupt)&lt;/span&gt;&lt;br /&gt;- &lt;span style="color: rgb(51, 51, 255);"&gt;logical corruption (soft corrupt)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Physical corruption&lt;/span&gt; can be caused by defected memory boards, controllers or broken sectors on a hard disk;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Logical corrution &lt;/span&gt;can amoung other reasons be caused by an attempt to recover through a NOLOGGING action.&lt;br /&gt;There are two initialization parameters for dealing with block corruption:&lt;br /&gt;- &lt;span style="color: rgb(51, 51, 255);"&gt;DB_BOCK_CHECKSUM&lt;/span&gt; (calculates a checksum for each block before it is written to disk, every time)&lt;br /&gt;causes 1-2% performance overhead&lt;br /&gt;- &lt;span style="color: rgb(51, 51, 255);"&gt;DB_BLOCK_CHECKING&lt;/span&gt; (serverprocess checks block for internal consistency after every DML)&lt;br /&gt;causes 1-10% performance overhead&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;If performance is not a big issue then you should use these!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Normally RMAN checks only for physically corrupt blocks&lt;br /&gt;with every backup it takes and every image copy it makes.&lt;br /&gt;This is a common misunderstanding amoung a lot of DBAs.&lt;br /&gt;RMAN doesn not automatically detect logical corruption by default!&lt;br /&gt;We have to tell it to do so by using&lt;/span&gt; &lt;span style="color: rgb(51, 51, 255);"&gt;CHECK LOGICAL&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;!&lt;/span&gt;&lt;br /&gt;The info about corruptions can be found in the following views:&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;SYS @ orcl AS SYSDBA SQL &gt; select * from v$backup_corruption;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-style: italic;"&gt;RECID STAMP SET_STAMP SET_COUNT PIECE# FILE# BLOCK#&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;---------- ---------- ---------- ---------- ---------- ---------- ----------&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;BLOCKS CORRUPTION_CHANGE# MAR CORRUPTIO&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;---------- ------------------ --- ---------&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;1 586945441 586945402 3 1 5 81&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;4 0 YES CORRUPT&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;-- SYS @ orcl AS SYSDBA SQL &gt; select * from v$copy_corruption;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Here is a case study:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;HR @ orcl SQL &gt; select last_name, salary&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;2 from employees;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;ERROR at line 2:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;ORA-01578: ORACLE data block corrupted (file # 5, block # 83)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;# this could be an ORA-26040 in Oracle 8i! and before&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;ORA-01110: data file 5: '/u01/app/oracle/oradata/orcl/&lt;br /&gt;example01.dbf'&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 0);"&gt;&lt;br /&gt;This is what you find in the alert_.log:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-style: italic;"&gt;Wed Apr 5 08:17:40 2006&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Hex dump of (file 5, block 83) in trace file&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;/u01/app/oracle/admin/orcl/udump/orcl_ora_14669.trc&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Corrupt block relative dba: 0x01400053 (file 5, block 83)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Bad header found during buffer read&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Data in bad block:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;type: 67 format: 7 rdba: 0x0a545055&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;last change scn: 0x0000.0006d162 seq: 0x1 flg: 0x04&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;spare1: 0x52 spare2: 0x52 spare3: 0x0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;consistency value in tail: 0xd1622301&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;check value in block header: 0x63be&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;computed block checksum: 0xe420&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Reread of rdba: 0x01400053 (file 5, block 83)&lt;br /&gt;found same corrupted data&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Wed Apr 5 08:17:41 2006&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Corrupt Block Found&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;TSN = 6, TSNAME = EXAMPLE&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;RFN = 5, BLK = 83, RDBA = 20971603&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;OBJN = 51857, OBJD = 51255, OBJECT = , SUBOBJECT =&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;SEGMENT OWNER = , SEGMENT TYPE =&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;&lt;br /&gt;Starting with Oracle 9i we can use RMAN&lt;br /&gt;to check a database for both physically and logically corrupt blocks.&lt;/span&gt;&lt;br /&gt;Here is the syntax:&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;RMAN&gt; backup validate check logical database;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;font-size:85%;" &gt;Starting backup at 05-04-2006:08:23:20&lt;br /&gt;allocated channel: ORA_DISK_1&lt;br /&gt;channel ORA_DISK_1: sid=136 devtype=DISK&lt;br /&gt;channel ORA_DISK_1: starting full datafile backupset&lt;br /&gt;channel ORA_DISK_1: specifying datafile(s) in backupset&lt;br /&gt;input datafile fno=00001 name=/u01/app/oracle/oradata/orcl/&lt;br /&gt;system01.dbf&lt;br /&gt;input datafile fno=00003 name=/u01/app/oracle/oradata/orcl/&lt;br /&gt;sysaux01.dbf&lt;br /&gt;input datafile fno=00005 name=/u01/app/oracle/oradata/orcl/&lt;br /&gt;example01.dbf&lt;br /&gt;input datafile fno=00002 name=/u01/app/oracle/oradata/orcl/&lt;br /&gt;undotbs01.dbf&lt;br /&gt;input datafile fno=00004 name=/u01/app/oracle/oradata/orcl/&lt;br /&gt;users01.dbf&lt;br /&gt;channel ORA_DISK_1: backup set complete, elapsed time: 00:00:45&lt;br /&gt;channel ORA_DISK_1: starting full datafile backupset&lt;br /&gt;channel ORA_DISK_1: specifying datafile(s) in backupset&lt;br /&gt;including current control file in backupset&lt;br /&gt;including current SPFILE in backupset&lt;br /&gt;channel ORA_DISK_1: backup set complete, elapsed time: 00:00:03&lt;br /&gt;channel ORA_DISK_1: starting full datafile backupset&lt;br /&gt;channel ORA_DISK_1: specifying datafile(s) in backupset&lt;br /&gt;including current control file in backupset&lt;br /&gt;including current SPFILE in backupset&lt;br /&gt;channel ORA_DISK_1: backup set complete, elapsed time: 00:00:03&lt;br /&gt;Finished backup at 05-04-2006:08:24:10&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;&lt;br /&gt;RMAN does not physically backup the database with this command&lt;br /&gt;but it reads all blocks and checks for corruptions.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;If it finds corrupted blocks it will place the information about the corruption into a view:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;SYS @ orcl AS SYSDBA SQL &gt; select * from v$database_block_corruption;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;font-size:85%;" &gt;FILE# BLOCK# BLOCKS CORRUPTION_CHANGE# CORRUPTIO&lt;br /&gt;---------- ---------- ---------- ------------------ ---------&lt;br /&gt;5 81 4 0 CORRUPT&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 0);"&gt;this is what we find in the alert_.log:&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Corrupt block relative dba: 0x014000b1 (file 5, block 177)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Bad header found during backing up datafile&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Data in bad block:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;type: 67 format: 7 rdba: 0x0a545055&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;last change scn: 0x0000.0007bc77 seq: 0x3 flg: 0x04&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;spare1: 0x52 spare2: 0x52 spare3: 0x0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;consistency value in tail: 0xbc772003&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;check value in block header: 0xb32&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;computed block checksum: 0xe4c1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Reread of blocknum=177, file=/u01/app/oracle/oradata/orcl/&lt;br /&gt;example01.dbf.&lt;br /&gt;found same corrupt data&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Now we can tell RMAN to recover all the blocks&lt;br /&gt;which it has found as being corrupt:&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;RMAN&gt; blockrecover corruption list;&lt;br /&gt;# (all blocks from v$database_block_corruption)&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;Starting blockrecover at 05-04-2006:10:09:15&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;using channel ORA_DISK_1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;channel ORA_DISK_1: restoring block(s) from datafile copy /u01/app/&lt;br /&gt;oracle/flash_recovery_area/ORCL/datafile/o1_mf_example_236tmb1c_.dbf&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;starting media recovery&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;archive log thread 1 sequence 2 is already on disk as file /u01/app/oracle/&lt;br /&gt;flash_recovery_area/ORCL/archivelog/2006_04_05/o1_mf_1_2_236wxbsp_.arc&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;archive log thread 1 sequence 1 is already on disk as file&lt;br /&gt;/u01/app/oracle/oradata/&lt;br /&gt;orcl/redo01.log&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;media recovery complete, elapsed time: 00:00:01&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;Finished blockrecover at 05-04-2006:10:09:24&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 0);"&gt;this is in the alert_.log:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;Starting block media recovery&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Wed Apr 5 10:09:22 2006&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Media Recovery Log /u01/app/oracle/flash_recovery_area/ORCL/&lt;br /&gt;archivelog/2006_04_05/o1_mf_1_2_%u_.arc&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Wed Apr 5 10:09:23 2006&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Media Recovery Log /u01/app/oracle/flash_recovery_area/ORCL/&lt;br /&gt;archivelog/2006_04_05/o1_mf_1_2_236wxbsp_.arc ( restored)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Wed Apr 5 10:09:23 2006&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Recovery of Online Redo Log: Thread 1 Group 1 Seq 1 Reading mem 0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Mem# 0 errs 0: /u01/app/oracle/oradata/orcl/redo01.log&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;Wed Apr 5 10:09:23 2006&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);"&gt;Completed block media recovery&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I recommend you to check your database for corrupt blocks&lt;br /&gt;with RMAN on a regular basis, proactively.&lt;br /&gt;If you do so you RMAN finds out about block corruptions&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;before&lt;/span&gt; your application runs into an ORA-01578 and&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;before&lt;/span&gt; you find out that you have backed up the corrupt blocks again and again.&lt;br /&gt;&lt;br /&gt;There have been incidents when DBAs found out&lt;br /&gt;that they did not have a backup with the un-corruted block any more,&lt;br /&gt;because you have deleted the last one with a not corrupted version.&lt;br /&gt;They could not recover the block any more!&lt;br /&gt;&lt;br /&gt;For more detailed info about recovering corrupt blocks&lt;br /&gt;(without and with RMAN, releases 7-10g)&lt;br /&gt;pls see metalink also:&lt;br /&gt;Subject: Handling Oracle Block Corruptions in Oracle7/8/8i/9i/10g&lt;br /&gt;Doc ID: Note:28814.1 Type: BULLETIN&lt;br /&gt;Last Revision Date: 26-MAR-2006 Status: PUBLISHED&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-114422832875298777?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/114422832875298777/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=114422832875298777&amp;isPopup=true' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/114422832875298777'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/114422832875298777'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/04/how-to-check-for-and-repair-block.html' title='How to check for and repair block corruption with RMAN in Oracle 9i and Oracle 10g'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-114421433759252381</id><published>2006-04-05T07:09:00.000+02:00</published><updated>2006-04-06T06:53:19.486+02:00</updated><title type='text'>DROP DATABASE INCLUDING BACKUPS with RMAN in Oracle 10g Release 2</title><content type='html'>"In the old times" it could be a problem to get rid of all the Backup information in the RMAN CATALOG after you had deleted a database with dbca for instance.&lt;br /&gt;You had to manually remove all the records from the catalog.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Starting with Oracle 10gR1 we can now use RMAN to drop a database and remove all its records from the RMAN CATALOG.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;Here is a demo how it works:&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;$ rman target / catalog rman_user/oracle@hugo&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;RMAN&gt; startup mount&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;RMAN&gt; drop database including backups;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;database name is "ORCL" and DBID is 1114494726&lt;br /&gt;RMAN-00571: ===========================================================&lt;br /&gt;RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============&lt;br /&gt;RMAN-00571: ===========================================================&lt;br /&gt;RMAN-03002: failure of drop db &amp; bck command at 04/05/2006 07:00:59&lt;br /&gt;RMAN-06941: Database must be closed and mounted EXCLUSIVE and RESTRICTED.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;RMAN&gt; sql 'alter system enable restricted session';&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;RMAN&gt; drop database including backups;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;database name is "ORCL" and DBID is 1114494726&lt;br /&gt;Do you really want to drop all backups and the database (enter YES or NO)? yes&lt;br /&gt;allocated channel: ORA_DISK_1&lt;br /&gt;channel ORA_DISK_1: sid=157 devtype=DISK&lt;br /&gt;allocated channel: ORA_DISK_2&lt;br /&gt;channel ORA_DISK_2: sid=154 devtype=DISK&lt;br /&gt;allocated channel: ORA_DISK_3&lt;br /&gt;channel ORA_DISK_3: sid=153 devtype=DISK&lt;br /&gt;&lt;br /&gt;List of Backup Pieces&lt;br /&gt;BP Key  BS Key  Pc# Cp# Status      Device Type Piece Name&lt;br /&gt;------- ------- --- --- ----------- ----------- ----------&lt;br /&gt;1402 1399 1 1 AVAILABLE DISK /u01/app/oracle/oradata/orcl/autobackup/&lt;br /&gt;2006_04_04/o1_mf_s_586867060_234d2o9y_.bkp&lt;br /&gt;1872 1858 1 1 AVAILABLE DISK /u01/app/oracle/oradata/orcl/backupset&lt;br /&gt;/2006_04_04/o1_mf_nnndf_TAG20060404T150910_234vzrj9_.bkp&lt;br /&gt;1873 1859 1 1 AVAILABLE DISK /u01/app/oracle/oradata/orcl/backupset/&lt;br /&gt;2006_04_04/o1_mf_nnndf_TAG20060404T150910_234vzs0w_.bkp&lt;br /&gt;1874 1860 1 1 AVAILABLE DISK /u01/app/oracle/oradata/orcl/backupset/&lt;br /&gt;2006_04_04/o1_mf_nnndf_TAG20060404T150910_234vzrpt_.bkp&lt;br /&gt;1875 1865 1 1 AVAILABLE DISK /u01/app/oracle/oradata/orcl/autobackup/&lt;br /&gt;2006_04_04/o1_mf_s_586886037_234ymxfc_.bkp&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;deleted backup piece&lt;/span&gt;&lt;br /&gt;backup piece handle=/u01/app/oracle/oradata/autobackup/&lt;br /&gt;2006_04_04/o1_mf_s_586867060_234d2o9y_.bkp recid=38 stamp=586867060&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;deleted backup piece&lt;/span&gt;&lt;br /&gt;backup piece handle=/u01/app/oracle/oradata/orcl/backupset/&lt;br /&gt;2006_04_04/o1_mf_nnndf_TAG20060404T150910_234vzrj9_.bkp recid=48 stamp=586883352&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;deleted backup piece&lt;/span&gt;&lt;br /&gt;backup piece handle=/u01/app/oracle/oradata/orcl/backupset/&lt;br /&gt;2006_04_04/o1_mf_nnndf_TAG20060404T150910_234vzs0w_.bkp recid=49 stamp=586883352&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;deleted backup piece&lt;/span&gt;&lt;br /&gt;backup piece handle=/u01/app/oracle/oradata/orcl/backupset/&lt;br /&gt;2006_04_04/o1_mf_nnndf_TAG20060404T150910_234vzrpt_.bkp recid=50 stamp=586883352&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;deleted backup piece&lt;/span&gt;&lt;br /&gt;backup piece handle=/u01/app/oracle/oradata/orcl/autobackup/&lt;br /&gt;2006_04_04/o1_mf_s_586886037_234ymxfc_.bkp recid=55 stamp=586886044&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;deleted backup piece&lt;/span&gt;&lt;br /&gt;backup piece handle=/u01/app/oracle/oradata/orcl/backupset/&lt;br /&gt;2006_04_04/o1_mf_nnndf_TAG20060404T150910_234vzrpt_.bkp recid=50 stamp=586883352&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;deleted backup piece&lt;/span&gt;&lt;br /&gt;backup piece handle=/u01/app/oracle/oradata/orcl/autobackup/&lt;br /&gt;2006_04_04/o1_mf_s_586886037_234ymxfc_.bkp recid=55 stamp=586886044&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;Deleted 5 objects&lt;/span&gt;&lt;br /&gt;...&lt;br /&gt;released channel: ORA_DISK_1&lt;br /&gt;released channel: ORA_DISK_2&lt;br /&gt;released channel: ORA_DISK_3&lt;br /&gt;allocated channel: ORA_DISK_1&lt;br /&gt;channel ORA_DISK_1: sid=157 devtype=DISK&lt;br /&gt;allocated channel: ORA_DISK_2&lt;br /&gt;channel ORA_DISK_2: sid=154 devtype=DISK&lt;br /&gt;allocated channel: ORA_DISK_3&lt;br /&gt;channel ORA_DISK_3: sid=153 devtype=DISK&lt;br /&gt;&lt;br /&gt;List of Datafile Copies&lt;br /&gt;Key     File S Completion Time     Ckp SCN    Ckp Time            Name&lt;br /&gt;------- ---- - ------------------- ---------- ------------------- ----&lt;br /&gt;1228    5    A 04-04-2006:10:34:35 950407     04-04-2006:10:32:56&lt;br /&gt;/u01/app/oracle/oradata/orcl/example01.dbf&lt;br /&gt;&lt;br /&gt;List of Archived Log Copies&lt;br /&gt;Key     Thrd Seq     S Low Time            Name&lt;br /&gt;------- ---- ------- - ------------------- ----&lt;br /&gt;1557 1 6 A 04-04-2006:11:02:00 /u01/app/oracle/oradata/orcl/archivelog/&lt;br /&gt;2006_04_04/o1_mf_1_6_234gj4c1_.arc&lt;br /&gt;1558 1 7 A 04-04-2006:11:19:00 /u01/app/oracle/oradata/orcl/archivelog/&lt;br /&gt;2006_04_04/o1_mf_1_7_234gs7rf_.arc&lt;br /&gt;1559 1 8 A 04-04-2006:11:23:51 /u01/app/oracle/oradata/orcl/archivelog/&lt;br /&gt;2006_04_04/o1_mf_1_8_234hdf3t_.arc&lt;br /&gt;1560 1 1 A 04-04-2006:11:34:05 /u01/app/oracle/oradata/orcl/archivelog/&lt;br /&gt;2006_04_04/o1_mf_1_1_234hpx9w_.arc&lt;br /&gt;1561 1 2 A 04-04-2006:11:39:40 /u01/app/oracle/oradata/orcl/archivelog/&lt;br /&gt;2006_04_04/o1_mf_1_2_234hqjto_.arc&lt;br /&gt;...&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;deleted archive log&lt;/span&gt;&lt;br /&gt;archive log filename=/u01/app/oracle/oradata/orcl/archivelog/&lt;br /&gt;2006_04_04/o1_mf_1_6_234gj4c1_.arc recid=46 stamp=586869540&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;deleted archive log&lt;/span&gt;&lt;br /&gt;archive log filename=/u01/app/oracle/oradata/orcl/archivelog/&lt;br /&gt;2006_04_04/o1_mf_1_7_234gs7rf_.arc recid=47 stamp=586869831&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;deleted archive log&lt;/span&gt;&lt;br /&gt;archive log filename=/u01/app/oracle/oradata/orcl/archivelog/&lt;br /&gt;2006_04_04/o1_mf_1_8_234hdf3t_.arc recid=48 stamp=586870445&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;deleted archive log&lt;/span&gt;&lt;br /&gt;...&lt;br /&gt;datafile copy filename=/u01/app/oracle/oradata/orcl/example01.dbf&lt;br /&gt;recid=11 stamp=586866875&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;Deleted 1 objects&lt;/span&gt;&lt;br /&gt;...&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;database name is "ORCL" and DBID is 1114494726&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;database dropped&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;database name is "ORCL" and DBID is 1114494726&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;database unregistered from the recovery catalog&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;RMAN&gt; exit&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/Screenshot.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/200/Screenshot.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;Rman will not delete the entry in the /etc/oratab, so we have to do this either by editing /etc/oratab or by using dbca to delete the service&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;For further information pls also see Metalink Note: 251412.1&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-114421433759252381?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/114421433759252381/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=114421433759252381&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/114421433759252381'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/114421433759252381'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/04/drop-database-including-backups-with.html' title='DROP DATABASE INCLUDING BACKUPS with RMAN in Oracle 10g Release 2'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-114370989221219445</id><published>2006-03-30T11:08:00.000+02:00</published><updated>2006-12-15T19:33:27.946+01:00</updated><title type='text'>How to calculate the minimum size of the SHARED POOL in ORACLE 10g</title><content type='html'>&lt;span style="color: rgb(51, 51, 255);font-size:78%;" &gt;(This is my  article which will be published in the upcoming SOUG Newsletter (April 2006))&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This article deals with the &lt;span style="color: rgb(255, 0, 0);"&gt;changes of the implementation of the Shared Pool&lt;/span&gt; and what you should take into consideration when upgrading instances to Oracle 10g.&lt;br /&gt;&lt;br /&gt;In prior releases of Oracle the value of the SHARED_POOL_SIZE parameter did not represent the total amount of memory allocated by the shared pool at startup. It just represented the largest part of the shared pool memory.&lt;br /&gt;&lt;br /&gt;Starting with Oracle Database 10g Rel. 1, if you are not using &lt;span style="color: rgb(51, 51, 255);"&gt;Automatic Shared Memory Management (ASMM)&lt;/span&gt;, the value specified at startup time for SHARED_POOL_SIZE does represent the total memory allocated by the shared pool.&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Now the shared pool memory calculated at startup time is exactly the same as the value of SHARED_POOL_SIZE after rounding by the granule size (add 1 byte to 80mb, and you’ll find that we allocate 84, 88, or 96mb – depending on platform.) &lt;span style="color: rgb(0, 0, 0);font-size:78%;" &gt;Thank you T.K. for pointing this out to me!&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;In former releases the total allocated shared pool memory was calculated by the value of SHARED_POOL_SIZE plus a certain additional overhead allocated at startup time, let’s call this the&lt;/span&gt; &lt;span style="color: rgb(51, 51, 255);"&gt;Internal SGA (ISGA)&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;So before Oracle 10g the &lt;span style="color: rgb(51, 51, 255);"&gt;TOTAL SGA &lt;/span&gt;was:&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;FIXED_SGA + LARGE_POOL_SIZE + JAVA_POOL_SIZE + LOG_BUFFER + DB_CACHE_SIZE +SHARED_POOL_SIZE+OVERHEAD (ISGA).&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;You could see the difference between the parameter value of SHARED_POOL_SIZE and the real memory allocated by the shared pool with the following query:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;SYS@ora9iR2&gt; SHOW PARAMETER SHARED_POOL_SIZE&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;NAME         TYPE         VALUE&lt;br /&gt;---------------------     -------------              ------------&lt;br /&gt;Shared_pool_size    big integer  83886080&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;SYS@ora9iR2&gt; SELECT SUM(BYTES)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;FROM v$sgastat&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;WHERE pool =’shared pool’;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;SUM(BYTES)&lt;br /&gt;------------------&lt;br /&gt;100663296&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;This is a difference of exactly 16MB;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Since with Oracle 10g the ISGA overhead is included in the parameter, &lt;span style="color: rgb(255, 0, 0);"&gt;we must find a formula to calculate how much memory we really have available there for Library Cache and Rowcache.&lt;/span&gt;&lt;br /&gt;If we assume that the amount of overhead is still the same as it was in legacy releases the effective memory available after starting up would be, in our case, 16MB less in Oracle 10g than it was in Oracle 9i.&lt;br /&gt;&lt;br /&gt;You can query the value of the &lt;span style="color: rgb(51, 51, 255);"&gt;ISGA overhead in Oracle 10g&lt;/span&gt; from the view v$sgainfo;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;SYS@orcl10gR2&gt; SELECT NAME,              BYTES&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;              FROM v$sgainfo;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;NAME              BYTES&lt;br /&gt;----------        ----------&lt;br /&gt;Fixed SGA Size    1218992&lt;br /&gt;Redo Buffers      2973696&lt;br /&gt;Buffer Cache Size 180355072&lt;br /&gt;Shared Pool Size    92274688&lt;br /&gt;Large Pool Size   4194304&lt;br /&gt;Java Pool Size    4194304&lt;br /&gt;Streams Pool Size 0&lt;br /&gt;Granule Size      4194304&lt;br /&gt;Maximum SGA Size 285212672&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;Startup overhead in Shared Pool    37748736&lt;/span&gt;&lt;br /&gt;Free SGA Memory Available 0&lt;br /&gt;&lt;br /&gt;The &lt;span style="color: rgb(255, 0, 0);"&gt;upgrade utilities&lt;/span&gt; in 10g (&lt;span style="color: rgb(255, 153, 0);"&gt;$ORACLE_HOME/rdbms/admin/utlu101i.sql in 10gR1&lt;/span&gt; and &lt;span style="color: rgb(255, 102, 0);"&gt;$&lt;span style="color: rgb(255, 153, 0);"&gt;ORACLE_HOME/rdbms/admin/utlu102i.sql in 10gR2&lt;/span&gt;&lt;/span&gt; use the values of the pre-upgrade instance and take a number of other values into account in order to recommend a new minimum value for the post-upgrade instance, such as the values of SESSIONS and CPU_COUNT. Looking at the procedures these scripts execute we can find the formula for the calculation of the new values:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;(This is an excerpt from the utlu102i.sql script)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;-- On a large database, the minimum of 144M may not be enough for shared pool size,&lt;br /&gt;we have to factor in the number of CPU,&lt;br /&gt;the number of session,&lt;br /&gt;and some new added features.&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;&lt;span style="color: rgb(204, 0, 0);"&gt;So here is the formula: -- Recommended minimum share_pool_size = -- mp(sp_idx).minvalue -- + -- (Num_of_CPU * 2MB) + -- (Num_of_sessions * 17408) + -- (10% of the old shared_pool_size for overhead)…&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;If in 10g you startup an instance using Manual Shared Memory Management (MSMM) with a too small value for the SHARED POOL this will cause an:&lt;/span&gt;&lt;br /&gt;Error: ORA-00371  (ORA-371)&lt;br /&gt;Text:  not enough shared pool memory, should be at least %s bytes&lt;br /&gt;Cause: Init.ora parameter shared_pool_size is too small&lt;br /&gt;Action:      Increase the parameter value&lt;br /&gt;&lt;br /&gt;In releases prior to 10g the error messages for ORA-00371 would have looked slightly different:&lt;br /&gt;&lt;br /&gt;in Oracle 9i=&gt;&lt;br /&gt;Error: ORA-00371 (ORA-371)&lt;br /&gt;Text:  not enough shared pool memory&lt;br /&gt;Cause: Init.ora parameter shared_pool_size is too small&lt;br /&gt;Action:      Increase the parameter value  Oracle 8i and older =&gt;&lt;br /&gt;Error: ORA 371&lt;br /&gt;Text:  no free buffer handles available&lt;br /&gt;Cause: The value of the initialization parameter DB_HANDLES is too small.&lt;br /&gt;Action: Shut down the instance, increase the value of DB_HANDLES in the&lt;br /&gt;initialization parameter file, and then restart the instance.&lt;br /&gt;Under normal circumstances, let DB_HANDLES take its default value by omitting the parameter from the initialization parameter file.&lt;br /&gt;&lt;br /&gt;The &lt;span style="color: rgb(51, 51, 255);"&gt;Default Value for SHARED_POOL_SIZE in Oracle 10g&lt;/span&gt; with &lt;span style="color: rgb(51, 51, 255);"&gt;MSMM&lt;/span&gt; is platform specific:&lt;br /&gt;(32 MB for 32 bit platforms,&lt;br /&gt;64 MB for 64 bit platform) rounded up to next granule.&lt;br /&gt;&lt;br /&gt;With &lt;span style="color: rgb(51, 51, 255);"&gt;ASMM&lt;/span&gt; (SGA_TARGET &gt; 0) the default SHARED_POOL_SIZE value is 0 (Oracle adjusts the value internally) and the current size is stored in the parameter &lt;span style="color: rgb(51, 51, 255);"&gt;__SHARED_POOL_SIZE (double underscore!)&lt;/span&gt; in the spfile if you use any. And this value will be used for the next startup. This is another good reason to use an spfile instead of the ASCII pfile.&lt;br /&gt;&lt;br /&gt;If you use &lt;span style="color: rgb(51, 51, 255);"&gt;Automatic Storage Management (ASM)&lt;/span&gt; then additional structures must be added to the shared pool to store extent maps for storage management activities:&lt;br /&gt;You can calculate the amount of this additionally needed memory by computing aggregates of current database structures like datafiles, controlfiles, logfiles and tempfiles.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;SELECT  SUM(bytes) / (1024*1024*1024)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;      FROM v$datafile;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;SELECT  SUM(bytes) / (1024*1024*1024)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;FROM v$logfile a, v$log b&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;WHERE a.group#=b.group#;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;SELECT  SUM(bytes) / (1024*1024*1024)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;   FROM v$tempfile&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;  WHERE status='ONLINE';&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;These values would have to be added to the shared pool memory&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;as well as another portion which is depending on the redundancy level (number of mirrors) of the asm disk groups used by the instance:&lt;/span&gt;&lt;br /&gt;This would be:&lt;br /&gt;(1MB of additional shared pool for every 100GB of disk space)  + additionally 2MB for external redundancy (no mirroring),&lt;br /&gt;(1MB of additional shared pool for every 50GB of disk space)  + additionally 4MB for normal redundancy (two mirrors)&lt;br /&gt;and&lt;br /&gt;(1MB of additional shared pool for every 33GB of disk space)  + additionally 6MB for high redundancy (three mirrors)&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;All these considerations only have to be made for a migration to Oracle10g and only if you do not use Automatic Shared Memory Management.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;There is no such problem if you allow Oracle to auto tune the five dynamically tunable Caches in the SGA, which are:&lt;br /&gt;DB_CACHE_SIZE&lt;br /&gt;SHARED_POOL_SIZE&lt;br /&gt;JAVA_POOL_SIZE&lt;br /&gt;LARGE_POOL_SIZE&lt;br /&gt;STREAMS_POOL_SIZE (this is a new cache introduced with  Oracle 10gR1 and was made auto tunable in 10g Release 2)&lt;br /&gt;&lt;br /&gt;This new feature is not enabled by default and can be changed dynamically.&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-114370989221219445?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/114370989221219445/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=114370989221219445&amp;isPopup=true' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/114370989221219445'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/114370989221219445'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/03/how-to-calculate-minimum-size-of.html' title='How to calculate the minimum size of the SHARED POOL in ORACLE 10g'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-114369839216663355</id><published>2006-03-30T07:24:00.000+02:00</published><updated>2006-03-30T07:59:52.196+02:00</updated><title type='text'>SOUG yearly meeting 2006</title><content type='html'>I'm delivering a 9i DBA part I class in Bern this week.&lt;br /&gt;We skweaze the 5 day contents into 4 days,&lt;br /&gt;so that I could take part at the yerly meeting of the&lt;br /&gt;Swiss Oracle User Group on March 29th.2006 in Baden.&lt;br /&gt;It took place at the ABB.&lt;br /&gt;&lt;a href="http://photos1.blogger.com/blogger/5054/1910/1600/HPIM0680.jpg"&gt;&lt;/a&gt;&lt;a href="http://photos1.blogger.com/blogger/5054/1910/1600/HPIM0682.jpg"&gt;&lt;img style="FLOAT: left; MARGIN: 0px 10px 10px 0px; CURSOR: hand" alt="" src="http://photos1.blogger.com/blogger/5054/1910/200/HPIM0682.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;They have this impressing fountain at the ABB.&lt;br /&gt;I enjoyed to watch it very much.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;. &lt;a href="http://photos1.blogger.com/blogger/5054/1910/1600/HPIM0677.jpg"&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://photos1.blogger.com/blogger/5054/1910/1600/HPIM0677.0.jpg"&gt;&lt;img style="FLOAT: right; MARGIN: 0px 0px 10px 10px; CURSOR: hand" alt="" src="http://photos1.blogger.com/blogger/5054/1910/200/HPIM0677.0.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;I was surprised to meet so many people whome I know from my trainings. It was fun to meet again in such an event. Specially dinner with a guy from Latin America who had im pressed me in a programing class about a year ago withhis capability to transform questings into SQL-statements straight away without having to think a lot. He had given me a hard time then and I had to invent new chestings again and again in order to no let him get bored.&lt;br /&gt;It's a pitty, I forgot to take a picture of him.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://photos1.blogger.com/blogger/5054/1910/1600/HPIM0678.jpg"&gt;&lt;img style="FLOAT: left; MARGIN: 0px 10px 10px 0px; CURSOR: hand" alt="" src="http://photos1.blogger.com/blogger/5054/1910/200/HPIM0678.jpg" border="0" /&gt;&lt;/a&gt;There were a number of very interesting trainings delivered about real life projects like the first experiences with Grid Control in large enterprises as the UBS,...&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://photos1.blogger.com/blogger/5054/1910/1600/HPIM0687.jpg"&gt;&lt;img style="FLOAT: right; MARGIN: 0px 0px 10px 10px; CURSOR: hand" alt="" src="http://photos1.blogger.com/blogger/5054/1910/200/HPIM0687.jpg" border="0" /&gt;&lt;/a&gt;... the does and don'ts in an implementation of STREAMS&lt;br /&gt;&lt;br /&gt;...and topics like security, LDAP &amp; OID, DBMS_SCHEDULER...&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I delivered a 90 minute training about the New Backup Strategy with RMAN in Oracle 10g, see &lt;a href="http://luhartma.blogspot.com/2006/02/why-restore-before-recover.html"&gt;my previouse post &lt;/a&gt;&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-114369839216663355?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/114369839216663355/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=114369839216663355&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/114369839216663355'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/114369839216663355'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/03/soug-yearly-meeting-2006.html' title='SOUG yearly meeting 2006'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-114253421374045767</id><published>2006-03-16T18:58:00.000+01:00</published><updated>2006-03-16T21:56:25.076+01:00</updated><title type='text'>Oracle Education @ Oracle Day World Trade Center Zurich</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/HPIM0634.jpg"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/200/HPIM0634.jpg" alt="" border="0" /&gt;&lt;/a&gt;Today we had a great event in Switzerland&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/HPIM0631.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/200/HPIM0631.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Event: Oracle Day&lt;br /&gt;Date: March 16th. 2006&lt;br /&gt;Location: World Trade Center Zurich&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/HPIM0618.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/200/HPIM0618.jpg" alt="" border="0" /&gt;&lt;/a&gt;.. and of course ORACLE EDUCATION was present with staff&lt;br /&gt;and a presentation desk.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/HPIM0637.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/200/HPIM0637.jpg" alt="" border="0" /&gt;&lt;/a&gt;There were a lot of people who came to listen to&lt;br /&gt;a number of very interesting speaches and presentations&lt;br /&gt;about the latest Features and Trends of Oracle and Partners.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5054/1910/1600/HPIM0621.0.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://photos1.blogger.com/blogger/5054/1910/200/HPIM0621.0.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Many people were  interested in having a look at the lastest courseware of the NEW FEATURES Course for 10g Release2.&lt;br /&gt;We had an online-presentation about new features of RMAN and FLASHBACK.&lt;br /&gt;&lt;br /&gt;A number of bookings were ordered for our special events on&lt;br /&gt;May 11th./12th.=&gt; Jonathan Lewis lecturing on:&lt;br /&gt; INDEXING and TROUBLE SHOOTING&amp;TUNING and&lt;br /&gt;September 21st./22nd. =&gt;Tom Kyte with his best practice lectures.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;There are still a few rare seats available for Jonathan Lewis!&lt;/span&gt;&lt;br /&gt;(For details pls see &lt;a href="http://luhartma.blogspot.com/2006/01/oracle-education-special-events-this.html"&gt;here&lt;/a&gt;)&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-114253421374045767?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/114253421374045767/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=114253421374045767&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/114253421374045767'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/114253421374045767'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/03/oracle-education-oracle-day-world.html' title='Oracle Education @ Oracle Day World Trade Center Zurich'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-114197706220913652</id><published>2006-03-10T08:31:00.000+01:00</published><updated>2006-03-22T07:34:51.566+01:00</updated><title type='text'>Mark Soth has passed away</title><content type='html'>&lt;a href="http://photos1.blogger.com/blogger/5054/1910/1600/mark_soth.jpg"&gt;&lt;img style="margin: 0px 10px 10px 0px; float: left;" alt="" src="http://photos1.blogger.com/blogger/5054/1910/320/mark_soth.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;I have just received a message informing me that Mark Soth died a few days ago at the age of 37.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This makes me feel very sad and I am deeply shocked.&lt;br /&gt;A few weeks ago I have had a very intense week with Mark in my DBA-class in Zurich. He had applied for the position of an Oracle Instructor for Oracle´s training Partner Digicomp in Switzerland.&lt;br /&gt;We had made arrangements to prep for the OCM-exam this year together.&lt;br /&gt;I have got to know Mark as a very happy and joyfull person.&lt;br /&gt;He had a clear idea of what he wanted and was going to build his fortune with his own hands.&lt;br /&gt;He was trying to stand on his own two feet independantly with his just newly established own consulting company.&lt;br /&gt;&lt;br /&gt;I wish we had had more time to get friends.&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-114197706220913652?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/114197706220913652/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=114197706220913652&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/114197706220913652'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/114197706220913652'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/03/mark-soth-has-passed-away.html' title='Mark Soth has passed away'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-113986210664303291</id><published>2006-02-13T20:04:00.000+01:00</published><updated>2006-08-14T14:01:51.303+02:00</updated><title type='text'>Why restore before recover? The new Oracle 10g Backup Strategy</title><content type='html'>Delivering Oracle 10g R2 Administration Workshop II we had a closer look at the new recommended backup strategy for Oracle.&lt;br /&gt;&lt;br /&gt;With Oracle 10g R2 we can recover datafile copies like we recover the real datafiles.&lt;br /&gt;This gives us the oportunity to recover the entire database without having to restore it from backup first.&lt;br /&gt;Which of course saves very valuable time in case of a disaster.&lt;br /&gt;&lt;br /&gt;Here is how you could do it:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;- use a "flash recovery area" to store everything needed for recovering&lt;/span&gt;, such as:&lt;br /&gt;- an image copy of the entire database&lt;br /&gt;- one incremental backup of the database&lt;br /&gt;- the archived redo logs which have been created since the last incremental backup&lt;br /&gt;&lt;br /&gt;The flash recovery area is a location on disk which you specify by the parameter db_recovery_file_dest. It can be changed dynamically without having to restart.&lt;br /&gt;With the also dynamically changeable parameter db_recovery_file_dest_size you can limit the amount of disk space you want to use for this area.&lt;br /&gt;&lt;br /&gt;Once you use it rman will create backupserts and image copies of datafiles there by default.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;- create an image copy of the entire database&lt;/span&gt;:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 153, 0);"&gt;RMAN &gt; BACKUP INCREMENTAL LEVEL 1 FOR RECOVER OF COPY DATABASE;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This will first search for a parent image copy to recover. If there is none yet, it will create one.&lt;br /&gt;If there is an image copy of the database already, it will create an incremental level 1 backup.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;- after you have create the first incremental backup for your image copy you can update these image copies of the datafiles by applying the incremental backup to them&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 153, 0);"&gt;RMAN &gt; RECOVER COPY OF DATABASE;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This is what you do every night.&lt;br /&gt;Then you will have a copy of the database which is always&lt;br /&gt;at least at the level of last night.&lt;br /&gt;&lt;br /&gt;In case of a disaster you can now tell rman to just change the locations of the datafiles in the controlfile to the image copies by issuing the following:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;RMAN &gt; SWITCH DATABASE TO COPY;&lt;/span&gt;&lt;br /&gt;You can only do this in MOUNT.&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;- Now you are already where you were last night and you only have to recover what has changed since last incremental update without having to restore the database at first. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This is a very handy way to perform recovery.&lt;br /&gt;We were able to switch datafiles to copies before 10g already, but could not incrementally update them.&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-113986210664303291?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/113986210664303291/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=113986210664303291&amp;isPopup=true' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/113986210664303291'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/113986210664303291'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/02/why-restore-before-recover-new-oracle.html' title='Why restore before recover? The new Oracle 10g Backup Strategy'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-113834611900017712</id><published>2006-01-27T07:13:00.001+01:00</published><updated>2006-11-04T18:11:19.100+01:00</updated><title type='text'>RMAN does (not?) backup empty blocks | what is NULL COMPRESSION ? | what is BINARY COMPRTESSION ?| what is UNUSED BLOCK COMPRESSION ?</title><content type='html'>In my class this week I have pointed out an important point about RMAN which is commonly misunderstood by many DBAs:&lt;br /&gt;Some believe that RMAN does not backup empty blocks at all.&lt;br /&gt;Others believe that RMAN does not backup empty block above the HIGH WATER MARK.&lt;br /&gt;TRUE IS:&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;RMAN in ORACLE 9i and before does not backup empty blocks which have never been used!!!&lt;/span&gt;&lt;br /&gt;in other words: &lt;span style="color: rgb(255, 0, 0);"&gt;RMAN does not backup empty blocks above the high watermark which are not formated!!&lt;br /&gt;&lt;/span&gt;This is called &lt;span style="color: rgb(51, 102, 255);"&gt;NULL COMPRESSION&lt;span style="color: rgb(0, 0, 0);"&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;In Oracle 10g Release 2 RMAN does not backup unused blocks (empty blocks below the High watermark). &lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;This new feature is called &lt;span style="color: rgb(51, 51, 255);"&gt;UNUSED BLOCK COMPRESSION&lt;/span&gt;, &lt;a href="http://download-uk.oracle.com/docs/cd/B19306_01/backup.102/b14191/wnbradv.htm#sthref13"&gt;see online doku 10gr2&lt;/a&gt;:&lt;br /&gt;RMAN now creates more compact backups of datafiles, by skipping datafile blocks that are not currently used to store data. In previous releases, RMAN only supported NULL compression, which skipped space in datafiles that had never been allocated. No extra action is required on the part of the DBA to use this feature.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;AS of ORACLE 10g RMAN can even compress backupsets. &lt;span style="color: rgb(0, 0, 0);"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:helvetica;"&gt;&lt;span style="font-family:courier;"&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;Binary backupset compression&lt;/span&gt;), which can reduce the space needed for the backup to one fifth of size of an uncompressed backup.&lt;/span&gt;&lt;/span&gt; &lt;pre&gt;&lt;span style=";font-family:helvetica;font-size:85%;"  &gt;&lt;span style="font-family:courier;"&gt;RMAN&gt; configure device type disk backup&lt;br /&gt;type to &lt;span style="color: rgb(255, 0, 0);"&gt;compressed backupset&lt;/span&gt;;&lt;br /&gt;# make it the default!&lt;br /&gt;or&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=";font-family:helvetica;font-size:85%;"  &gt;&lt;span style="font-family:courier;"&gt;RMAN&gt; backup as &lt;span style="color: rgb(255, 0, 0);"&gt;compressed&lt;/span&gt; &lt;span style="color: rgb(255, 0, 0);"&gt;backupset &lt;/span&gt;database;&lt;br /&gt;-- only compress this single one &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;Here is my demo for NULL COMPRESSION from my class:&lt;br /&gt;1. I create a new tablespace with one datafile of size 10m.&lt;br /&gt;2. I backup the datafile with RMAN, =&gt; very small backupset!&lt;br /&gt;3. I create a table in this datafile and insert 1000000 rows.&lt;br /&gt;4. I take another backup with RMAN, =&gt; big backupset.&lt;br /&gt;5. I delete the rows and commit;&lt;br /&gt;6. I take another backup with RMAN, =&gt; still big backupset.&lt;br /&gt;7. I truncate the table, high watermark is down to first block in first extent!!&lt;br /&gt;8.  I take another backup with RMAN, =&gt; still big backupset.&lt;br /&gt;&lt;br /&gt;Here is the demo-code:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;sys@orcl9iR2 SQL&gt; &lt;span style="color: rgb(0, 0, 0); font-style: italic;"&gt;CREATE TABLESPACE&lt;/span&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt; lutz_test&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;  2  DATAFILE '/opt/oracle/oradata/orcl/lutz_test_01.dbf' &lt;span style="color: rgb(255, 102, 0);"&gt;SIZE 10m&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;sys@orcl9iR2 SQL&gt;&lt;span style="font-style: italic;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;SELECT file#&lt;br /&gt;2 FROM  v$datafile&lt;br /&gt;3 WHERE name = '/opt/oracle/oradata/orcl/lutz_test_01.dbf' ;&lt;/span&gt;&lt;br /&gt;FILE#&lt;br /&gt;----------&lt;br /&gt;9&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;sys@orcl9iR2 SQL&gt; &lt;/span&gt;&lt;span style="font-style: italic;"&gt;SELECT bytes, blocks, user_bytes, user_blocks&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;  2  FROM dba_data_files&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;  3  where FILE_ID=9;&lt;/span&gt;&lt;br /&gt;BYTES     BLOCKS USER_BYTES USER_BLOCKS&lt;br /&gt;---------- ---------- ---------- -----------&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;10485760&lt;/span&gt;       1280   &lt;span style="color: rgb(255, 102, 0);"&gt;10420224&lt;/span&gt;        1272&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;sys@orcl9iR2 SQL&gt;&lt;/span&gt; &lt;span style="font-style: italic;"&gt;SELECT (10485760-10420224)/1024 FROM dual;&lt;/span&gt;&lt;br /&gt;(10485760-10420224)/1024&lt;br /&gt;------------------------&lt;br /&gt;          64&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;#  64K contain extent bitmap for tablespace&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;[oracle@KR11-KL1 oracle]$&lt;/span&gt; rman target /&lt;br /&gt;Recovery Manager: Release 9.2.0.7.0 - Production&lt;br /&gt;Copyright (c) 1995, 2002, Oracle Corporation.  All rights reserved.&lt;br /&gt;connected to target database: ORCL (DBID=1108329042)&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;RMAN&gt;&lt;/span&gt;  &lt;span style="font-style: italic;"&gt;&lt;span style="font-weight: bold;"&gt; BACKUP DATAFILE 9&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;channel ORA_DISK_1: finished piece 1 at 27-JAN-06&lt;br /&gt;piece handle=/home/oracle/BACKUP/RMAN/0nh9sopv_1_1.rman comment=NONE&lt;br /&gt;channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01&lt;br /&gt;Finished backup at 27-JAN-06&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;[oracle@KR11-KL1 oracle]$&lt;/span&gt; ll /home/oracle/BACKUP/RMAN/0nh9sopv_1_1.rman&lt;br /&gt;-rw-r-----    1 oracle   oinstall    &lt;span style="color: rgb(255, 102, 0);"&gt;98304&lt;/span&gt; Jan 27 06:50 /home/oracle/BACKUP/RMAN/0nh9sopv_1_1.rman&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;sys@orcl9iR2 SQL&gt;&lt;/span&gt; &lt;span style="font-style: italic;"&gt;SELECT 98304/1024 FROM dual;&lt;/span&gt;&lt;br /&gt;98304/1024&lt;br /&gt;----------&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;96&lt;br /&gt;# size of backupset with empty datafile&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;sys@orcl9iR2 SQL&gt;&lt;/span&gt; ! &lt;span style="font-weight: bold;"&gt;ls -l&lt;/span&gt; /opt/oracle/oradata/orcl/lutz_test_01.dbf&lt;br /&gt;-rw-r-----    1 oracle   oinstall &lt;span style="color: rgb(255, 102, 0);"&gt;10493952 &lt;/span&gt;Jan 27 06:50 /opt/oracle/oradata/orcl/lutz_test_01.dbf&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;sys@orcl9iR2 SQL&gt;&lt;/span&gt;  &lt;span style="font-style: italic;"&gt;SELECT 10493952/1024 FROM dual;&lt;/span&gt;&lt;br /&gt;10493952/1024&lt;br /&gt;-------------&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;        10248&lt;/span&gt;  &lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;# size of empty datafile on disk&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;sys@orcl9iR2 SQL&gt;&lt;/span&gt;  &lt;span style="font-style: italic;"&gt;&lt;span style="font-weight: bold;"&gt;CREATE TABLE&lt;/span&gt; lutz_tab&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;  2   ( sp1 NUMBER) TABLESPACE lutz_test;      &lt;/span&gt;                      &lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;sys@orcl9iR2 SQL&gt;&lt;/span&gt; &lt;span style="font-style: italic;"&gt; BEGIN&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;  2  FOR i IN 1..1000000 LOOP&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;  3     &lt;span style="font-weight: bold;"&gt;INSERT INTO lutz_tab values(i)&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;  4   END LOOP;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;  5  END;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;  6  /                                         &lt;/span&gt;&lt;br /&gt;PL/SQL procedure successfully completed.                     &lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;sys@orcl9iR2 SQL&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt; COMMIT;&lt;/span&gt;&lt;br /&gt;Commit complete.                     &lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;RMAN&gt;&lt;/span&gt; &lt;span style="font-style: italic;"&gt;&lt;span style="font-weight: bold;"&gt;BACKUP DATAFILE 9&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;channel ORA_DISK_1: finished piece 1 at 27-JAN-06&lt;br /&gt;piece handle=/home/oracle/BACKUP/RMAN/0ph9spfo_1_1.rman comment=NONE&lt;br /&gt;channel ORA_DISK_1: backup set complete, elapsed time: 00:00:03&lt;br /&gt;Finished backup at 27-JAN-06                                        &lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;[oracle@KR11-KL1 oracle]$&lt;/span&gt; &lt;span style="font-weight: bold;"&gt;ls -l &lt;/span&gt;/home/oracle/BACKUP/RMAN/0ph9spfo_1_1.rman&lt;br /&gt;-rw-r-----    1 oracle   oinstall  &lt;span style="color: rgb(255, 102, 0);"&gt;9535488&lt;/span&gt; Jan 27 07:02 /home/oracle/BACKUP/RMAN/0ph9spfo_1_1.rman&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;sys@orcl9iR2 SQL&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt; SELECT 9535488/1024 FROM dual;&lt;/span&gt;&lt;br /&gt;9535488/1024&lt;br /&gt;------------&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;        9312&lt;/span&gt;     &lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;# size of backupset with  datafile after inserts&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;sys@orcl9iR2 SQL&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt; &lt;span style="font-weight: bold;"&gt;DELETE FOM lutz_tab;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;1000000 rows deleted.                                                     &lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;sys@orcl9iR2 SQL&gt;&lt;/span&gt; &lt;span style="font-weight: bold; font-style: italic;"&gt;COMMIT&lt;/span&gt;;&lt;br /&gt;Commit complete.                                                     &lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;RMAN&gt;&lt;/span&gt; &lt;span style="font-style: italic;"&gt;&lt;span style="font-weight: bold;"&gt; BACKUP DATAFILE 9&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;channel ORA_DISK_1: finished piece 1 at 27-JAN-06&lt;br /&gt;piece handle=/home/oracle/BACKUP/RMAN/0rh9spll_1_1.rman comment=NONE&lt;br /&gt;channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01&lt;br /&gt;Finished backup at 27-JAN-06                                        &lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;[oracle@KR11-KL1 oracle]$&lt;/span&gt; &lt;span style="font-weight: bold;"&gt;ls -l&lt;/span&gt; /home/oracle/BACKUP/RMAN/0rh9spll_1_1.rman&lt;br /&gt;-rw-r-----    1 oracle   oinstall  &lt;span style="color: rgb(255, 102, 0);"&gt;9535488&lt;/span&gt; Jan 27 07:05 /home/oracle/BACKUP/RMAN/0rh9spll_1_1.rman&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;# size of backupset with  datafile AFTER DELETING all rows&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;sys@orcl9iR2 SQL&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt; &lt;span style="font-weight: bold;"&gt;TRUNCATE TABLE lutz_tab&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;Table truncated.&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;RMAN&gt;&lt;/span&gt; &lt;span style="font-style: italic; font-weight: bold;"&gt; BACKUP DATAFILE 9;&lt;/span&gt;&lt;br /&gt;channel ORA_DISK_1: finished piece 1 at 27-JAN-06&lt;br /&gt;piece handle=/home/oracle/BACKUP/RMAN/0th9spok_1_1.rman comment=NONE&lt;br /&gt;channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01&lt;br /&gt;Finished backup at 27-JAN-06                                        &lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;[oracle@KR11-KL1 oracle]$&lt;/span&gt; &lt;span style="font-weight: bold; font-style: italic;"&gt;ls -l&lt;/span&gt; /home/oracle/BACKUP/RMAN/0th9spok_1_1.rman&lt;br /&gt;-rw-r-----    1 oracle   oinstall&lt;span style="color: rgb(255, 0, 0);"&gt;  9535488&lt;/span&gt; Jan 27 07:07 /home/oracle/BACKUP/RMAN/0th9spok_1_1.rman&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;# size of backupset with  datafile AFTER TRUNCATING&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;!!! empty formatted blocks backed up!!!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;Related Metalink Notes:&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;Note: 247705.1 RMAN BACKUP COMPRESSION&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;Note: 255973.1 &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-family:helvetica;" &gt;Oracle10g Recovery Manager - Backup Compression Methods&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;connect lutz hartmann as sysdba&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19379357-113834611900017712?l=luhartma.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://luhartma.blogspot.com/feeds/113834611900017712/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19379357&amp;postID=113834611900017712&amp;isPopup=true' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/113834611900017712'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19379357/posts/default/113834611900017712'/><link rel='alternate' type='text/html' href='http://luhartma.blogspot.com/2006/01/rman-does-not-backup-empty-blocks-what_27.html' title='RMAN does (not?) backup empty blocks | what is NULL COMPRESSION ? | what is BINARY COMPRTESSION ?| what is UNUSED BLOCK COMPRESSION ?'/><author><name>lutz_hartmann</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://photos1.blogger.com/blogger/5054/1910/320/lutz_xpert.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19379357.post-113801387793451836</id><published>2006-01-23T11:17:00.000+01:00</published><updated>2006-08-08T17:06:24.463+02:00</updated><title type='text'>Flashba
