<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:gd='http://schemas.google.com/g/2005' xmlns:georss='http://www.georss.org/georss' xmlns:thr='http://purl.org/syndication/thread/1.0' xmlns:blogger='http://schemas.google.com/blogger/2008' version='2.0'><channel><atom:id>tag:blogger.com,1999:blog-4677316190423110840</atom:id><lastBuildDate>Sat, 16 Jan 2016 06:55:37 +0000</lastBuildDate><category>other</category><category>plsql</category><category>exadata</category><category>photos</category><category>sql plus</category><category>flashback</category><category>firebird</category><category>picasa</category><category>ctx</category><category>front-end</category><category>oow2008</category><category>drcp</category><category>error</category><category>blog</category><category>microsoft</category><category>rman</category><category>google</category><category>bug</category><category>sql developer</category><category>efficiency</category><category>oracle</category><category>log buffer</category><category>about</category><category>search</category><category>mail</category><category>links</category><category>piracy</category><category>php</category><category>fun</category><category>xml</category><category>programming</category><category>vss</category><category>security</category><category>linux</category><category>11g</category><category>hp</category><category>patch</category><category>ora_rowscn</category><category>book</category><category>spam</category><category>beehive</category><category>strings</category><category>backup</category><category>pdf</category><category>maps</category><category>storage</category><category>dba</category><category>software</category><category>excel</category><title>Software Engineer Thoughts</title><description>My thoughts about developing software. Problems descriptions and solutions, tips, tricks, links to useful resources. Mostly on Oracle, but also PHP, Delphi and other languages &amp; tools.</description><link>http://pbarut.blogspot.com/</link><managingEditor>noreply@blogger.com (Paweł Barut)</managingEditor><generator>Blogger</generator><openSearch:totalResults>105</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4677316190423110840.post-3549721679378034128</guid><pubDate>Mon, 20 Apr 2009 20:36:00 +0000</pubDate><atom:updated>2009-04-20T22:39:28.592+02:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>oracle</category><title>What a news! Oracle Buys Sun !</title><description>&lt;i id="xpff"&gt;Written by &lt;/i&gt;&lt;a title="Paweł Barut" href="http://pbarut.blogspot.com/" id="f.1t"&gt;&lt;i id="l4mv"&gt;Paweł Barut&lt;/i&gt;&lt;/a&gt;&lt;br id="qt6l"&gt;
What a news: &lt;a title="Oracle Buys Sun" href="http://www.oracle.com/us/corporate/press/018363" id="znd:"&gt;Oracle Buys Sun&lt;/a&gt; !! I'm not the first one that blogs about it, but anyway let me express my comments. What does it mean for IT:&lt;br&gt;
1. Oracle software will be installed on almost every PC; Sun Java might be renamed to Oracle Java. It will give wider recognition for Oracle trademark also to people that are not so much engaged with IT Industry.&lt;br&gt;
2. Oracle becomes hardware producer. Well, you might know already HP-Oracle Database Machine (Exadata), but this was joint-venture. Now Oracle will produce hardware and software that runs on it. If everything goes right next "Database Machine" will be fully "Oracle".&lt;br&gt;
3. Sun Solaris is #1 platform for running Oracle, and the second one is Linux. This could mean that rate for Linux implementation in enterprises will be lower, as many companies would choose OS and DB from one vendor. I know that Oracle is also offering Linux, but Oracle sales will be promoting Solaris, as this deals will be better for Oracle.&lt;br&gt;
4. Oracle now owns 2, ehh, 3 databases: Oracle, Berkley XML DB and now MySQL. I could mean that MySQL will get even bettor, or rather it will mean that Oracle will offer MySQL customer to migrate to Oracle. So far Oracle does not have good record for supporting free editions of Databases. We will see...&lt;br&gt;
5. With Oracle-Sun merge, Oracle will be shipping now full stack: hardware,OS, Database, Midlleware, ERM, CRM and many others. Oracle is becoming giant now...&lt;br&gt;
&lt;br&gt;
Read also what others have to say:&lt;br&gt;
&lt;ul&gt;&lt;li&gt;Mark Rittman - &lt;a title="Oracle Buys Sun - What Does It Mean for Oracle BI&amp;amp;DW?" href="http://www.rittmanmead.com/2009/04/20/oracle-buys-sun-what-does-it-mean-for-oracle-bidw/" id="o_w6"&gt;Oracle Buys Sun - What Does It Mean for Oracle BI&amp;amp;DW?&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;Pythian - &lt;a title="Oracle Buys Sun" href="http://www.pythian.com/news/2080/oracle-buys-sun" id="v:79"&gt;Oracle Buys Sun&lt;/a&gt; &lt;br&gt;
&lt;/li&gt;
&lt;li&gt;Marco Gralike - &lt;a title="Oracle to buy Sun, Ehh MySQL, Ehh Glashfish…" href="http://www.liberidu.com/blog/?p=998" id="csc:"&gt;Oracle to buy Sun, Ehh MySQL, Ehh Glashfish…&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;Tanel Poder - &lt;a title="Oracle buys Sun - hooray!" href="http://blog.tanelpoder.com/2009/04/20/oracle-buys-sun-hooray/" id="fzoh"&gt;Oracle buys Sun - hooray!&lt;/a&gt; &lt;br&gt;
&lt;/li&gt;
&lt;li&gt;Tim Hall - &lt;a title="Oracle Buy Sun Microsystems…" href="http://www.oracle-base.com/blog/2009/04/20/oracle-buy-sun-microsystems/" id="ibt9"&gt;Oracle Buy Sun Microsystems…&lt;/a&gt; &lt;br&gt;
&lt;/li&gt;
&lt;li&gt;Kevin Closson - &lt;a title="Everyone Else is Doing It!" href="http://kevinclosson.wordpress.com/2009/04/20/everyone-else-is-doing-it/" id="z0og"&gt;Everyone Else is Doing It!&lt;/a&gt; &lt;br&gt;
&lt;/li&gt;
&lt;li&gt;Jaffar - &lt;a title="Oracle to acquire SUN?" href="http://jaffardba.blogspot.com/2009/04/oracle-acquire-sun.html" id="eqx_"&gt;Oracle to acquire SUN?&lt;/a&gt; &lt;/li&gt;&lt;/ul&gt;
&lt;br&gt;
Keep reading,&lt;br id="oe53"&gt;
Paweł</description><link>http://pbarut.blogspot.com/2009/04/what-news-oracle-buys-sun.html</link><author>noreply@blogger.com (Paweł Barut)</author><thr:total>3</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4677316190423110840.post-1761009546289933004</guid><pubDate>Mon, 06 Apr 2009 09:59:00 +0000</pubDate><atom:updated>2009-04-06T12:01:11.376+02:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>11g</category><category domain='http://www.blogger.com/atom/ns#'>programming</category><category domain='http://www.blogger.com/atom/ns#'>plsql</category><category domain='http://www.blogger.com/atom/ns#'>bug</category><category domain='http://www.blogger.com/atom/ns#'>oracle</category><title>Caution: FOR loop and CONTINUE in Oracle 11g</title><description>&lt;i id="xpff"&gt;Written by &lt;/i&gt;&lt;a title="Paweł Barut" href="http://pbarut.blogspot.com/" id="f.1t"&gt;&lt;i id="l4mv"&gt;Paweł Barut&lt;/i&gt;&lt;/a&gt;&lt;br id="qt6l"&gt;
Friend of mine showed me interesting issue of using CONTINUE Statement. CONTINUE is an new &lt;a title="statement in Oracle 11" href="http://download.oracle.com/docs/cd/B28359_01/server.111/b28279/chapter1.htm#FEATURENO07600" id="g453"&gt;statement in Oracle 11&lt;/a&gt;; it allow to skip processing of current iteration of look, and go to &lt;a title="begging of next iteration" href="http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28370/continue_statement.htm#CJAHCFBF" id="i79l"&gt;begging of next iteration&lt;/a&gt;. So here is working sample:&lt;br&gt;
&lt;blockquote&gt;SQL&amp;gt; set serveroutput on&lt;br&gt;
SQL&amp;gt; begin&lt;br&gt;
&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp; dbms_output.put_line('=== START');&lt;br&gt;
&amp;nbsp; 3&amp;nbsp;&amp;nbsp;&amp;nbsp; for i in 1..15 loop&lt;br&gt;
&amp;nbsp; 4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dbms_output.put_line('before:'||i);&lt;br&gt;
&amp;nbsp; 5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if mod(i, 5) = 0 then&lt;br&gt;
&amp;nbsp; 6&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dbms_output.put_line('CONTINUE');&lt;br&gt;
&amp;nbsp; 7&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; continue;&lt;br&gt;
&amp;nbsp; 8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end if;&lt;br&gt;
&amp;nbsp; 9&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dbms_output.put_line('after:'||i);&lt;br&gt;
&amp;nbsp;10&amp;nbsp;&amp;nbsp;&amp;nbsp; end loop;&lt;br&gt;
&amp;nbsp;11&amp;nbsp;&amp;nbsp;&amp;nbsp; dbms_output.put_line('=== STOP');&lt;br&gt;
&amp;nbsp;12&amp;nbsp; end;&lt;br&gt;
&amp;nbsp;13&amp;nbsp; /&lt;br&gt;
=== START&lt;br&gt;
before:1&lt;br&gt;
after:1&lt;br&gt;
before:2&lt;br&gt;
after:2&lt;br&gt;
before:3&lt;br&gt;
after:3&lt;br&gt;
before:4&lt;br&gt;
after:4&lt;br&gt;
before:5&lt;br&gt;
CONTINUE&lt;br&gt;
before:6&lt;br&gt;
after:6&lt;br&gt;
before:7&lt;br&gt;
after:7&lt;br&gt;
before:8&lt;br&gt;
after:8&lt;br&gt;
before:9&lt;br&gt;
after:9&lt;br&gt;
before:10&lt;br&gt;
CONTINUE&lt;br&gt;
before:11&lt;br&gt;
after:11&lt;br&gt;
before:12&lt;br&gt;
after:12&lt;br&gt;
before:13&lt;br&gt;
after:13&lt;br&gt;
before:14&lt;br&gt;
after:14&lt;br&gt;
before:15&lt;br&gt;
CONTINUE&lt;br&gt;
=== STOP&lt;br&gt;
&lt;/blockquote&gt;
&lt;br&gt;
But when we use CONTINUE in loop, that is based on implicit cursor, it gives &lt;b&gt;wrong results&lt;/b&gt;:&lt;br&gt;
&lt;blockquote&gt;SQL&amp;gt; begin&lt;br&gt;
&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp; dbms_output.put_line('=== START');&lt;br&gt;
&amp;nbsp; 3&amp;nbsp;&amp;nbsp;&amp;nbsp; for r in (select level num from dual connect by level &amp;lt;= 115) loop&lt;br&gt;
&amp;nbsp; 4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dbms_output.put_line('before:'||r.num);&lt;br&gt;
&amp;nbsp; 5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if mod(r.num, 5) = 0 then&lt;br&gt;
&amp;nbsp; 6&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dbms_output.put_line('CONTINUE');&lt;br&gt;
&amp;nbsp; 7&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; continue;&lt;br&gt;
&amp;nbsp; 8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end if;&lt;br&gt;
&amp;nbsp; 9&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dbms_output.put_line('after:'||r.num);&lt;br&gt;
&amp;nbsp;10&amp;nbsp;&amp;nbsp;&amp;nbsp; end loop;&lt;br&gt;
&amp;nbsp;11&amp;nbsp;&amp;nbsp;&amp;nbsp; dbms_output.put_line('=== STOP');&lt;br&gt;
&amp;nbsp;12&amp;nbsp; end;&lt;br&gt;
&amp;nbsp;13&amp;nbsp; /&lt;br&gt;
=== START&lt;br&gt;
before:1&lt;br&gt;
after:1&lt;br&gt;
before:2&lt;br&gt;
after:2&lt;br&gt;
before:3&lt;br&gt;
after:3&lt;br&gt;
before:4&lt;br&gt;
after:4&lt;br&gt;
before:5&lt;br&gt;
CONTINUE&lt;br&gt;
before:101&lt;br&gt;
after:101&lt;br&gt;
before:102&lt;br&gt;
after:102&lt;br&gt;
before:103&lt;br&gt;
after:103&lt;br&gt;
before:104&lt;br&gt;
after:104&lt;br&gt;
before:105&lt;br&gt;
CONTINUE&lt;br&gt;
=== STOP&lt;br&gt;
&lt;/blockquote&gt;
&lt;br&gt;
In that case CONTINUE statement goes to iteration no 101 instead of going to iteration 6, as expected!!&lt;br&gt;
To make the long story short, I've experiment with few setting and found that setting &lt;b&gt;PLSQL_OPTIMIZE_LEVEL to 1&lt;/b&gt; this block runs as expected:&lt;br&gt;
&lt;blockquote&gt;SQL&amp;gt; ALTER SESSION SET PLSQL_OPTIMIZE_LEVEL = 1;&lt;br&gt;
SQL&amp;gt; begin&lt;br&gt;
&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp; dbms_output.put_line('=== START');&lt;br&gt;
&amp;nbsp; 3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for r in (select level num from dual connect by level &amp;lt;= 115) loop&lt;br&gt;
&amp;nbsp; 4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dbms_output.put_line('before:'||r.num);&lt;br&gt;
&amp;nbsp; 5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if mod(r.num, 5) = 0 then&lt;br&gt;
&amp;nbsp; 6&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dbms_output.put_line('CONTINUE');&lt;br&gt;
&amp;nbsp; 7&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; continue;&lt;br&gt;
&amp;nbsp; 8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end if;&lt;br&gt;
&amp;nbsp; 9&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dbms_output.put_line('after:'||r.num);&lt;br&gt;
&amp;nbsp;10&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end loop;&lt;br&gt;
&amp;nbsp;11&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dbms_output.put_line('=== STOP');&lt;br&gt;
&amp;nbsp;12&amp;nbsp; end;&lt;br&gt;
&amp;nbsp;13&amp;nbsp; /&lt;br&gt;
=== START&lt;br&gt;
before:1&lt;br&gt;
after:1&lt;br&gt;
before:2&lt;br&gt;
after:2&lt;br&gt;
before:3&lt;br&gt;
after:3&lt;br&gt;
before:4&lt;br&gt;
after:4&lt;br&gt;
before:5&lt;br&gt;
CONTINUE&lt;br&gt;
before:6&lt;br&gt;
after:6&lt;br&gt;
&lt;i&gt;[... many lines cutted out from output...]&lt;/i&gt;&lt;br&gt;
after:99&lt;br&gt;
before:100&lt;br&gt;
CONTINUE&lt;br&gt;
before:101&lt;br&gt;
after:101&lt;br&gt;
before:102&lt;br&gt;
after:102&lt;br&gt;
before:103&lt;br&gt;
after:103&lt;br&gt;
before:104&lt;br&gt;
after:104&lt;br&gt;
before:105&lt;br&gt;
CONTINUE&lt;br&gt;
before:106&lt;br&gt;
&lt;i&gt;[... many lines cutted out from output...]&lt;/i&gt;&lt;br&gt;
after:114&lt;br&gt;
before:115&lt;br&gt;
CONTINUE&lt;br&gt;
=== STOP&lt;br&gt;
&lt;/blockquote&gt;
&lt;br&gt;
For me it looks as bug in PL/SQL Optimizer on level 2. In that case PL/SQL does bulk collect for 100 rows when FOR LOOP with cursor is used. Seems that CONTINUE in that case causes to fetch next portion of records instead of taking next record from buffer. I've reported bug to Oracle Support, but until it will get fixed, be aware of possible wrong results.&lt;br&gt;
This was tested on Oracle 11.1.0.6 and 11.1.0.7 Enterprise Edition.&lt;br&gt;
&lt;br&gt;
Keep reading,&lt;br id="oe53"&gt;
Paweł&lt;br id="fy0e"&gt;
&lt;br id="pyix"&gt;
-- &lt;br id="rjx:"&gt;
Related Articles on Paweł Barut blog:&lt;br&gt;
&lt;ul&gt;&lt;li&gt;&lt;a title="Comments in SQL*Plus" href="http://pbarut.blogspot.com/2007/10/comments-in-sqlplus.html" id="aolm"&gt;Comments in SQL*Plus&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;&lt;a title="Dynamically set name of spool file in SQL*Plus" href="http://pbarut.blogspot.com/2007/06/dynamically-set-name-of-spool-file-in.html" id="r8en"&gt;Dynamically set name of spool file in SQL*Plus&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;&lt;a title="Table that cannot be deleted" href="http://pbarut.blogspot.com/2007/03/table-that-cannot-be-deleted.html" id="w:03"&gt;Table that cannot be deleted&lt;/a&gt; &lt;/li&gt;&lt;/ul&gt;
&lt;ul&gt;&lt;li&gt;&lt;a title="ORA-03297 on empty datafile" href="http://pbarut.blogspot.com/2007/01/ora-03297-on-empty-datafile.html" id="y_n2"&gt;ORA-03297 on empty datafile&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;&lt;a title="Flashback Table and Materialized View – not working together" href="http://pbarut.blogspot.com/2006/09/flashback-table-and-materialized-view.html" id="ciid"&gt;Flashback Table and Materialized View – not working together&lt;/a&gt; &lt;/li&gt;&lt;/ul&gt;
&lt;ul&gt;&lt;/ul&gt;</description><link>http://pbarut.blogspot.com/2009/04/caution-for-loop-and-continue-in-oracle.html</link><author>noreply@blogger.com (Paweł Barut)</author><thr:total>9</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4677316190423110840.post-3759183749524807717</guid><pubDate>Sun, 29 Mar 2009 10:55:00 +0000</pubDate><atom:updated>2009-03-29T13:01:53.388+02:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>excel</category><category domain='http://www.blogger.com/atom/ns#'>xml</category><category domain='http://www.blogger.com/atom/ns#'>book</category><category domain='http://www.blogger.com/atom/ns#'>oracle</category><category domain='http://www.blogger.com/atom/ns#'>pdf</category><title>Book Review: Processing XML documents with Oracle JDeveloper 11g</title><description>&lt;i id="xpff"&gt;Written by &lt;/i&gt;&lt;a title="Paweł Barut" href="http://pbarut.blogspot.com/" id="f.1t"&gt;&lt;i id="l4mv"&gt;Paweł Barut&lt;/i&gt;&lt;/a&gt;&lt;br id="qt6l"&gt;
This time I would like to recommend a book &lt;a title="Processing XML documents with Oracle JDeveloper 11g" href="https://www.packtpub.com/processing-xml-documents-with-oracle-jdeveloper-11g/book" id="a2aa"&gt;Processing XML documents with Oracle JDeveloper 11g&lt;/a&gt; published by &lt;a title="PacktPub.com" href="http://www.packtpub.com/" id="f5hp"&gt;PacktPub.com&lt;/a&gt;. As I have some experience with XML processing inside Oracle DB (XMLDB) I was lacking the knowledge of XML manipulation in Java, especially using &lt;a title="Oracle JDeveloper" href="http://www.oracle.com/technology/software/products/jdev/htdocs/soft11.html" id="atc5"&gt;Oracle JDeveloper&lt;/a&gt;. This book is rather not for beginners - you should have basic knowledge of what is XML, at least theoretically. From the book you can learn how to manage XML Schemas in JDeveloper, then write XML documents based on those schema and finally validate them in JDeveloper or write Java code to validate it automatically. Chapters that I value much are those describing how to generate PDF documents. There are two methods described - one using &lt;a title="Apache FOP API" href="http://xmlgraphics.apache.org/fop/" id="l7z1"&gt;Apache FOP API&lt;/a&gt; , and &lt;a title="Oracle XML Publisher" href="http://www.oracle.com/technology/products/xml-publisher/index.html" id="w.vi"&gt;Oracle XML Publisher&lt;/a&gt;. As I was not generating PDF's this way so far, I found those 2 chapters very interesting. There is also chapter on generatin Excel by transformation of XML using &lt;a title="Apache HSSF API" href="http://poi.apache.org/spreadsheet/index.html" id="cn6s"&gt;Apache HSSF API&lt;/a&gt; .&lt;br&gt;
&lt;br&gt;
Book is very practical. If you want to start with subjects described above then this book is for you. Of course it does not mean that you do not have to study documentation. However, it will be easier for you to make first steps. Beside describing Oracle JDeveloper, author also shows how to install and use &lt;a title="Oracle Berkley XML DB" href="http://www.oracle.com/database/berkeley-db/xml/index.html" id="bbdf"&gt;Oracle Berkley XML DB&lt;/a&gt;  to store, query and update XML Documents - using command line and XML DB API.&lt;br&gt;
&lt;br&gt;
I especially recommend eBook version. All URLs in eBook version are active, so linking to web pages are very simple. Also coping sample code is easy. This book contains many practical and usefull tips on XML processing and tools as well. So if those XML aspects are in your interest, then it's definitelly good to invest in this book.&lt;br&gt;
&lt;br&gt;
Keep reading,&lt;br id="oe53"&gt;
Paweł&lt;br id="fy0e"&gt;
&lt;br id="pyix"&gt;
-- &lt;br id="rjx:"&gt;
Related Articles on Paweł Barut blog:&lt;br&gt;
&lt;ul&gt;&lt;li&gt;
&lt;a title="ORA-00904: &amp;quot;XMLROOT&amp;quot;: invalid identifier" href="http://pbarut.blogspot.com/2008/05/ora-00904-xmlroot-invalid-identifier.html" id="n5ye"&gt;ORA-00904: "XMLROOT": invalid identifier&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;&lt;a title="Useful links on Oracle XML DB" href="http://pbarut.blogspot.com/2008/02/useful-links-on-oracle-xml-db.html" id="q-55"&gt;Useful links on Oracle XML DB&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;&lt;a title="Solving ORA-22905: cannot access rows from a non-nested table item" href="http://pbarut.blogspot.com/2007/05/solving-ora-22905-cannot-access-rows.html" id="hqqw"&gt;Solving ORA-22905: cannot access rows from a non-nested table item&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;&lt;a title="Oracle XMLType: exctractvalue vs. extract" href="http://pbarut.blogspot.com/2007/01/oracle-xmltype-exctractvalue-vs-extract.html" id="nvhj"&gt;Oracle XMLType: exctractvalue vs. extract&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;&lt;a title="ORA-30625 and XMLType" href="http://pbarut.blogspot.com/2006/11/ora-30625-and-xmltype.html" id="dg7o"&gt;ORA-30625 and XMLType&lt;/a&gt; &lt;/li&gt;&lt;/ul&gt;
&lt;ul&gt;&lt;/ul&gt;</description><link>http://pbarut.blogspot.com/2009/03/book-review-processing-xml-documents.html</link><author>noreply@blogger.com (Paweł Barut)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4677316190423110840.post-3393886326237248309</guid><pubDate>Sun, 15 Mar 2009 21:39:00 +0000</pubDate><atom:updated>2009-03-15T22:40:15.984+01:00</atom:updated><title>Multiplying texts and null effect</title><description>&lt;i id="xpff"&gt;Written by &lt;/i&gt;&lt;a title="Paweł Barut" href="http://pbarut.blogspot.com/" id="f.1t"&gt;&lt;i id="l4mv"&gt;Paweł Barut&lt;/i&gt;&lt;/a&gt;&lt;br id="qt6l"&gt;
This time short notice on side effect of implicit type conversion ans short expression evaluation. Let me show this on example - try this statement:&lt;br&gt;
&lt;blockquote&gt;SQL&amp;gt; select 'a'*'b' from dual;&lt;br&gt;
select 'a'*'b' from dual&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;br&gt;
ERROR at line 1:&lt;br&gt;
ORA-01722: invalid number&lt;br&gt;
&lt;/blockquote&gt;
As expected we get error. It is due to fact that multiplexing operator (*) is expecting numbers on both sides, an implicit conversion takes place. However this statement:&lt;br&gt;
&lt;blockquote&gt;SQL&amp;gt; select ''*'b' from dual;&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; ''*'B'&lt;br&gt;
----------&lt;br&gt;
&lt;/blockquote&gt;
does not give error. How is it possible? In oracle empty string is in fact an null. null multiplied by any number gives null, so due to optimization oracle decided to evaluate this expression to null.&lt;br&gt;
As you know also 0 (zero) multiplied by any number gives zero. So let's test it:&lt;br&gt;
&lt;blockquote&gt;SQL&amp;gt; select '0'*'b' from dual;&lt;br&gt;
select '0'*'b' from dual&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;br&gt;
ERROR at line 1:&lt;br&gt;
ORA-01722: invalid number&lt;br&gt;
&lt;/blockquote&gt;
In that case Oracle did not optimized evaluation, and decided to make full calculation. I do not know the reason for different behaviour but is repeatable (at least on instances I've access to).&lt;br&gt;
My recommendation: always make sure that you provide data in proper data-type. Make explicit data conversion using to_number, to_date or to_char functions.&lt;br&gt;
&lt;br&gt;
Keep reading,&lt;br id="oe53"&gt;
Paweł&lt;br id="fy0e"&gt;
&lt;br id="pyix"&gt;
-- &lt;br id="rjx:"&gt;
Related Articles on Paweł Barut blog:&lt;br&gt;
&lt;ul&gt;&lt;li&gt;&lt;a title="UTL_MATCH - String Similarity in Oracle" href="http://pbarut.blogspot.com/2006/12/utlmatch-string-similarity-in-oracle.html" id="c.bg"&gt;UTL_MATCH - String Similarity in Oracle&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;&lt;a title="Rolling Back the DDL" href="http://pbarut.blogspot.com/2006/09/rolling-back-ddl.html" id="t3ez"&gt;Rolling Back the DDL&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;&lt;a title="DB Link to Oracle 11g" href="http://pbarut.blogspot.com/2008/08/db-link-to-oracle-11g.html" id="tcpx"&gt;DB Link to Oracle 11g&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;&lt;a title="How to shrink Oracle Context Index" href="http://pbarut.blogspot.com/2008/01/how-to-shrink-oracle-context-index.html" id="q0o1"&gt;How to shrink Oracle Context Index&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;&lt;a title="Using Named Parameters within SQL" href="http://pbarut.blogspot.com/2007/10/using-named-parameters-within-sql.html" id="c2u6"&gt;Using Named Parameters within SQL&lt;/a&gt; &lt;/li&gt;
&lt;/ul&gt;</description><link>http://pbarut.blogspot.com/2009/03/multiplying-texts-and-null-effect.html</link><author>noreply@blogger.com (Paweł Barut)</author><thr:total>3</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4677316190423110840.post-2656261515119608452</guid><pubDate>Fri, 26 Sep 2008 04:52:00 +0000</pubDate><atom:updated>2008-11-25T22:14:10.881+01:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>oow2008</category><category domain='http://www.blogger.com/atom/ns#'>xml</category><category domain='http://www.blogger.com/atom/ns#'>exadata</category><category domain='http://www.blogger.com/atom/ns#'>oracle</category><title>OOW2008 day 5 – It’s A Wrap</title><description>&lt;i id="xpff"&gt;Written by &lt;/i&gt;&lt;a title="Paweł Barut" href="http://pbarut.blogspot.com/" id="f.1t"&gt;&lt;i id="l4mv"&gt;Paweł Barut&lt;/i&gt;&lt;/a&gt;&lt;br/&gt;
Before I start to summarize my Day 5 at Oracle OpenWorld, I would like to add few words to &lt;a href="http://pbarut.blogspot.com/2008/09/oow2008-day-3-hp-oracle-exadata-server.html"&gt;day 4 (Wednesday)&lt;/a&gt;.

&lt;br/&gt;&lt;br/&gt;&lt;b&gt;Managing Very, Very Large XML Documents with Oracle XML Database&lt;/b&gt;&lt;br/&gt;
It was very good session. It one of those where practical experience was shared. Presenters showed step by step how to load very large XML files to DB:&lt;ul&gt;
&lt;li&gt;Setting up XML schema
&lt;li&gt;Schema annotation technique and few directives
&lt;li&gt;Direct Insert Store for XML
&lt;li&gt;Differences with loading XML into XML DB in 10.2g and 11g
&lt;/ul&gt;
&lt;br/&gt;&lt;br/&gt;&lt;b&gt;The Appreciation Event.&lt;/b&gt;&lt;br/&gt;
&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_6xECfZb_CD0/SNxrKkrjpTI/AAAAAAAAFfU/hwUkuXv91L8/s1600-h/DSC_5468.JPG"&gt;&lt;img style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_6xECfZb_CD0/SNxrKkrjpTI/AAAAAAAAFfU/hwUkuXv91L8/s400/DSC_5468.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5250189094996387122" /&gt;&lt;/a&gt;It was very nice concert on Treasure Island. I’ve especially liked Seal. Beside that there was lot of good food and drinks.
&lt;p&gt;&lt;h2&gt;Day 5&lt;/h2&gt;&lt;/p&gt;
I will start with session &lt;b&gt;Oracle’s New Database Accelerator: Query Processing Revolutionized&lt;/b&gt;. As I’ve expected it was related to announcement made yesterday. 
My yesterday’s description was not perfect. Now I will try to fix this. First of all we have 2 new machines. But one them is included in the second one.
&lt;br/&gt;&lt;b&gt;Oracle Exodata Storage Server&lt;/b&gt; - it is hardware from HP: 2 Intel quad-core processors, 12 disks (300GB, 15RPM or 750 GB, 10 RPM) with disk controller optimized for best bandwidth and 2 InfiniBand connectors to connect to external equipment. The code for this product is HP DL180G5 (at least that was on one of slides). This computer is sold with preinstalled Oracle Enterprise Linux 5.1. The main role of this machine is to store database files. It cannot be used to store normal files.
&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_6xECfZb_CD0/SNxrjOIk5mI/AAAAAAAAFfk/Dv0Oa_m5gCk/s1600-h/DSC_5471.JPG"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;" src="http://3.bp.blogspot.com/_6xECfZb_CD0/SNxrjOIk5mI/AAAAAAAAFfk/Dv0Oa_m5gCk/s400/DSC_5471.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5250189518440818274" /&gt;&lt;/a&gt;
&lt;br/&gt;The second hardware is &lt;b&gt;HP-Oracle Exodata DB Machine&lt;/b&gt; - This one is rack box equipped with 14 Oracle Exodata Storage Servers and 8 DB Servers each with 8 Intel processors. On those DB Server runs Oracle Enterprise Linux 5.1 and Oracle RDBMS 11g (11.1.0.7). Even more – 6 such DB Machines can be connected into cluster.
&lt;br/&gt;&lt;b&gt;Where is the revolution?&lt;/b&gt; In the way Oracle DB communicates with storage. There is new protocol &lt;b&gt;iDB&lt;/b&gt; that allows to push query predicated down to storage. With this, number of data transferred from Storage to DB Server is minimized. This feature is called &lt;b&gt;Smart Scan&lt;/b&gt;. It can be leveraged only when full table (or partition) scans occurs. And it still keeps all read consistency.
&lt;br/&gt;And &lt;a href="http://www.oracle.com/solutions/business_intelligence/exadata.html"&gt;here is technical spec from Oracle&lt;/a&gt;.

&lt;br/&gt;&lt;br/&gt;And short on my other sessions:
&lt;b&gt;Oracle Database Performance on Flash Drives&lt;/b&gt;&lt;br/&gt;Very interesting session showing results of different approaches for using Flash drives. As an conclusion there was presented formula, when Flash drives can help with performance, and when it is better to stay with fast rotating drives, and when even with low cost but high capacity drives. As an side note when we consider power usage, Flash drives can be even more economic then traditional rotating drives.
&lt;br/&gt;&lt;br/&gt;&lt;b&gt;Oracle ACE Director: Birds-of-a-Feather Tips and Techniques&lt;/b&gt;&lt;br/&gt;Session lead by Oracle ACE’s: Lewis Cunningan, Arup Nunda, Edie Awad, Mark Rittman, Tim Hall, Hans Forbich and Bradley Brown. The session was Q&amp;A style. ACE’s were answering questions based on own experience, and that is sometimes different that Oracle’s official recommendation.
&lt;br/&gt;&lt;br/&gt;&lt;b&gt;Real-World XML DB Examples from Oracle Support&lt;/b&gt;&lt;br/&gt;This was rather chaotic session, and did not gave me useful information- IHMO waste of time.
&lt;br/&gt;&lt;br/&gt;And the last session by Tom Kyte &lt;b&gt;Reorganizing Objects&lt;/b&gt;&lt;br/&gt;
Tom have done great job showing different myths about when DBA’s should reorganize tables and indexes. It was really Great speech. Might be there was too much material for an 1h session, and everything was shown little bit in an hurry.
&lt;br/&gt;&lt;br/&gt;The day has ended with small party &lt;b&gt;It’s A WRAP&lt;/b&gt;&lt;br/&gt;
While writing this I’m sitting in hotel and watching Fireworks over the San Francisco Port. Tomorrow I’m leaving San Francisco for 18h trip back to home.
&lt;br/&gt;&lt;br/&gt;
Cheers, &lt;br/&gt;
Paweł&lt;br/&gt;
-- &lt;br id="rjx:"&gt;
Related Articles on Paweł Barut blog:&lt;br&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a title="Oracle OpenWorld 2008" href="http://pbarut.blogspot.com/2008/07/oracle-openworld-2008.html"&gt;Oracle OpenWorld 2008&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;&lt;a title="Preparing for Oracle OpenWorld 2008" href="http://pbarut.blogspot.com/2008/09/preparing-for-oracle-openworld-2008.html"&gt;Preparing for Oracle OpenWorld 2008&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;&lt;a title="Arriving San Francisco – OOW2008 day 1." href="http://pbarut.blogspot.com/2008/09/arriving-san-francisno-oow2008-day-1.html"&gt;Arriving San Francisco – OOW2008 day 1.&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;&lt;a title="OOW2008 day 2 – Oracle Beehive" href="http://pbarut.blogspot.com/2008/09/oow2008-day-1-oracle-beehive.html"&gt;OOW2008 day 2 – Oracle Beehive&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;&lt;a title="OOW2008 day 3" href="http://pbarut.blogspot.com/2008/09/oow2008-day-3.html"&gt;OOW2008 day 3&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;&lt;a title="OOW2008 day 4 – HP-Oracle Exadata Server Announcement = Extreme Performance" href="http://pbarut.blogspot.com/2008/09/oow2008-day-3-hp-oracle-exadata-server.html"&gt;OOW2008 day 4 – HP-Oracle Exadata Server Announcement = Extreme Performance&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;&lt;a title="OOW2008 day 5 – It’s A Wrap" href="http://pbarut.blogspot.com/2008/09/oow2008-day-5-its-wrap.html"&gt;OOW2008 day 5 – It’s A Wrap&lt;/a&gt;
&lt;/ul&gt;</description><link>http://pbarut.blogspot.com/2008/09/oow2008-day-5-its-wrap.html</link><author>noreply@blogger.com (Paweł Barut)</author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_6xECfZb_CD0/SNxrKkrjpTI/AAAAAAAAFfU/hwUkuXv91L8/s72-c/DSC_5468.JPG' height='72' width='72'/><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4677316190423110840.post-2414249852539756900</guid><pubDate>Wed, 24 Sep 2008 23:25:00 +0000</pubDate><atom:updated>2008-11-25T22:13:51.676+01:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>oow2008</category><category domain='http://www.blogger.com/atom/ns#'>hp</category><category domain='http://www.blogger.com/atom/ns#'>exadata</category><category domain='http://www.blogger.com/atom/ns#'>oracle</category><title>OOW2008 day 4 – HP-Oracle Exadata Server Announcement = Extreme Performance</title><description>&lt;i id="xpff"&gt;Written by &lt;/i&gt;&lt;a title="Paweł Barut" href="http://pbarut.blogspot.com/" id="f.1t"&gt;&lt;i id="l4mv"&gt;Paweł Barut&lt;/i&gt;&lt;/a&gt;&lt;br/&gt;
Today is very busy day for me. It’s just after Larry Ellison keynote on which first Oracle Hardware was presented. I’m a little big skeptic if Oracle is realy going for hardware business. It is rather that Oracle had great idea how to solve problems with really big databases and growing demand for storage, and joined forces with HP to create new quality in data processing. 
So, how it looks: in one box we have 2 intel 4 core processors and 12 disks as storage – it is called &lt;span style="font-weight:bold;"&gt;The Exadata Programmable Storage Server&lt;/span&gt;. This machine is not storage, and is not pure DB Server as well. It can process queries (so it is DB), and it stores Data (so it is Storage). But it needs separate DB Server to work at full performance. How it works: DB Servers receives request for data. It then retries data from Exadata Storage Server, but data get initially filtered, so number of data transferred from Storage Server to DB Server is reduced. It allows much better overall performance.
&lt;br/&gt;
At least this is my understanding. I will go also to DemoGround to get direct look at this machine, and more detailed specification.
&lt;br/&gt;&lt;br/&gt;

Today I’ve also participated in few sessions.&lt;br/&gt;
&lt;span style="font-weight:bold;"&gt;Soup-to-Nuts RAD Development Using Oracle SQL Developer and Oracle Application Express&lt;/span&gt;
It was quick show how to create simple application using APEX and SQL Developer. It focused on modeling capabilities of SQL Dev, and integration between APEX and SQL Dev. It was shown, how to view APEX objects in SQL Dev, and how to leverage this integration. There was also presentation of new functionality in APEX to migrate Oracle Forms to APEX.
&lt;br/&gt;&lt;br/&gt;

&lt;span style="font-weight:bold;"&gt;Agile Database Testing Techniques (IOUG)&lt;/span&gt;
This was very interesting session giving practical inside on how to organize unit tests in DB, how to validate that upgrade scripts run successfully, and how to prepare DB environment for Daily Builds. Presenter shared his real world experience and this was the biggest value of this session.
&lt;br/&gt;&lt;br/&gt;

&lt;span style="font-weight:bold;"&gt;SQL Tuning Roundtable with the Experts&lt;/span&gt;
This one was rather boring, as topics and answers were almost exactly the same as on session “Inside Oracle Database 11g Optimizer: Removing the Mystery” that I was participating yesterday.
&lt;br/&gt;&lt;br/&gt;

Now I’m sitting in OCP Louge, and in few minutes I’m going for last session
&lt;span style="font-weight:bold;"&gt;Managing Very, Very Large XML Documents with Oracle XML Database&lt;/span&gt;
and then for The Appreciation Event.
&lt;br/&gt;&lt;br/&gt;
Cheers,
&lt;br/&gt;
Paweł
&lt;br/&gt;&lt;br/&gt;
BTW. This is my post # 100.&lt;br/&gt;
-- &lt;br id="rjx:"&gt;
Related Articles on Paweł Barut blog:&lt;br&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a title="Oracle OpenWorld 2008" href="http://pbarut.blogspot.com/2008/07/oracle-openworld-2008.html"&gt;Oracle OpenWorld 2008&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;&lt;a title="Preparing for Oracle OpenWorld 2008" href="http://pbarut.blogspot.com/2008/09/preparing-for-oracle-openworld-2008.html"&gt;Preparing for Oracle OpenWorld 2008&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;&lt;a title="Arriving San Francisco – OOW2008 day 1." href="http://pbarut.blogspot.com/2008/09/arriving-san-francisno-oow2008-day-1.html"&gt;Arriving San Francisco – OOW2008 day 1.&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;&lt;a title="OOW2008 day 2 – Oracle Beehive" href="http://pbarut.blogspot.com/2008/09/oow2008-day-1-oracle-beehive.html"&gt;OOW2008 day 2 – Oracle Beehive&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;&lt;a title="OOW2008 day 3" href="http://pbarut.blogspot.com/2008/09/oow2008-day-3.html"&gt;OOW2008 day 3&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;&lt;a title="OOW2008 day 4 – HP-Oracle Exadata Server Announcement = Extreme Performance" href="http://pbarut.blogspot.com/2008/09/oow2008-day-3-hp-oracle-exadata-server.html"&gt;OOW2008 day 4 – HP-Oracle Exadata Server Announcement = Extreme Performance&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;&lt;a title="OOW2008 day 5 – It’s A Wrap" href="http://pbarut.blogspot.com/2008/09/oow2008-day-5-its-wrap.html"&gt;OOW2008 day 5 – It’s A Wrap&lt;/a&gt;
&lt;/ul&gt;</description><link>http://pbarut.blogspot.com/2008/09/oow2008-day-3-hp-oracle-exadata-server.html</link><author>noreply@blogger.com (Paweł Barut)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4677316190423110840.post-983553222007628276</guid><pubDate>Wed, 24 Sep 2008 04:08:00 +0000</pubDate><atom:updated>2008-11-25T22:13:27.675+01:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>oow2008</category><category domain='http://www.blogger.com/atom/ns#'>oracle</category><title>OOW2008 day 3</title><description>&lt;i id="xpff"&gt;Written by &lt;/i&gt;&lt;a title="Paweł Barut" href="http://pbarut.blogspot.com/" id="f.1t"&gt;&lt;i id="l4mv"&gt;Paweł Barut&lt;/i&gt;&lt;/a&gt;&lt;br/&gt;
This day was quite good for me. I’ve finally overcome problems with jet-lag. 
&lt;br/&gt;&lt;br/&gt;
I’ve started day on session “Inside Oracle Database 11g Optimizer: Removing the Mystery”. It was very good session explaining how new features in optimizer works. It provided inside on Plan Profiles, improved bind variable picking, improved performance for statistics collection and new statistics for correlated columns.
&lt;br/&gt;&lt;br/&gt;
My next session was not exactly what I was expecting. “Global-Scale Web 2.0 Data Platforms: Sharding with Oracle Database”. I was expecting technical inside, but it mostly was marketing speech on “why Oracle is better then MySQL”.
Break between sessions I’ve used to ride on Cable Car:&lt;br/&gt;
&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_6xECfZb_CD0/SNm9d8T9WAI/AAAAAAAAFac/ewLnkKuTSQ8/s1600-h/DSC_5352.JPG"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_6xECfZb_CD0/SNm9d8T9WAI/AAAAAAAAFac/ewLnkKuTSQ8/s400/DSC_5352.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5249435162780719106" /&gt;&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;
I’ve ended day on session “Top 10 Things You Wanted to know about ASM”. As I were not using ASM yet, it was good overview of features, and best practices for using ASM.
Now, I’m going to rest to be prepared for next day, and big keynote by Larry Ellison.
&lt;br/&gt;&lt;br/&gt;
Cheers,&lt;br/&gt;
Paweł&lt;br/&gt;
-- &lt;br id="rjx:"&gt;
Related Articles on Paweł Barut blog:&lt;br&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a title="Oracle OpenWorld 2008" href="http://pbarut.blogspot.com/2008/07/oracle-openworld-2008.html"&gt;Oracle OpenWorld 2008&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;&lt;a title="Preparing for Oracle OpenWorld 2008" href="http://pbarut.blogspot.com/2008/09/preparing-for-oracle-openworld-2008.html"&gt;Preparing for Oracle OpenWorld 2008&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;&lt;a title="Arriving San Francisco – OOW2008 day 1." href="http://pbarut.blogspot.com/2008/09/arriving-san-francisno-oow2008-day-1.html"&gt;Arriving San Francisco – OOW2008 day 1.&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;&lt;a title="OOW2008 day 2 – Oracle Beehive" href="http://pbarut.blogspot.com/2008/09/oow2008-day-1-oracle-beehive.html"&gt;OOW2008 day 2 – Oracle Beehive&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;&lt;a title="OOW2008 day 3" href="http://pbarut.blogspot.com/2008/09/oow2008-day-3.html"&gt;OOW2008 day 3&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;&lt;a title="OOW2008 day 4 – HP-Oracle Exadata Server Announcement = Extreme Performance" href="http://pbarut.blogspot.com/2008/09/oow2008-day-3-hp-oracle-exadata-server.html"&gt;OOW2008 day 4 – HP-Oracle Exadata Server Announcement = Extreme Performance&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;&lt;a title="OOW2008 day 5 – It’s A Wrap" href="http://pbarut.blogspot.com/2008/09/oow2008-day-5-its-wrap.html"&gt;OOW2008 day 5 – It’s A Wrap&lt;/a&gt;
&lt;/ul&gt;</description><link>http://pbarut.blogspot.com/2008/09/oow2008-day-3.html</link><author>noreply@blogger.com (Paweł Barut)</author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_6xECfZb_CD0/SNm9d8T9WAI/AAAAAAAAFac/ewLnkKuTSQ8/s72-c/DSC_5352.JPG' height='72' width='72'/><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4677316190423110840.post-1957981809525972975</guid><pubDate>Tue, 23 Sep 2008 15:23:00 +0000</pubDate><atom:updated>2008-11-25T22:12:04.932+01:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>oow2008</category><category domain='http://www.blogger.com/atom/ns#'>beehive</category><category domain='http://www.blogger.com/atom/ns#'>oracle</category><category domain='http://www.blogger.com/atom/ns#'>microsoft</category><title>OOW2008 day 2 – Oracle Beehive</title><description>&lt;i id="xpff"&gt;Written by &lt;/i&gt;&lt;a title="Paweł Barut" href="http://pbarut.blogspot.com/" id="f.1t"&gt;&lt;i id="l4mv"&gt;Paweł Barut&lt;/i&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_6xECfZb_CD0/SNkKiAaZDoI/AAAAAAAAFaM/AOba3FXzgZc/s1600-h/DSC_5306.JPG"&gt;&lt;img style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_6xECfZb_CD0/SNkKiAaZDoI/AAAAAAAAFaM/AOba3FXzgZc/s400/DSC_5306.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5249238420019547778" /&gt;&lt;/a&gt;This day started with Keynote presented by Oracle President Charles Phillips. He spoke about Oracle acquisitions, and more complete portfolio of products that Oracle have now. What caught my attention most was announcement of new product, new collaboration platform Oracle Beehive. It joins features of email, calendar, document sharing, web conference and few more in one suite. What is most important those tools are open, so user can use ex. MS Outlook to access mails or calendar entries. Security is one of the key features. When you share document with others, they can see document in theirs workspace. They can even make local copy of this document. When document is deleted by original author, then all copies of the document become unusable for anyone. This is because all shared documents are encrypted and signed. While opening document there is validation of access rights for document. For me it seems as this is based on technology acquired from Stallent.
It seems that this product will try to get market from MS Sharepoint and IBM Lotus.&lt;br/&gt;&lt;br/&gt;

Today I took some time to see Exhibition Hall, and walk around the city. While walking I’ve found one interesting bus – I was Bus that was advertising Microsoft SQLServer:&lt;br/&gt;
&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_6xECfZb_CD0/SNkK37pd4SI/AAAAAAAAFaU/TgthKlRX91o/s1600-h/DSC_5318.JPG"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_6xECfZb_CD0/SNkK37pd4SI/AAAAAAAAFaU/TgthKlRX91o/s400/DSC_5318.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5249238796697723170" /&gt;&lt;/a&gt;
&lt;br/&gt;It looks pretty old :). Microsoft does not want to be absent in San Francisco during Oracle’s big conference.&lt;br/&gt;&lt;br/&gt;

I’ve also participated in few session on SOA (Service Oriented Architecture) and AIA (Applications Integration Architecture). Basically I wanted to have better understanding of Oracle offering in SOA area.
&lt;br/&gt;&lt;br/&gt;
Cheers,&lt;br/&gt;
Paweł&lt;br/&gt;&lt;br/&gt;
-- &lt;br id="rjx:"&gt;
Related Articles on Paweł Barut blog:&lt;br&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a title="Oracle OpenWorld 2008" href="http://pbarut.blogspot.com/2008/07/oracle-openworld-2008.html"&gt;Oracle OpenWorld 2008&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;&lt;a title="Preparing for Oracle OpenWorld 2008" href="http://pbarut.blogspot.com/2008/09/preparing-for-oracle-openworld-2008.html"&gt;Preparing for Oracle OpenWorld 2008&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;&lt;a title="Arriving San Francisco – OOW2008 day 1." href="http://pbarut.blogspot.com/2008/09/arriving-san-francisno-oow2008-day-1.html"&gt;Arriving San Francisco – OOW2008 day 1.&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;&lt;a title="OOW2008 day 2 – Oracle Beehive" href="http://pbarut.blogspot.com/2008/09/oow2008-day-1-oracle-beehive.html"&gt;OOW2008 day 2 – Oracle Beehive&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;&lt;a title="OOW2008 day 3" href="http://pbarut.blogspot.com/2008/09/oow2008-day-3.html"&gt;OOW2008 day 3&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;&lt;a title="OOW2008 day 4 – HP-Oracle Exadata Server Announcement = Extreme Performance" href="http://pbarut.blogspot.com/2008/09/oow2008-day-3-hp-oracle-exadata-server.html"&gt;OOW2008 day 4 – HP-Oracle Exadata Server Announcement = Extreme Performance&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;&lt;a title="OOW2008 day 5 – It’s A Wrap" href="http://pbarut.blogspot.com/2008/09/oow2008-day-5-its-wrap.html"&gt;OOW2008 day 5 – It’s A Wrap&lt;/a&gt;
&lt;/ul&gt;</description><link>http://pbarut.blogspot.com/2008/09/oow2008-day-1-oracle-beehive.html</link><author>noreply@blogger.com (Paweł Barut)</author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_6xECfZb_CD0/SNkKiAaZDoI/AAAAAAAAFaM/AOba3FXzgZc/s72-c/DSC_5306.JPG' height='72' width='72'/><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4677316190423110840.post-6644812268513776202</guid><pubDate>Mon, 22 Sep 2008 00:41:00 +0000</pubDate><atom:updated>2008-11-25T22:11:17.383+01:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>oow2008</category><category domain='http://www.blogger.com/atom/ns#'>security</category><category domain='http://www.blogger.com/atom/ns#'>storage</category><category domain='http://www.blogger.com/atom/ns#'>oracle</category><title>Arriving San Francisco – OOW2008 day 1.</title><description>&lt;i id="xpff"&gt;Written by &lt;/i&gt;&lt;a title="Paweł Barut" href="http://pbarut.blogspot.com/" id="f.1t"&gt;&lt;i id="l4mv"&gt;Paweł Barut&lt;/i&gt;&lt;/a&gt;&lt;br/&gt;
My trip to San Francisco went well. No delays, no problems with flight reservation – see &lt;a href="http://www.oracle-base.com/blog/2008/09/20/mor-frankfurt-news/"&gt;what happened to Tim&lt;/a&gt;. I had small problems with hotel reservation, but finally everything is fine – I’m in different hotel then I’ve reserved. I’m suffering little from jet-lag. I slept an hour or two in plane, and then I could not sleep during night. So I feel little tired. The weather in SF is great, especially when comparing to very cold and rainy weather in Krakow last week.
&lt;br/&gt;&lt;br/&gt;
My first experience of San Fracinsco is not very good. Seems to be not very friendly, and is definitely not of my style. I might change my mind when see more places in SF. But Oracle Conference is organized very well, so my attitude is improving :).
&lt;br/&gt;&lt;br/&gt;
For today, I’ve planned mostly session regarding Security and Identity management.
First of those session “Oracle Security Risk” was very good. Especially speaker Tanya Baccam from &lt;a href="http://www.sans.org/"&gt;SANS.org&lt;/a&gt; was impressive. Presentation was about common problems with security in web based and forms application that use Oracle DB as backend. One type of attack was new to me: CSRF – Cross Site Request Forgery.
&lt;br/&gt;&lt;br/&gt;
Next one was Security Roundtable – lot of questions from audience on variety of topics. Most hot one: applying CPU patches, Auditing, DB Valut, Encrypting data and transmissions.
&lt;br/&gt;&lt;br/&gt;
Then was Oracle Identity Management lead by &lt;a href="http://www.matttopper.com/"&gt;Matt Topper&lt;/a&gt;. Good overview of  identity products from Oracle stack.
&lt;br/&gt;&lt;br/&gt;
My last one session “Storage: A New Paradigm for Database” was also very good session. Ari Kaplan show now storage solutions can improve Backup/Restore times for database and decrease demand for storage space. He also presented new RAID-DP concept, and claims that it can provide better performance, with lower storage demand, and provide higher availability. This is something that I need to investigate in more details.
&lt;br/&gt;&lt;br/&gt;
For the evening I’m going to take part in Bloggers Meetup.
&lt;br/&gt;&lt;br/&gt;
Cheers,&lt;br/&gt;
Paweł&lt;br/&gt;
-- &lt;br id="rjx:"&gt;
Related Articles on Paweł Barut blog:&lt;br&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a title="Oracle OpenWorld 2008" href="http://pbarut.blogspot.com/2008/07/oracle-openworld-2008.html"&gt;Oracle OpenWorld 2008&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;&lt;a title="Preparing for Oracle OpenWorld 2008" href="http://pbarut.blogspot.com/2008/09/preparing-for-oracle-openworld-2008.html"&gt;Preparing for Oracle OpenWorld 2008&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;&lt;a title="Arriving San Francisco – OOW2008 day 1." href="http://pbarut.blogspot.com/2008/09/arriving-san-francisno-oow2008-day-1.html"&gt;Arriving San Francisco – OOW2008 day 1.&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;&lt;a title="OOW2008 day 2 – Oracle Beehive" href="http://pbarut.blogspot.com/2008/09/oow2008-day-1-oracle-beehive.html"&gt;OOW2008 day 2 – Oracle Beehive&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;&lt;a title="OOW2008 day 3" href="http://pbarut.blogspot.com/2008/09/oow2008-day-3.html"&gt;OOW2008 day 3&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;&lt;a title="OOW2008 day 4 – HP-Oracle Exadata Server Announcement = Extreme Performance" href="http://pbarut.blogspot.com/2008/09/oow2008-day-3-hp-oracle-exadata-server.html"&gt;OOW2008 day 4 – HP-Oracle Exadata Server Announcement = Extreme Performance&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;&lt;a title="OOW2008 day 5 – It’s A Wrap" href="http://pbarut.blogspot.com/2008/09/oow2008-day-5-its-wrap.html"&gt;OOW2008 day 5 – It’s A Wrap&lt;/a&gt;
&lt;/ul&gt;</description><link>http://pbarut.blogspot.com/2008/09/arriving-san-francisno-oow2008-day-1.html</link><author>noreply@blogger.com (Paweł Barut)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4677316190423110840.post-2310412554757052853</guid><pubDate>Sat, 13 Sep 2008 09:41:00 +0000</pubDate><atom:updated>2008-09-13T12:38:58.454+02:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>oow2008</category><category domain='http://www.blogger.com/atom/ns#'>oracle</category><title>Preparing for Oracle OpenWorld 2008</title><description>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_6xECfZb_CD0/SMuLSzhMMqI/AAAAAAAAFaE/o9Jb0hCSsXE/s1600-h/OOW+Onsite+banner.JPG"&gt;&lt;img style="float:right; margin:0 10px 10px 0;cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_6xECfZb_CD0/SMuLSzhMMqI/AAAAAAAAFaE/o9Jb0hCSsXE/s400/OOW+Onsite+banner.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5245439346186400418" /&gt;&lt;/a&gt;
&lt;i id="xpff"&gt;Written by &lt;/i&gt;&lt;a title="Paweł Barut" href="http://pbarut.blogspot.com/" id="f.1t"&gt;&lt;i id="l4mv"&gt;Paweł Barut&lt;/i&gt;&lt;/a&gt;&lt;br id="qt6l"&gt;
It's just few days left to Oracle OpenWorld 2008. First of all my trip starts on Saturday 20th at 13:00 in Kraków, Poland. Then I switch planes in Munich, Germany, and land in San Francisco at 19:20. Just 6 hours ahead, but when I add 9 hours difference in time zones, that it adds up to over 15 hours travel. The worst thing will be adaptation to totally different timezone. I will stay in Americas Best Value Inn at Hallam Street - I hope this is in reasonable walking distance from Moscone Center. I've created an &lt;a title="map" href="http://maps.google.com/maps/ms?ie=UTF8&amp;amp;hl=en&amp;amp;msa=0&amp;amp;msid=112789957786157312975.000451821af69a70e8bf7&amp;amp;ll=37.783333,-122.401257&amp;amp;spn=0.044567,0.077248&amp;amp;z=14" id="a:fl"&gt;map&lt;/a&gt; on Google Maps - the street view feature is great - now I know how the hotel neighborhood looks like. I've also checked transportation services by &lt;a title="BART" href="http://www.bart.gov/schedules/quickplanner.aspx?orig=SFIA&amp;amp;dest=CIVC&amp;amp;type=departure&amp;amp;time=9%3A00+PM&amp;amp;date=9%2F20%2F2008" id="s4mm"&gt;BART&lt;/a&gt;. &lt;br&gt;
And the most important thing - &lt;a title="My OOW2008 Schedule" href="http://spreadsheets.google.com/pub?key=pHTrQsufqUNW-oAmOJdh6Lw" id="l0fk"&gt;My OOW2008 Schedule&lt;/a&gt;:&lt;br&gt;
&lt;iframe src="http://spreadsheets.google.com/pub?key=pHTrQsufqUNW-oAmOJdh6Lw" width="700" frameborder="0" height="300"&gt;&lt;/iframe&gt;&lt;br&gt;
I do not expect big changes in this schedule, but still, some smaller changes are possible. I could skip one or more sessions to see &lt;a title="Exhibition Hall" href="http://www.oracle.com/openworld/2008/exhibitor-center.html" id="v8nc"&gt;Exhibition Hall&lt;/a&gt; or go for &lt;a title="Unconference" href="http://wiki.oracle.com/page/Oracle+OpenWorld+Unconference" id="im4."&gt;Unconference&lt;/a&gt;.&lt;br&gt;
I'm also looking forward for meeting other Oracle Bloggers during &lt;a title="Blogger Meetup" href="http://www.oraclecommunity.net/events/event/show?id=1988559:Event:20142" id="gwm9"&gt;Blogger Meetup&lt;/a&gt; organized by &lt;a title="Eddie Awad" href="http://awads.net/wp/" id="n5vj"&gt;Eddie Awad&lt;/a&gt;.&lt;br&gt;
&lt;b&gt;Update:&lt;/b&gt; I forgot to mention about &lt;a href="http://www.oracle.com/openworld/2008/after-dark.html"&gt;After Dark at Oracle OpenWorld&lt;/a&gt; where are evening parties listed.
&lt;br&gt;&lt;br&gt;
See you in San Francisco,&lt;br id="oe53"&gt;
Paweł&lt;br id="fy0e"&gt;
&lt;br id="pyix"&gt;
-- &lt;br id="rjx:"&gt;
Related Articles on Paweł Barut blog:&lt;br&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a title="Oracle OpenWorld 2008" href="http://pbarut.blogspot.com/2008/07/oracle-openworld-2008.html" id="htsi"&gt;Oracle OpenWorld 2008&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;&lt;a title="One Year Blogging" href="http://pbarut.blogspot.com/2007/09/one-year-blogging.html" id="ai7x"&gt;One Year Blogging&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;&lt;a title="Blogger Beta Backup tool" href="http://pbarut.blogspot.com/2006/11/blogger-beta-backup-tool.html" id="nmh9"&gt;Blogger Beta Backup tool&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;&lt;a title="UTL_MATCH - String Similarity in Oracle" href="http://pbarut.blogspot.com/2006/12/utlmatch-string-similarity-in-oracle.html" id="c.bg"&gt;UTL_MATCH - String Similarity in Oracle&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;&lt;a title="Rolling Back the DDL" href="http://pbarut.blogspot.com/2006/09/rolling-back-ddl.html" id="t3ez"&gt;Rolling Back the DDL&lt;/a&gt; &lt;/li&gt;
&lt;/ul&gt;</description><link>http://pbarut.blogspot.com/2008/09/preparing-for-oracle-openworld-2008.html</link><author>noreply@blogger.com (Paweł Barut)</author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_6xECfZb_CD0/SMuLSzhMMqI/AAAAAAAAFaE/o9Jb0hCSsXE/s72-c/OOW+Onsite+banner.JPG' height='72' width='72'/><thr:total>2</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4677316190423110840.post-1399508944757739844</guid><pubDate>Wed, 13 Aug 2008 18:59:00 +0000</pubDate><atom:updated>2008-08-14T10:59:21.228+02:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>11g</category><category domain='http://www.blogger.com/atom/ns#'>dba</category><category domain='http://www.blogger.com/atom/ns#'>error</category><category domain='http://www.blogger.com/atom/ns#'>oracle</category><title>DB Link to Oracle 11g</title><description>&lt;i id="xpff"&gt;Written by &lt;/i&gt;&lt;a title="Paweł Barut" href="http://pbarut.blogspot.com/" id="f.1t"&gt;&lt;i id="l4mv"&gt;Paweł Barut&lt;/i&gt;&lt;/a&gt;&lt;br id="qt6l"&gt;
As you know in Oracle 11g passwords are case sensitive by default. This applies to connecting via SQL*Plus or other client tools. And it also applies to database links between databases. So when you link from Oracle 10g to Oracle 11g create database link like this:&lt;br id="avjj"&gt;
&lt;blockquote id="y2fl"&gt;&lt;b id="r2yj"&gt;CREATE DATABASE LINK my_link&lt;br id="avjj0"&gt;
CONNECT TO remote_user IDENTIFIED BY "CaSe_SeNsItIvE_PaSsWoRd"&lt;br id="qkpg"&gt;
USING 'TNS_ID_11G';&lt;/b&gt;&lt;br id="b:ch"&gt;
&lt;/blockquote&gt;
Do not forget to enclose password by double-quote marks!
&lt;br&gt;When you do not set password this way, you will be getting: &lt;br id="r2yj0"&gt;
&lt;blockquote id="r2yj1"&gt;&lt;b id="r2yj2"&gt;ORA-01017: invalid username/password; logon denied.&lt;/b&gt;&lt;br id="r76l"&gt;
&lt;/blockquote&gt;
Hope this small tip will be useful for someone.&lt;br id="qkpg0"&gt;
&lt;br id="oe53"&gt;
Paweł&lt;br id="fy0e"&gt;
&lt;br id="fy0e0"&gt;
More on &lt;a title="Creating Database Links" href="http://download.oracle.com/docs/cd/B28359_01/server.111/b28286/statements_5005.htm#SQLRF01205" id="c8n:"&gt;Creating Database Links&lt;/a&gt;.&lt;br id="arum0"&gt;
&lt;br id="pyix"&gt;
-- &lt;br id="rjx:"&gt;
Related Articles on Paweł Barut blog:&lt;br id="ag3o"&gt;
&lt;ul id="lrkd"&gt;
&lt;li id="lrkd0"&gt;&lt;a title="Using Named Parameters within SQL" href="http://pbarut.blogspot.com/2007/10/using-named-parameters-within-sql.html" id="ojn2"&gt;Using Named Parameters within SQL&lt;/a&gt; &lt;/li&gt;
&lt;li id="lrkd1"&gt;&lt;a title="Oracle 11g is released - my links" href="http://pbarut.blogspot.com/2007/08/oracle-11g-is-released-my-links.html" id="eaf1"&gt;Oracle 11g is released - my links&lt;/a&gt; &lt;/li&gt;
&lt;li id="lrkd2"&gt;&lt;a title="Table that cannot be deleted" href="http://pbarut.blogspot.com/2007/03/table-that-cannot-be-deleted.html" id="mcgb"&gt;Table that cannot be deleted&lt;/a&gt; &lt;/li&gt;
&lt;li id="lrkd3"&gt;&lt;a title="ORA-03297 on empty datafile" href="http://pbarut.blogspot.com/2007/01/ora-03297-on-empty-datafile.html" id="o855"&gt;ORA-03297 on empty datafile&lt;/a&gt; &lt;/li&gt;
&lt;li id="lrkd4"&gt;&lt;a title="Rolling Back the DDL" href="http://pbarut.blogspot.com/2006/09/rolling-back-ddl.html" id="xp8x"&gt;Rolling Back the DDL&lt;/a&gt; &lt;/li&gt;
&lt;/ul&gt;</description><link>http://pbarut.blogspot.com/2008/08/db-link-to-oracle-11g.html</link><author>noreply@blogger.com (Paweł Barut)</author><thr:total>19</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4677316190423110840.post-95761385982870764</guid><pubDate>Mon, 04 Aug 2008 21:09:00 +0000</pubDate><atom:updated>2008-12-10T23:58:15.886+01:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>photos</category><category domain='http://www.blogger.com/atom/ns#'>other</category><category domain='http://www.blogger.com/atom/ns#'>software</category><title>Lost Pictures - Recovered Pictures</title><description>&lt;i id="xpff"&gt;Written by &lt;/i&gt;&lt;a title="Paweł Barut" href="http://pbarut.blogspot.com/" id="f.1t"&gt;&lt;i id="l4mv"&gt;Paweł Barut&lt;/i&gt;&lt;/a&gt;&lt;br id="qt6l"&gt;
This weekend I've spend great time with family, and we make lot of pictures. But when I've arrived home, and plugged camera to PC, it looked like this:&lt;img src="http://2.bp.blogspot.com/_6xECfZb_CD0/SJdwlTcfY1I/AAAAAAAAFXI/plTqywl4kq8/s400/broken_pictures.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5230773278391362386" /&gt;&lt;br id="otmk"&gt;
All pictures seems gone ...&lt;br id="g9f9"&gt;
For us computer geeks data lost is not an option. I've started to look for tools that can help me recover those data. In such situation rule number one is: not allow to write anything on this storage. Any additional write could lead to total data lost. I've googl`ed for software that could help. I've found lot of software that does "FAT Recovery", "Recover Digital Camera", "Data Recovery" - most of them priced 49-200$. Well, not big money, but still quite many when you need to recover 50 pictures. And you never know, if this software is worth it, and will solve your problem.&lt;br id="f_cd"&gt;
Finally I've found really great software that I would like to recommend: &lt;a title="PC INSPECTOR™ smart recovery" href="http://www.pcinspector.de/Sites/smart_recovery/info.htm?language=1" id="ckvy"&gt;PC INSPECTOR™ smart recovery&lt;/a&gt;. It run very fast, and recovered almost all pictures. When looking into Camera counter and number of files, only one picture is missing. This software is freeware, but authors wants us to "Pay What You Want". And I've did it, as this software did his job perfectly.&lt;br id="v.g0"&gt;
Hope it help someone else to recover lost pictures.&lt;br id="q.fk"&gt;
&lt;br id="oe53"&gt;
Paweł&lt;br id="arum0"&gt;
&lt;br id="pyix"&gt;
-- &lt;br id="rjx:"&gt;
Related Articles on Paweł Barut blog:&lt;br id="ag3o"&gt;
&lt;ul id="y_8."&gt;&lt;/ul&gt;
&lt;ul id="sxmg"&gt;
&lt;li id="sxmg0"&gt;&lt;a title="Oracle OpenWorld 2008" href="http://pbarut.blogspot.com/2008/07/oracle-openworld-2008.html" id="zzo7"&gt;Oracle OpenWorld 2008&lt;/a&gt; &lt;/li&gt;
&lt;li id="sxmg1"&gt;&lt;a title="Pictures on Google map" href="http://pbarut.blogspot.com/2007/07/pictures-on-google-map.html" id="niv8"&gt;Pictures on Google map&lt;/a&gt; &lt;/li&gt;
&lt;li id="sxmg2"&gt;&lt;a title="Rant: Great fun with Wii" href="http://pbarut.blogspot.com/2007/12/rant-great-fun-with-wii.html" id="cp9o"&gt;Rant: Great fun with Wii&lt;/a&gt; &lt;/li&gt;
&lt;li id="sxmg3"&gt;&lt;a title="13 – Happy or Unhappy Number?" href="http://pbarut.blogspot.com/2006/09/13-happy-or-unhappy-number.html" id="fofs"&gt;13 – Happy or Unhappy Number?&lt;/a&gt; &lt;/li&gt;
&lt;li id="sxmg4"&gt;&lt;a title="Autobackup of SPFILE and CONTROLFILE" href="http://pbarut.blogspot.com/2007/01/autobackup-of-spfile-and-controlfile.html" id="geug"&gt;Autobackup of SPFILE and CONTROLFILE&lt;/a&gt; &lt;/li&gt;
&lt;/ul&gt;</description><link>http://pbarut.blogspot.com/2008/08/lost-pictures-recovered-pictures.html</link><author>noreply@blogger.com (Paweł Barut)</author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_6xECfZb_CD0/SJdwlTcfY1I/AAAAAAAAFXI/plTqywl4kq8/s72-c/broken_pictures.JPG' height='72' width='72'/><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4677316190423110840.post-8883017179768340949</guid><pubDate>Thu, 17 Jul 2008 20:44:00 +0000</pubDate><atom:updated>2008-07-17T22:46:16.630+02:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>oow2008</category><category domain='http://www.blogger.com/atom/ns#'>oracle</category><title>Oracle OpenWorld 2008</title><description>&lt;i id="xpff"&gt;Written by &lt;/i&gt;&lt;a title="Paweł Barut" href="http://pbarut.blogspot.com/" id="f.1t"&gt;&lt;i id="l4mv"&gt;Paweł Barut&lt;/i&gt;&lt;/a&gt;&lt;br id="qt6l"&gt;
It's only 2 month left to &lt;a title="Oracle OpenWorld 2008" href="http://www.oracle.com/openworld/2008/index.html" id="d1l8"&gt;Oracle OpenWorld 2008&lt;/a&gt;. Few news about this conference and my first time ever participation. Last week I've registered for &lt;a title="OOW2008 as Blogger" href="http://blogs.oracle.com/otn/2008/06/13/#a1335" id="xouv"&gt;OOW2008 as Blogger&lt;/a&gt;. Yesterday I've received confirmation email - I was accepted. I'm really looking forward to be in San Francisco and meet with all Oracle geeks, enthusiast and other bloggers.&lt;br id="tc-w"&gt;
I still need to apply for US Visa, and organize my trip. And of course &lt;a title="choose sessions" href="http://www28.cplan.com/cc208/catalog.jsp" id="cllz"&gt;choose sessions&lt;/a&gt; in which I would like to participate.&lt;br id="kiid"&gt;
&lt;br id="kiid0"&gt;
There is also one good news for people in Eastern Europe, Post Soviet Republics, Middle East &amp;amp; Asia. People from those countries can get discount on registration fee.&lt;br id="eukj"&gt;
&lt;blockquote id="eukj0"&gt;Attendees will need to enter &lt;b id="dp6s"&gt;EMKT&lt;/b&gt; as their   priority code during "Step 2" of the registration process. 
&lt;p id="eukj1"&gt;The countries from the EE, CIS &amp;amp;   MEA regions which qualify for the discount   are:&lt;/p&gt;
&lt;p id="eukj2"&gt;African
Operations (except South Africa), Albania, Armenia, Azerbaijan,
Belarus, Bosnia &amp;amp; Herzegovina, Bulgaria, Croatia, Czech Republic,
Cyprus, Estonia, FYR Macedonia, Georgia, Hungary, Iraq, Iran, Jordan,
Kazakhstan, Kyrgyzstan, Latvia, Lebanon, Lithuania, Malta, Moldova,
Montenegro, Oman, Palestine, Poland, Romania, Russia, Serbia, Slovakia,
Slovenia, Syria, Tajikistan, Turkey, Turkmenistan, Ukraine, Uzbekistan,
and Yemen.&lt;/p&gt;
&lt;/blockquote&gt;
                  
                  Do not wait. Register for Oracle OpenWorld 2008 !&lt;br id="arum"&gt;
&lt;br id="oe53"&gt;
Paweł&lt;br id="arum0"&gt;
&lt;br id="pyix"&gt;
-- &lt;br id="rjx:"&gt;
Related Articles on Paweł Barut blog:&lt;br id="ag3o"&gt;
&lt;ul id="y_8."&gt;
&lt;li id="y_8.0"&gt;&lt;a title="One Year Blogging" href="http://pbarut.blogspot.com/2007/09/one-year-blogging.html" id="cbkr"&gt;One Year Blogging&lt;/a&gt; &lt;/li&gt;
&lt;li id="y_8.1"&gt;&lt;a title="I've been tagged 3 times; 8 things about me" href="http://pbarut.blogspot.com/2008/01/ive-been-tagged-3-times-8-things-about.html" id="fia2"&gt;I've been tagged 3 times; 8 things about me&lt;/a&gt; &lt;/li&gt;
&lt;li id="y_8.2"&gt;&lt;a title="Oracle 11g new features" href="http://pbarut.blogspot.com/2006/10/oracle-11g-new-features.html" id="twzg"&gt;Oracle 11g new features&lt;/a&gt;&lt;/li&gt;
&lt;li id="dhd2"&gt;&lt;a title="Oracle 11g new features, part 2" href="http://pbarut.blogspot.com/2006/10/oracle-11g-new-features-part-2.html" id="rbnf"&gt;Oracle 11g new features, part 2&lt;/a&gt; &lt;/li&gt;
&lt;a title="Oracle 11g new features, part 2" href="http://pbarut.blogspot.com/2006/10/oracle-11g-new-features-part-2.html" id="ek9t"&gt;&lt;/a&gt; 
&lt;li id="y_8.3"&gt;&lt;a title="Oracle Database 11g Release 2 is coming" href="http://pbarut.blogspot.com/2008/04/oracle-database-11g-release-2-is-coming.html" id="wshr"&gt;Oracle Database 11g Release 2 is coming&lt;/a&gt; &lt;/li&gt;
&lt;/ul&gt;
&lt;br id="kiid1"&gt;</description><link>http://pbarut.blogspot.com/2008/07/oracle-openworld-2008.html</link><author>noreply@blogger.com (Paweł Barut)</author><thr:total>4</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4677316190423110840.post-8148551470589293550</guid><pubDate>Sat, 17 May 2008 09:55:00 +0000</pubDate><atom:updated>2008-05-17T11:57:12.421+02:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>error</category><category domain='http://www.blogger.com/atom/ns#'>xml</category><category domain='http://www.blogger.com/atom/ns#'>oracle</category><title>ORA-00904: "XMLROOT": invalid identifier</title><description>&lt;i id="xpff"&gt;Written by &lt;/i&gt;&lt;a title="Paweł Barut" href="http://pbarut.blogspot.com/" id="f.1t"&gt;&lt;i id="l4mv"&gt;Paweł Barut&lt;/i&gt;&lt;/a&gt;&lt;br id="qt6l"&gt;
Some time ago I've had noticed strange problem with XMLRoot function. I was installing application on production server and I've noticed that code:&lt;br id="gh980"&gt;
&lt;blockquote id="om_g0"&gt;SQL&amp;gt; select XMLRoot(xmltype('&amp;lt;a&amp;gt;a&amp;lt;/a&amp;gt;'))&lt;br id="cl:x0"&gt;
&amp;nbsp; 2&amp;nbsp; from dual;&lt;br id="om_g1"&gt;
&lt;/blockquote&gt;
gives error:&lt;br id="cl:x1"&gt;
&lt;blockquote id="suwk0"&gt;select XMLRoot(xmltype('&amp;lt;a&amp;gt;a&amp;lt;/a&amp;gt;'))&lt;br id="cl:x2"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;br id="cl:x3"&gt;
Error in line 1:&lt;br id="cl:x4"&gt;
ORA-00904: "XMLROOT": invalid identifier&lt;br id="om_g2"&gt;
&lt;/blockquote&gt;
WTF, &lt;span id="pnfl0"&gt;&lt;b id="tk4g0"&gt;it was running perfectly on development &lt;/b&gt;&lt;/span&gt;and test environment!&lt;br id="g3tr0"&gt;
Quick search revealed that XMLROOT is function in XDB schema, which was missing in production environment. I've just copies source code for function from test environment and I could proceed further.&lt;br id="d-vf0"&gt;
After some time, I've decided to check &lt;span id="shue0"&gt;&lt;b id="tk4g1"&gt;why this function was missing?&lt;/b&gt;&lt;/span&gt;&lt;br id="d-vf1"&gt;
Quick search showed that function is created by script ?\demo\schema\order_entry\xdbUtilities.sql&lt;br id="shue1"&gt;
Strange, well documented function is created &lt;span id="shue2"&gt;&lt;b id="tk4g2"&gt;only when you install demo schemas?&lt;/b&gt;&lt;/span&gt;&lt;span id="shue2"&gt; Seems that there should be another explanation.&lt;br id="bksz0"&gt;
Then I've found that in &lt;a title="documentation" href="http://download.oracle.com/docs/cd/B28359_01/server.111/b28286/functions233.htm#SQLRF06230" id="lr2u"&gt;documentation&lt;/a&gt; this function has 2 mandatory attributes, while my code has only one attribute. So there are 2 versions of XMLRoot function:&lt;br id="i1cq0"&gt;
&lt;/span&gt;
&lt;ol id="i1cq1"&gt;
&lt;li id="i1cq2"&gt;SQL function; see &lt;span id="shue2"&gt;&lt;a title="documentation" href="http://download.oracle.com/docs/cd/B28359_01/server.111/b28286/functions233.htm#SQLRF06230" id="lr2u"&gt;documentation&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li id="i1cq3"&gt;&lt;span id="shue2"&gt;Simplified version created by demo in XDB schema - this version can be also used in PL/SQL&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span id="uwpk0"&gt;&lt;br id="uwpk1"&gt;
&lt;b id="tk4g3"&gt;Conclusion:&lt;/b&gt;&lt;/span&gt; my original code &lt;span id="uwpk2"&gt;&lt;b id="tk4g4"&gt;should look like that&lt;/b&gt;&lt;/span&gt;:&lt;br id="z6v_0"&gt;
&lt;blockquote id="ez5j0"&gt;SQL&amp;gt; select XMLRoot(xmltype('&amp;lt;a&amp;gt;a&amp;lt;/a&amp;gt;')&lt;span id="ez5j1"&gt;&lt;b id="tk4g5"&gt;, version '1.0', standalone yes&lt;/b&gt;&lt;/span&gt;)&lt;br id="ez5j2"&gt;
&amp;nbsp; 2&amp;nbsp; from dual;&lt;br id="ez5j3"&gt;
&lt;br id="ez5j4"&gt;
XMLROOT(XMLTYPE('&amp;lt;A&amp;gt;A&amp;lt;/A&amp;gt;'),VERSION'1.0',STANDALONEYES)&lt;br id="ez5j5"&gt;
------------------------------------------------------------------------&lt;br id="ez5j6"&gt;
&lt;br id="ez5j7"&gt;
&amp;lt;?xml version="1.0" standalone="yes"?&amp;gt;&lt;br id="ez5j8"&gt;
&amp;lt;a&amp;gt;a&amp;lt;/a&amp;gt;&lt;br id="ez5j9"&gt;
&lt;/blockquote&gt;
This can run without XMLROOT function in XDB schema.&lt;br id="njv_0"&gt;
&lt;br id="njv_1"&gt;
Hope this will help someone to save some time.&lt;br id="njv_2"&gt;
Cheers,Paweł&lt;br id="z6v_1"&gt;
&lt;br id="pyix"&gt;
-- &lt;br id="rjx:"&gt;
Related Articles on Paweł Barut blog:&lt;br id="f-0t0"&gt;
&lt;ul id="f-0t1"&gt;
&lt;li id="f-0t2"&gt;&lt;a title="Useful links on Oracle XML DB" href="http://pbarut.blogspot.com/2008/02/useful-links-on-oracle-xml-db.html" id="wfzj"&gt;Useful links on Oracle XML DB&lt;/a&gt;&lt;/li&gt;
&lt;li id="f-0t3"&gt;&lt;a title="Solving ORA-22905: cannot access rows from a non-nested table item" href="http://pbarut.blogspot.com/2007/05/solving-ora-22905-cannot-access-rows.html" id="il1_"&gt;Solving ORA-22905: cannot access rows from a non-nested table item&lt;/a&gt;&lt;/li&gt;
&lt;li id="f-0t4"&gt;&lt;a title="Oracle XMLType: exctractvalue vs. extract" href="http://pbarut.blogspot.com/2007/01/oracle-xmltype-exctractvalue-vs-extract.html" id="p562"&gt;Oracle XMLType: exctractvalue vs. extract&lt;/a&gt;&lt;/li&gt;
&lt;li id="f-0t5"&gt;&lt;a title="Binding list variable" href="http://pbarut.blogspot.com/2006/10/binding-list-variable.html" id="e7_7"&gt;Binding list variable&lt;/a&gt;&lt;/li&gt;
&lt;li id="f-0t6"&gt;&lt;a title="Empty String IS NOT NULL?" href="http://pbarut.blogspot.com/2007/02/empty-string-is-not-null.html" id="amwp"&gt;Empty String IS NOT NULL?&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description><link>http://pbarut.blogspot.com/2008/05/ora-00904-xmlroot-invalid-identifier.html</link><author>noreply@blogger.com (Paweł Barut)</author><thr:total>5</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4677316190423110840.post-1282930488238759401</guid><pubDate>Sun, 20 Apr 2008 13:40:00 +0000</pubDate><atom:updated>2008-04-20T15:45:59.298+02:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>dba</category><category domain='http://www.blogger.com/atom/ns#'>security</category><category domain='http://www.blogger.com/atom/ns#'>oracle</category><title>Oracle CPUApr2008 for DB: 10.2.0.4 patch set  and first install</title><description>&lt;i id="xpff"&gt;Written by &lt;/i&gt;&lt;a title="Paweł Barut" href="http://pbarut.blogspot.com/" id="f.1t"&gt;&lt;i id="l4mv"&gt;Paweł Barut&lt;/i&gt;&lt;/a&gt; &lt;br id="qt6l"&gt;To my surprise CPUApr2008 is not available for latest patch-set of Oracle 10gR2 (10.2.0.4) that was released in first quarter 2008. In note that goes together with patch 6810189:&lt;br id="w4vz"&gt;&lt;blockquote id="ss7g"&gt;The following are the updated components of this patch set:&lt;br id="w-0m"&gt;&amp;nbsp; * Up to January 2008 CPU is included in this patch set&lt;br id="xy9_"&gt;...&lt;br id="h3ln"&gt;&lt;/blockquote&gt;Based on this I was expecting that CPUApr2008 will be also available for 10.2.0.4 patch-set. In note 552248.1 you will find then:&lt;br id="ibz."&gt;&lt;blockquote id="f85g"&gt;&lt;p id="jxuz" style="font-weight: bold;"&gt;1.3 Database 10.2.0.4 Patch Set&lt;/p&gt;&lt;p id="z300"&gt;The Database 10.2.0.4 Patch Set includes the CPUApr2008 content.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p id="tl7r"&gt;So the CPUApt2008 was available to all at least &lt;span id="c8gr" style="font-weight: bold;"&gt;month before &lt;/span&gt;official release and &lt;span id="vxzk" style="font-weight: bold;"&gt;was included in 10.2.0.4 patch set&lt;/span&gt;! &lt;span id="x016" style="font-weight: bold;"&gt;Is this situation secure?&lt;/span&gt;&lt;br id="vj8g"&gt;&lt;/p&gt;&lt;br id="p05v"&gt;&lt;p id="tl7r"&gt;Anyway I had to install CPUApr2008. It's good that there is no need &lt;a title="to recompile views" href="http://pbarut.blogspot.com/2008/02/cpujan2008-one-thing-that-every-dba.html" id="c9n4"&gt;to recompile views&lt;/a&gt; this time. I've sucessfully installed it on test server, with minor problem. In installation log I've found one problem:&lt;br id="egmh"&gt;&lt;/p&gt;&lt;blockquote id="lvmv"&gt;&lt;p id="tl7r"&gt;BEGIN emd_maintenance.recompile_invalid_objects; END;&lt;br id="uc4y"&gt;&lt;br id="xm4y"&gt;*&lt;br id="k436"&gt;ERROR at line 1:&lt;br id="bk4k"&gt;ORA-04068: existing state of packages has been discarded&lt;br id="ogpn"&gt;ORA-04061: existing state of package body "SYSMAN.EMD_MAINTENANCE" has been&lt;br id="ef7r"&gt;invalidated&lt;br id="pw.s"&gt;ORA-06508: PL/SQL: could not find program unit being called:&lt;br id="d4vf"&gt;"SYSMAN.EMD_MAINTENANCE"&lt;br id="z0_b"&gt;ORA-06512: at line 1&lt;br id="evhd"&gt;&lt;/p&gt;&lt;/blockquote&gt;Hmm... After reconnecting, this commend run without errors:&lt;br id="gfou"&gt;&lt;blockquote id="o3bp"&gt;SQL&amp;gt; conn / as sysdba&lt;br id="texw"&gt;Connected.&lt;br id="xk_v"&gt;SQL&amp;gt; BEGIN sysman.emd_maintenance.recompile_invalid_objects; END;&lt;br id="b8l6"&gt;&lt;br id="e7cx"&gt;PL/SQL procedure successfully completed.&lt;br id="tas0"&gt;&lt;/blockquote&gt;After all, server runs ok, and I do not find any problems within applications running on this.&lt;br id="idzt"&gt;&lt;br id="y0:u"&gt;&lt;br id="q2_x"&gt;Cheers Paweł&lt;br id="hvod"&gt;&lt;br id="pyix"&gt;-- &lt;br id="rjx:"&gt;Related Articles on Paweł Barut blog:&lt;br id="gc_5"&gt;&lt;ul id="pp92"&gt;&lt;li id="k9:8"&gt;&lt;a title="CPUJan2008: One thing that every DBA should know about it." href="http://pbarut.blogspot.com/2008/02/cpujan2008-one-thing-that-every-dba.html" id="x_5a"&gt;CPUJan2008: One thing that every DBA should know about it.&lt;/a&gt; &lt;/li&gt;&lt;li id="yt9y"&gt;&lt;a title="Security: getting DBA rights quite easy" href="http://pbarut.blogspot.com/2006/12/security-getting-dba-rights-quite-easy.html" id="aqdp"&gt;Security: getting DBA rights quite easy&lt;/a&gt; &lt;/li&gt;&lt;li id="g751"&gt;&lt;a title="Comments in SQL*Plus" href="http://pbarut.blogspot.com/2007/10/comments-in-sqlplus.html" id="bpua"&gt;Comments in SQL*Plus&lt;/a&gt; &lt;/li&gt;&lt;li id="ubqg"&gt;&lt;a title="Extracting Data to Excel using only SQL*Plus" href="http://pbarut.blogspot.com/2007/07/extracting-data-to-excel-using-only.html" id="m1wz"&gt;Extracting Data to Excel using only SQL*Plus&lt;/a&gt; &lt;/li&gt;&lt;li id="r3c1"&gt;&lt;a title="RMAN TIP: Avoiding ORA-27211" href="http://pbarut.blogspot.com/2007/04/rman-tip-avoiding-ora-27211.html" id="g-yz"&gt;RMAN TIP: Avoiding ORA-27211&lt;/a&gt; &lt;/li&gt;&lt;/ul&gt;</description><link>http://pbarut.blogspot.com/2008/04/oracle-cpuapr2008-for-db-10204-patch.html</link><author>noreply@blogger.com (Paweł Barut)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4677316190423110840.post-1630903979952280195</guid><pubDate>Tue, 15 Apr 2008 20:52:00 +0000</pubDate><atom:updated>2008-04-15T22:53:57.591+02:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>11g</category><category domain='http://www.blogger.com/atom/ns#'>oracle</category><title>Oracle Database 11g Release 2 is coming</title><description>&lt;i id="xpff"&gt;Written by &lt;/i&gt;&lt;a title="Paweł Barut" href="http://pbarut.blogspot.com/" id="f.1t"&gt;&lt;i id="l4mv"&gt;Paweł Barut&lt;/i&gt;&lt;/a&gt; &lt;br id="qt6l"&gt;      I've just received Oracle Partner Network newsletter with invitation to Oracle Database 11g Release 2 Roadshow. On this Roadshow Oracle is also going to find partners for beta testing. My guess: This year Oracle 11g R2 will be the main topic on Oracle Open World.&lt;br id="fjnc"&gt;Schedule of Roadshow in Europe:&lt;br id="sjug"&gt;&lt;ul id="fx.9"&gt;&lt;li id="mcor"&gt;May 12, 2008: UK, Reading&lt;/li&gt;&lt;li id="pyv4"&gt;May 13, 2008: Benelux, De Meern&lt;/li&gt;&lt;li id="tga1"&gt;May 14, 2008: Germany, Muenchen&lt;/li&gt;&lt;li id="bg6s"&gt;May 15, 2008: Italy, Milan&lt;/li&gt;&lt;li id="y7p:"&gt;May 16, 2008: Turkey, Istanbul&lt;/li&gt;&lt;li id="u1m9"&gt;May 19, 2008: Czech Republic, Prague&lt;/li&gt;&lt;li id="ia5q"&gt;May 20, 2008: Poland, Kraków&lt;/li&gt;&lt;li id="qlgb"&gt;May 21, 2008: Sweden, Stockholm&lt;/li&gt;&lt;li id="gg46"&gt;May 22, 2008: Spain, Madrid &lt;/li&gt;&lt;/ul&gt;If you are OPN member then you probably also get invitation.&lt;br id="ow75"&gt;I've registered. I hope to get confirmation soon. I do not expect many technical details. I rather expect marketing speech. For me most important would be to meet people that work on new DB version, and become beta tester for 11gR2.&lt;br id="y0:u"&gt;&lt;br id="q2_x"&gt;Cheers Paweł&lt;br id="hvod"&gt;&lt;br id="pyix"&gt;-- &lt;br id="rjx:"&gt;Related Articles on Paweł Barut blog:&lt;br id="gvkj"&gt;&lt;ul id="foke"&gt;&lt;li id="jb67"&gt;&lt;a title="Using Named Parameters within SQL" href="http://pbarut.blogspot.com/2007/10/using-named-parameters-within-sql.html" id="h_7-"&gt;Using Named Parameters within SQL&lt;/a&gt; &lt;/li&gt;&lt;li id="jz4i"&gt;&lt;a title="Testing new OCI8 (1.3.0 beta) for PHP with DRCP Support" href="http://pbarut.blogspot.com/2007/10/testing-new-oci8-130-beta-for-php-with.html" id="p6ql"&gt;Testing new OCI8 (1.3.0 beta) for PHP with DRCP Support&lt;/a&gt; &lt;/li&gt;&lt;li id="usvw"&gt;&lt;a title="DRCP: Database Resident Connection Pooling" href="http://pbarut.blogspot.com/2007/08/drcp-database-resident-connection.html" id="ug5y"&gt;DRCP: Database Resident Connection Pooling&lt;/a&gt; &lt;/li&gt;&lt;li id="d1ki"&gt;&lt;a title="Oracle 11g is released - my links" href="http://pbarut.blogspot.com/2007/08/oracle-11g-is-released-my-links.html" id="wm_v"&gt;Oracle 11g is released - my links&lt;/a&gt; &lt;/li&gt;&lt;li id="j9lz"&gt;&lt;a title="Solving ORA-22905: cannot access rows from a non-nested table item" href="http://pbarut.blogspot.com/2007/05/solving-ora-22905-cannot-access-rows.html" id="yv5j"&gt;Solving ORA-22905: cannot access rows from a non-nested table item&lt;/a&gt; &lt;/li&gt;&lt;/ul&gt;</description><link>http://pbarut.blogspot.com/2008/04/oracle-database-11g-release-2-is-coming.html</link><author>noreply@blogger.com (Paweł Barut)</author><thr:total>1</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4677316190423110840.post-2367403130222391514</guid><pubDate>Mon, 24 Mar 2008 17:34:00 +0000</pubDate><atom:updated>2008-12-10T23:58:16.089+01:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>dba</category><category domain='http://www.blogger.com/atom/ns#'>oracle</category><title>Which Temporary Tablespace is used for sorts?</title><description>&lt;i&gt;Written by &lt;/i&gt;&lt;a title="Paweł Barut" href="http://pbarut.blogspot.com/" id="f.1t"&gt;&lt;i&gt;Paweł Barut&lt;/i&gt;&lt;/a&gt; &lt;br&gt;This time I will write about &lt;a href="http://pbarut.blogspot.com/2008/03/which-temporary-tablespace-is-used-for.html"&gt;"Which Temporary Tablespace is used for sorts"&lt;/a&gt; ?. I was not wondering about this much, as usually there is only one Temporary tablespace in DB. Lets assume situation, as show on picture:&lt;img style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;" src="http://2.bp.blogspot.com/_6xECfZb_CD0/R-bCFU2sNaI/AAAAAAAAEo4/O-pSPBXaiCY/s400/user_temporary_tbs.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5181041818089567650" /&gt;&lt;ul&gt;&lt;li&gt;User A&lt;/li&gt;&lt;ul&gt;&lt;li&gt;Assigned to Temporary Tablespace TEMP_A&lt;/li&gt;&lt;li&gt;has table TA&lt;br&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;User B&lt;/li&gt;&lt;ul&gt;&lt;li&gt;Assigned to Temporary Tablespace TEMP_B&lt;/li&gt;&lt;li&gt;has table TB&lt;/li&gt;&lt;li&gt;owns procedure PB (definer rights)&lt;br&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;Both users has access rights for all above object (Select on Tables and Execute on Procedure)&lt;br&gt;&lt;/li&gt;&lt;/ul&gt;So let's discuss some situations:&lt;br&gt;&lt;ol&gt;&lt;li&gt;User A runs query on tables TA or TB (or any other) - when disk sort is needed then tablespace TEMP_A is used&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;User A&lt;/span&gt; executes procedure PB. Procedure PB opens cursor on table TB (or TA or any other). If disk sort is required then tablespace &lt;span style="font-weight: bold;"&gt;TEMP_B is used&lt;/span&gt;.&lt;br&gt;&lt;/li&gt;&lt;/ol&gt;For me it was bit surprising. Especially that I did not find anywhere in Oracle documentation description for this behaviour:&lt;br&gt;&lt;blockquote&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;TEMPORARY TABLESPACE Clause&lt;/span&gt;&lt;br style="font-style: italic;"&gt;&lt;span style="font-style: italic;"&gt;Specify the tablespace or tablespace group for the user's temporary segments.&lt;/span&gt;&lt;br&gt;&lt;/blockquote&gt;I was expecting that all sort segments will be created in tablespace that is assigned to that user. I was hopping to solve one of my issues that way. But it occurred that, &lt;span style="font-weight: bold;"&gt;sort segment is created by user B, because procedure PB uses user B rights&lt;/span&gt;. It is reasonable, as this is consistent with granting access to objects, and temporary objects are treated the same way as permanent ones. On the other hand select is run for user A - shouldn't TEMP_A be used in all cases? What is your opinion on that?&lt;br&gt;&lt;br&gt;Cheers Paweł&lt;br&gt;&lt;br&gt;-- &lt;br&gt;Related Articles on Paweł Barut blog:&lt;br&gt;&lt;ul&gt;&lt;li&gt;&lt;a title="How to shrink Oracle Context Index" href="http://pbarut.blogspot.com/2008/01/how-to-shrink-oracle-context-index.html" id="simo"&gt;How to shrink Oracle Context Index&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a title="Using Named Parameters within SQL" href="http://pbarut.blogspot.com/2007/10/using-named-parameters-within-sql.html" id="i195"&gt;Using Named Parameters within SQL&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a title="Alternative Syntax for Insert" href="http://pbarut.blogspot.com/2007/09/alternative-syntax-for-insert.html" id="p7sk"&gt;Alternative Syntax for Insert&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a title="Extracting Data to Excel using only SQL*Plus" href="http://pbarut.blogspot.com/2007/07/extracting-data-to-excel-using-only.html" id="ktym"&gt;Extracting Data to Excel using only SQL*Plus&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a title="Rows to single string or aggregating strings" href="http://pbarut.blogspot.com/2007/06/rows-to-single-string-or-aggregating.html" id="vnn6"&gt;Rows to single string or aggregating strings&lt;/a&gt; &lt;/li&gt;&lt;/ul&gt;</description><link>http://pbarut.blogspot.com/2008/03/which-temporary-tablespace-is-used-for.html</link><author>noreply@blogger.com (Paweł Barut)</author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_6xECfZb_CD0/R-bCFU2sNaI/AAAAAAAAEo4/O-pSPBXaiCY/s72-c/user_temporary_tbs.gif' height='72' width='72'/><thr:total>2</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4677316190423110840.post-198303977525696446</guid><pubDate>Sun, 09 Mar 2008 18:24:00 +0000</pubDate><atom:updated>2008-03-09T19:26:21.551+01:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>security</category><category domain='http://www.blogger.com/atom/ns#'>programming</category><category domain='http://www.blogger.com/atom/ns#'>google</category><title>Horrible practice of storing users passwords</title><description>&lt;i&gt;Written by &lt;/i&gt;&lt;a title="Paweł Barut" href="http://pbarut.blogspot.com/" id="f.1t"&gt;&lt;i&gt;Paweł Barut&lt;/i&gt;&lt;/a&gt; &lt;br&gt;I've read today &lt;a title="terrifying article" href="http://www.codinghorror.com/blog/archives/001072.html" id="ku:e"&gt;terrifying article&lt;/a&gt; about un-ethical storage of users password. It is often common practice that users passwords are stored unencrypted in database. But this case is even more dreadful. It about software, &lt;a title="G-Archiver" href="http://www.brothersoft.com/g-archiver-58027.html" id="gn49"&gt;G-Archiver&lt;/a&gt;, that is available to everyone. If you ever used this software, you should change your G-mail password right now.&lt;br&gt;So what is the problem:&lt;br&gt;&lt;ul&gt;&lt;li&gt;G-Archiver has build in user-name and password for one of g-mail accounts.&lt;/li&gt;&lt;li&gt;Whenever someone uses G-Archiver and provides his credentials for g-mail, user-name and password is send to author of this software&lt;/li&gt;&lt;li&gt;Additionally, any one who finds out the user-name and password stored in G-Archiver, can get passwords of thousand of previous users.&lt;/li&gt;&lt;/ul&gt;&lt;a title="Go and read" href="http://www.codinghorror.com/blog/archives/001072.html" id="lcgk"&gt;Go and read&lt;/a&gt;. Hope there are not too many of software that works like this one. It is really terrifying, that some people are so irresponsible. It could be well planed action to collect gmail users and passwords, or it could be just lack of imagination what are the consequences. I would like to believe that it was the second one.&lt;br&gt;&lt;br&gt;But also big corporations do not care for security enough. It is common practice, that users password is stored internally as plain text. It can be easily found out by using "I forgot my password" feature. If in return you will get email with your original password, then it is a crappy web side. And you should never reuse password passed to such web side as this is big risk for you. Take a look at &lt;a title="Password Security: It’s Not That Hard (But You Still Can’t Get It Right)" href="http://ronrothman.com/public/leftbraned/password-security-its-not-that-hard-but-you-still-cant-get-it-right" id="yzjv"&gt;Password Security: It’s Not That Hard (But You Still Can’t Get It Right)&lt;/a&gt; for further explanation and examples.&lt;br&gt;&lt;br&gt;Cheers Paweł&lt;br&gt;&lt;br&gt;-- &lt;br&gt;Related Articles on Paweł Barut blog:&lt;br&gt;&lt;ul&gt;&lt;li&gt;&lt;a title="Security: getting DBA rights quite easy" href="http://pbarut.blogspot.com/2006/12/security-getting-dba-rights-quite-easy.html" id="vs9g"&gt;Security: getting DBA rights quite easy&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a title="„Do not use Linux, please, pirate our software” - Microsoft" href="http://pbarut.blogspot.com/2007/03/do-not-use-linux-please-pirate-our.html" id="u0ro"&gt;„Do not use Linux, please, pirate our software” - Microsoft&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a title="Spam, Spam filters, Being Spammer, Being Filtered-out ..." href="http://pbarut.blogspot.com/2008/02/spam-spam-filters-being-spammer-being.html" id="kq8l"&gt;Spam, Spam filters, Being Spammer, Being Filtered-out ...&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a title="Do not trust Google Maps" href="http://pbarut.blogspot.com/2007/12/do-not-trust-google-maps.html" id="d-kc"&gt;Do not trust Google Maps&lt;/a&gt; &lt;/li&gt;&lt;/ul&gt;</description><link>http://pbarut.blogspot.com/2008/03/horrible-practice-of-storing-users.html</link><author>noreply@blogger.com (Paweł Barut)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4677316190423110840.post-4395932442283867913</guid><pubDate>Mon, 18 Feb 2008 22:17:00 +0000</pubDate><atom:updated>2008-02-18T23:18:44.164+01:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>xml</category><category domain='http://www.blogger.com/atom/ns#'>oracle</category><category domain='http://www.blogger.com/atom/ns#'>links</category><title>Useful links on Oracle XML DB</title><description>&lt;i&gt;Written by &lt;/i&gt;&lt;a title="Paweł Barut" href="http://pbarut.blogspot.com/" id="f.1t"&gt;&lt;i&gt;Paweł Barut&lt;/i&gt;&lt;/a&gt; &lt;br&gt;Here is bunch of useful links related to Oracle XML DB and handling XML data in Oracle PL/SQL. It's mostly for my own reference, but I hope it will be useful for others too.&lt;br&gt;&lt;ul&gt;&lt;li&gt;&lt;a title="How do i store the counts of all tables" href="http://laurentschneider.com/wordpress/2007/04/how-do-i-store-the-counts-of-all-tables.html" id="shge"&gt;How do i store the counts of all tables&lt;/a&gt; by Laurent Schneider&lt;/li&gt;&lt;li&gt;&lt;a title="Converting Between XML and Oracle Objects" href="http://blogs.ittoolbox.com/oracle/guide/archives/minitip-13-converting-between-xml-and-oracle-objects-19085" id="omzr"&gt;Converting Between XML and Oracle Objects&lt;/a&gt; by Lewis Cunningham&lt;br&gt;&lt;/li&gt;&lt;li&gt;&lt;a title="Problems Calling .Net Web Services from UTL_DBWS" href="http://beautifulwaste.blogspot.com/2007/04/problems-calling-net-web-services-from.html" id="nzmb"&gt;Problems Calling .Net Web Services from UTL_DBWS&lt;/a&gt; by Stellan&lt;/li&gt;&lt;li&gt;&lt;a title="First Tests of 11g Native Web Services" href="http://tardate.blogspot.com/2007/08/first-tests-of-11g-native-web-services.html" id="f3rn"&gt;First Tests of 11g Native Web Services&lt;/a&gt; and &lt;a title="Revisiting 11g Native Web Services" href="http://tardate.blogspot.com/2007/08/revisiting-11g-native-web-services.html" id="g9pn"&gt;Revisiting 11g Native Web Services&lt;/a&gt; by Paul Gallagher&lt;/li&gt;&lt;li&gt;&lt;a title="Oracle 11g Security - XMLDB is here to stay…" href="http://www.liberidu.com/blog/?p=250" id="v9g0"&gt;Oracle 11g Security - XMLDB is here to stay…&lt;/a&gt; by Marco Gralike&lt;/li&gt;&lt;li&gt;&lt;a title="HOWTO: Create XMLType Table for Binary XML Usage" href="http://www.liberidu.com/blog/?p=250" id="oms."&gt;HOWTO: Create XMLType Table for Binary XML Usage&lt;/a&gt; by Marco Gralike&lt;/li&gt;&lt;li&gt;&lt;a title="HOWTO: Saving XML data directly to disk" href="http://www.liberidu.com/blog/?p=365" id="nbdh"&gt;HOWTO: Saving XML data directly to disk&lt;/a&gt; by Marco Gralike&lt;/li&gt;&lt;li&gt;&lt;a title="select from a comma-separated string" href="http://laurentschneider.com/wordpress/2007/05/select-from-a-comma-separated-string.html" id="p9_2"&gt;select from a comma-separated string&lt;/a&gt; by Laurent Schneider. BTW. Note that I've demonstrated &lt;a title="this technique" href="http://pbarut.blogspot.com/2006/10/binding-list-variable.html" id="wzva"&gt;this technique&lt;/a&gt; 7 month earlier :)&lt;/li&gt;&lt;/ul&gt;&lt;br&gt;Cheers Paweł&lt;br&gt;&lt;br&gt;-- &lt;br&gt;Related Articles on Paweł Barut blog:&lt;br&gt;&lt;ul&gt;&lt;li&gt;&lt;a title="Solving ORA-22905: cannot access rows from a non-nested table item" href="http://pbarut.blogspot.com/2007/05/solving-ora-22905-cannot-access-rows.html" id="axux"&gt;Solving ORA-22905: cannot access rows from a non-nested table item&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a title="Binding list variable" href="http://pbarut.blogspot.com/2006/10/binding-list-variable.html" id="pfgt"&gt;Binding list variable&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a title="Oracle XMLType: exctractvalue vs. extract" href="http://pbarut.blogspot.com/2007/01/oracle-xmltype-exctractvalue-vs-extract.html" id="rfp_"&gt;Oracle XMLType: exctractvalue vs. extract&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a title="ORA-30625 and XMLType" href="http://pbarut.blogspot.com/2006/11/ora-30625-and-xmltype.html" id="j2tg"&gt;ORA-30625 and XMLType&lt;/a&gt; &lt;br&gt;&lt;/li&gt;&lt;/ul&gt;</description><link>http://pbarut.blogspot.com/2008/02/useful-links-on-oracle-xml-db.html</link><author>noreply@blogger.com (Paweł Barut)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4677316190423110840.post-1702760848666490915</guid><pubDate>Mon, 11 Feb 2008 21:54:00 +0000</pubDate><atom:updated>2008-02-11T22:55:58.233+01:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>security</category><category domain='http://www.blogger.com/atom/ns#'>oracle</category><category domain='http://www.blogger.com/atom/ns#'>patch</category><title>CPUJan2008: One thing that every DBA should know about it.</title><description>&lt;i&gt;Written by &lt;/i&gt;&lt;a title="Paweł Barut" href="http://pbarut.blogspot.com/" id="f.1t"&gt;&lt;i&gt;Paweł Barut&lt;/i&gt;&lt;/a&gt; &lt;br&gt;While reading documentation for latest Oracle security patch CPUJan2008 for database I've noticed one new required step. This step is: Recompile Views. One whould say that it's nothing strange, but to run this script database have to be started in UPGRADE MODE. For non-RAC installations it's not big issue, as anyway you have to plan downtime. But Oracle suggest that this recompilation can take 30 minutes:&lt;br&gt;&lt;blockquote&gt;"In one internal Oracle 
test with approximately 2000 views and 4000 objects, the total execution time 
for &lt;code&gt;view_recompile_jan2008cpu.sql&lt;/code&gt; and &lt;code&gt;utlrp.sql&lt;/code&gt; was 
about 30 minutes."&lt;br&gt;&lt;/blockquote&gt;Practically in my case it took no more than 5 minutes, so it's not big deal.&lt;br&gt;But it could be problem for RAC installations, that used when CPU is applied on one node, then &lt;span style="font-family: Courier New;"&gt;catcpu.sql&lt;/span&gt; is run, then second node is being patched. So normally DB will be all the time available. But if it's needed to start database in UPGRADE mode it means that downtime is required. According to documentation it's not required to run view recompilation script during paching process. This script can be run after,&lt;br&gt;&lt;blockquote&gt;"however, the CPU installation will not be complete until the view 
recompilation is completed."&lt;br&gt;&lt;/blockquote&gt;You can ommit this step only if:&lt;ul&gt;&lt;li&gt;
&lt;p&gt;Databases was created with Release 11.1.0.6 or later&lt;/p&gt;
&lt;/li&gt;&lt;li&gt;
&lt;p&gt;Databases was created with any release (for example,&amp;nbsp;&lt;a href="http://10.2.0.3/"&gt;&lt;/a&gt;10.2.0.3, 10.1.0.5, or 9.2.0.8) &lt;span&gt;after&lt;/span&gt; CPUJan2008 or a later CPU has been 
applied&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;I hope it also means that after CPUJan2008 was applied you will not have to run this script after next CPU came out (CPUApr2008, etc).&lt;br&gt;&lt;/p&gt;&lt;br&gt;Cheers Paweł&lt;br&gt;&lt;br&gt;-- &lt;br&gt;Related Articles on Paweł Barut blog:&lt;br&gt;&lt;ul&gt;&lt;li&gt;&lt;a title="Security: getting DBA rights quite easy" href="http://pbarut.blogspot.com/2006/12/security-getting-dba-rights-quite-easy.html" id="ei6s"&gt;Security: getting DBA rights quite easy&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a title="CPUApr2007 and Interim patch 3 for 10.2.0.3 on Windows" href="http://pbarut.blogspot.com/2007/04/cpuapr2007-and-interim-patch-3-for.html" id="mz4b"&gt;CPUApr2007 and Interim patch 3 for 10.2.0.3 on Windows&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a title="Applying Oracle 10.2.0.3 patch" href="http://pbarut.blogspot.com/2006/12/applying-oracle-10203-patch.html" id="chou"&gt;Applying Oracle 10.2.0.3 patch&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a title="Autobackup of SPFILE and CONTROLFILE" href="http://pbarut.blogspot.com/2007/01/autobackup-of-spfile-and-controlfile.html" id="gz6l"&gt;Autobackup of SPFILE and CONTROLFILE&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a title="Blogger Beta Backup tool" href="http://pbarut.blogspot.com/2006/11/blogger-beta-backup-tool.html" id="uq4m"&gt;Blogger Beta Backup tool&lt;/a&gt; &lt;/li&gt;&lt;/ul&gt;</description><link>http://pbarut.blogspot.com/2008/02/cpujan2008-one-thing-that-every-dba.html</link><author>noreply@blogger.com (Paweł Barut)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4677316190423110840.post-1763035594287465323</guid><pubDate>Sun, 03 Feb 2008 17:46:00 +0000</pubDate><atom:updated>2008-02-03T18:47:56.868+01:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>mail</category><category domain='http://www.blogger.com/atom/ns#'>spam</category><title>Spam, Spam filters, Being Spammer, Being Filtered-out ...</title><description>&lt;span style="font-style: italic;"&gt;Written by &lt;/span&gt;&lt;a style="font-style: italic;" title="Paweł Barut" href="http://pbarut.blogspot.com/" id="f.1t"&gt;Paweł Barut&lt;/a&gt;&lt;span style="font-style: italic;"&gt; &lt;/span&gt;&lt;br&gt;      My thoughts about Spam. Some time agou I wrote about &lt;a title="spam in comments" href="http://pbarut.blogspot.com/2007/10/ive-got-spammed-in-comments.html" id="c8ma"&gt;spam in comments&lt;/a&gt; on my blog, but this time it will be about email spam. This is something that from time to time irritates me a lot. Spam is something that nobody wants to see in his mails. And to solve this problem there are many spam filters, IP Block lists and other solutions. But none of them is 100% accurate. And this is what causes problems. Spam filers should be solving problems, but many times creates new ones.&lt;br&gt;In ideal situation spam filter eliminates 100% of spam, and passes 100% of emails that are expected by users. But it's not true. I will now show example situations, that lead me to conclusion, that spam filter are useless.&lt;br&gt;&lt;b&gt;Situation 1.&lt;/b&gt;&lt;br&gt;Spam filter did not recognized spam mail, and I have to manually figure out that this is spam. So I need to one more click to delete message.&lt;br&gt;&lt;b&gt;Situation 2.&lt;/b&gt;&lt;br&gt;Spam filter deletes mail that was intended for me. This was false alarm as it wasn't spam.&lt;br&gt;&lt;b&gt;Situation 3.&lt;/b&gt;&lt;br&gt;I've send email to customer/friend. His spam filter blocked it. I did not received any delivery failure message.&lt;br&gt;&lt;br&gt;In my opinion situation 2 and 3 are very dangerous and I would like to avoid any of those situations. In my opinion those situations makes spam filters useless. It is especially dangerous if this block is done by service provider, and when you cannot see list of spam being filtered out. This is what really annoys my and makes me angry. In fact it makes whole email system unreliable (I do not want to say useless), as you never know if you recipient get your email or not.&lt;br&gt;&lt;br&gt;I do not know what is solution for this. I can see few options, but none of them is perfect:&lt;br&gt;&lt;ol&gt;&lt;li&gt;Each and every email should be signed digitally by sender, and additionally by his service provider. Spam filers should be able to verify this and honor such signing, and not consider this to be spam. Of course spammers could find way to sign theirs mail too, and vanish this approach.&lt;br&gt;&lt;/li&gt;&lt;li&gt;Everybody should use "return receipt" to confirm mail delivery. Well, quite simple, but personally I never allow my mailer to send confirmations, as I do not want to reveal when I've read mail.&lt;br&gt;&lt;/li&gt;&lt;li&gt;Make mail system payable. So for every mail you send you have to pay small amount of money. $0.01 per email should not be problem for real email users, but could cost fortune for spammers. For this money service providers should ensure that your mail will reach recipient.&lt;/li&gt;&lt;li&gt;Use &lt;a title="captcha" href="http://en.wikipedia.org/wiki/Captcha" id="j:mu"&gt;captcha&lt;/a&gt;  to validate that email is send by real user. I could work as this: when spam filter suspects spam, it sends back email to sender with link to web page on which user will have to provide answer to captcha to make his mail pass throu spam filter.&lt;br&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br&gt;At the end I would like to ask you: &lt;span style="font-weight: bold;"&gt;How do you deal with spam?&lt;/span&gt;&lt;br&gt;&lt;br&gt;Cheers Paweł&lt;br&gt;&lt;br&gt;-- &lt;br&gt;Related Articles on Paweł Barut blog:&lt;br&gt;&lt;ul&gt;&lt;li&gt;&lt;a title="I've got spammed (in comments)" href="http://pbarut.blogspot.com/2007/10/ive-got-spammed-in-comments.html" id="zgre"&gt;I've got spammed (in comments)&lt;/a&gt;&lt;br&gt;&lt;/li&gt;&lt;li&gt;&lt;a title="&amp;quot;Do not use Linux, please, pirate our software&amp;quot; - Microsoft" href="http://pbarut.blogspot.com/2007/03/do-not-use-linux-please-pirate-our.html" id="sqv5"&gt;"Do not use Linux, please, pirate our software" - Microsoft&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a title="13 – Happy or Unhappy Number?" href="http://pbarut.blogspot.com/2006/09/13-happy-or-unhappy-number.html" id="e6-h"&gt;13 – Happy or Unhappy Number?&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a title="I've been tagged 3 times; 8 things about me" href="http://pbarut.blogspot.com/2008/01/ive-been-tagged-3-times-8-things-about.html" id="f1k0"&gt;I've been tagged 3 times; 8 things about me&lt;/a&gt; &lt;br&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br&gt;</description><link>http://pbarut.blogspot.com/2008/02/spam-spam-filters-being-spammer-being.html</link><author>noreply@blogger.com (Paweł Barut)</author><thr:total>2</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4677316190423110840.post-5703160804722156253</guid><pubDate>Wed, 23 Jan 2008 20:50:00 +0000</pubDate><atom:updated>2008-01-23T21:52:06.623+01:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>dba</category><category domain='http://www.blogger.com/atom/ns#'>oracle</category><category domain='http://www.blogger.com/atom/ns#'>ctx</category><title>How to shrink Oracle Context Index</title><description>On of databases I've found that one of Context Indexes is getting bigger and bigger everyday. It was around 5-10% grow per day for table DR$MY_TEXT_I$I which contains tokens(word). No of records indexed was almost the same, but index grown was unexpectedly big. It was due fact, that quite many rows were modified every day, and it caused re-indexing those rows during index synchronization (CTX_DDL.SYNC_INDEX). So I've decided to reclaim this space.&lt;br&gt;&lt;h3&gt;Method 1.&lt;/h3&gt;This was my first though:&lt;br&gt;&lt;ul&gt;&lt;li&gt;Drop Index ... /Create Index ...&lt;/li&gt;&lt;li&gt;or Alter Index ... Rebuild&lt;/li&gt;&lt;/ul&gt;But those methods have some disadvantages:&lt;br&gt;&lt;ul&gt;&lt;li&gt;Users cannot perform text searches during this operation,&lt;/li&gt;&lt;li&gt;It does not solve problem for longer time, as index will still grow ...&lt;/li&gt;&lt;/ul&gt;So I had to find root cause and eliminate it.&lt;br&gt;&lt;h3&gt;Method 2.&lt;/h3&gt;While looking for root cause I've find out, that Index has never been optimized, so it kept old (obsolete) data. My solution was:&lt;br&gt;SQL&amp;gt; exec ctx_ddl.optimize_index('MY_TEXT_I', 'FULL', 120);&lt;br&gt;SQL&amp;gt; alter table DR$MY_TEXT_I$I enable row movement;&lt;br&gt;SQL&amp;gt; alter table DR$MY_TEXT_I$I shrink space cascade;&lt;br&gt;      &lt;br&gt;With this method table DR$MY_TEXT_I$I took 30% of its original size.&lt;br&gt;So let me explain why this worked. With ctx_ddl.optimize_index context index was internally optimized. It means information about old documents were completely deleted and index was internally minimized. Remember - third parameter limits time (in minutes) allowed for optimization. If it is really big index it can take hours. But you can run this optimization many times, until your index will be fully optimized.&lt;br&gt;Then I've just shrunk table (&lt;span style="font-style: italic;"&gt;shrink space cascade&lt;/span&gt;). But this operation requires to enable row movement on table first.&lt;br&gt;
&lt;br&gt;But this was one time operation. To avoid this problem in future I've scheduled job to run ctx_ddl.optimize_index on regular basis. Now this table has grown a little, but is no longer growing so fast.&lt;br&gt;&lt;br&gt;Foot note:&lt;br&gt;&lt;ul&gt;&lt;li&gt;It was tested on Oracle EE 10gR2 (10.2.0.3),&lt;/li&gt;&lt;li&gt;I'm not sure if row movement is supported by Oracle for Context Index table DR$&amp;lt;index&amp;gt;$I. It worked for me and I did not experience any problems since turning it on.&lt;br&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br/&gt;&lt;br/&gt;Cheers, Paweł</description><link>http://pbarut.blogspot.com/2008/01/how-to-shrink-oracle-context-index.html</link><author>noreply@blogger.com (Paweł Barut)</author><thr:total>3</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4677316190423110840.post-6879040138118224686</guid><pubDate>Sat, 12 Jan 2008 16:17:00 +0000</pubDate><atom:updated>2008-01-12T17:22:09.598+01:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>about</category><category domain='http://www.blogger.com/atom/ns#'>blog</category><title>I've been tagged 3 times; 8 things about me</title><description>Few busy days without any blog reading and after I've gone through my feeds it occurred that I've been tagged 3 times:&lt;br&gt;&lt;ol&gt;&lt;li&gt;By &lt;a title="Eddie Awad" href="http://awads.net/wp/2008/01/09/8-things-you-may-not-know-about-this-blogger/" id="u62u"&gt;Eddie Awad&lt;/a&gt; &lt;/li&gt;&lt;li&gt;By &lt;a title="H.Tonguç YILMAZ" href="http://tonguc.wordpress.com/2008/01/10/i-am-tagged-also-so-here-are-8-things-about-me/" id="vr7z"&gt;H.Tonguç YILMAZ&lt;/a&gt; &lt;br&gt; &lt;/li&gt;&lt;li&gt;By &lt;a title="Jorrit Nijssen" href="http://jornica.blogspot.com/2008/01/tagged.html" id="uhcg"&gt;Jorrit Nijssen (Jornica)&lt;/a&gt; &lt;br&gt;&lt;/li&gt;&lt;/ol&gt;Thanks You for tagging.&lt;br&gt;Now I feel that I really need to write something about me:&lt;br&gt;&lt;ol&gt;&lt;li&gt;I was born and grow up in &lt;a title="Krosno" href="http://www.krosno.pl/" id="a5u_"&gt;Krosno&lt;/a&gt; in south-east Poland (see &lt;a title="satelite picture" href="http://maps.google.com/maps?t=h&amp;amp;hl=en&amp;amp;ie=UTF8&amp;amp;ll=49.692879,21.756191&amp;amp;spn=0.136807,0.32135&amp;amp;z=12&amp;amp;om=1" id="w91g"&gt;satellite picture&lt;/a&gt;),&lt;/li&gt;&lt;li&gt;I 15th when &lt;a title="Communism fall down" href="http://en.wikipedia.org/wiki/Fall_of_communism" id="d1bq"&gt;Communism fall down&lt;/a&gt; in Poland. At this moment Poland is member of &lt;a title="Schengen Agreement" href="http://en.wikipedia.org/wiki/Schengen_Agreement" id="qe31"&gt;Schengen Agreement&lt;/a&gt;, and I can travel around Europe without passport. Lot of changes in last 19 years,&lt;/li&gt;&lt;li&gt;I'm &lt;a title="Thawte" href="https://www.thawte.com/" id="t:9h"&gt;Thawte&lt;/a&gt; &lt;a title="Web of Trust" href="https://www.thawte.com/secure-email/web-of-trust-wot/index.html?click=main-nav-products-wot" id="ilc."&gt;Web of Trust&lt;/a&gt; &lt;a title="Notary" href="http://barut.info/thawte.php" id="fmkd"&gt;Notary&lt;/a&gt;,&lt;br&gt;&lt;/li&gt;&lt;li&gt;In 1993 I took 2nd place in Nation Contest in Programming for College Students. Unfortunately I was 6 month too old to take part in international final :(&lt;/li&gt;&lt;li&gt;In 1990 I've sold my first program; small DB written in Clipper. I did not think that this program will be used for so many years. In 1999 I had to do some changes to support year 2000,&lt;/li&gt;&lt;li&gt;My first program was written in Basic and was run on &lt;a title="PSP-80" href="http://pl.wikipedia.org/wiki/PSP-80" id="wjur"&gt;PSP-80&lt;/a&gt; (page in Polish)&lt;br&gt;&lt;/li&gt;&lt;li&gt;I'm married and we have 2 daughters (6 and 2 years old),&lt;/li&gt;&lt;li&gt;My favourite TV show is &lt;a title="Top Gear" href="http://www.bbc.co.uk/topgear/" id="surp"&gt;Top Gear&lt;/a&gt; with &lt;a title="Jeremy Clarkson" href="http://en.wikipedia.org/wiki/Jeremy_Clarkson" id="o-_m"&gt;Jeremy Clarkson&lt;/a&gt; , &lt;a title="Richard Hammond" href="http://en.wikipedia.org/wiki/Richard_Hammond" id="cd8n"&gt;Richard Hammond&lt;/a&gt; and &lt;a title="James May" href="http://en.wikipedia.org/wiki/James_May" id="y0je"&gt;James May&lt;/a&gt;.&lt;br&gt;&lt;/li&gt;&lt;/ol&gt;I will not invite anyone directly as I do not want to &lt;a title="accused of spam" href="http://awads.net/wp/2008/01/10/i-am-a-spammer-and-so-are-you-if-you-played-the-tag-game/" id="m250"&gt;accused of spam&lt;/a&gt;. All my readers that have blogs are welcome to post 8 things about themselves.&lt;br&gt;&lt;br&gt;Cheers,&lt;br&gt;Paweł</description><link>http://pbarut.blogspot.com/2008/01/ive-been-tagged-3-times-8-things-about.html</link><author>noreply@blogger.com (Paweł Barut)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4677316190423110840.post-7423064762461152140</guid><pubDate>Wed, 05 Dec 2007 17:23:00 +0000</pubDate><atom:updated>2008-12-10T23:58:16.271+01:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>maps</category><category domain='http://www.blogger.com/atom/ns#'>google</category><title>Do not trust Google Maps</title><description>Ok, Might be title is too strong, but you should not trust Google Maps when searching for streets in Krosno, Poland (city where I was born). Here is sample, try to search for "Lwowska, 38-400 Krosno, Poland" and you get:
&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_6xECfZb_CD0/R1bqcD8V7mI/AAAAAAAADyU/afzQbzfH02w/s1600-h/google_maps.jpg"&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_6xECfZb_CD0/R1bqcD8V7mI/AAAAAAAADyU/afzQbzfH02w/s400/google_maps.jpg" alt="" id="BLOGGER_PHOTO_ID_5140553792505638498" border="0" /&gt;&lt;/a&gt;&lt;br/&gt;Search is working correctly, but names on street do not match reality. Instead of "Lwowska" street is "Jana Lenarta". Another example is "Platynowa" instead of "Podkarpacka". It seems that all street names are messed up on map.
Hope they fix it soon.
&lt;br/&gt;&lt;br/&gt;
Cheers, Paweł</description><link>http://pbarut.blogspot.com/2007/12/do-not-trust-google-maps.html</link><author>noreply@blogger.com (Paweł Barut)</author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_6xECfZb_CD0/R1bqcD8V7mI/AAAAAAAADyU/afzQbzfH02w/s72-c/google_maps.jpg' height='72' width='72'/><thr:total>1</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4677316190423110840.post-1276973733572315342</guid><pubDate>Sun, 02 Dec 2007 10:48:00 +0000</pubDate><atom:updated>2007-12-02T11:49:59.289+01:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>fun</category><title>Rant: Great fun with Wii</title><description>I'm not a computer game player, but Nintendo Wii really impressed me. I was with a visit to my friend and he showed me his new gadget. We started to play for a while, and time passed by. It's really addictive. The best thing is that you do not seat at computer and use joystick or keyboard, but you stand up and move whole body to play. It really gives pleasure, and we have good time. If you do not know Wii yet check this &lt;a title="Wii commercial" href="http://wii.nintendo.com/wiicommercials_full.jsp" id="kjfz"&gt;Wii commercial&lt;/a&gt;.&lt;br&gt;&lt;br&gt;Have fun&lt;br&gt;Paweł</description><link>http://pbarut.blogspot.com/2007/12/rant-great-fun-with-wii.html</link><author>noreply@blogger.com (Paweł Barut)</author><thr:total>0</thr:total></item></channel></rss>