Search Oracle Blogs

List of Blogs maintained by Paweł Barut.


Saturday, September 13, 2008

Preparing for Oracle OpenWorld 2008

Written by Paweł Barut
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 map 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 BART.
And the most important thing - My OOW2008 Schedule:

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 Exhibition Hall or go for Unconference.
I'm also looking forward for meeting other Oracle Bloggers during Blogger Meetup organized by Eddie Awad.
Update: I forgot to mention about After Dark at Oracle OpenWorld where are evening parties listed.

See you in San Francisco,
Paweł

--
Related Articles on Paweł Barut blog:

Wednesday, August 13, 2008

DB Link to Oracle 11g

Written by Paweł Barut
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:
CREATE DATABASE LINK my_link
CONNECT TO remote_user IDENTIFIED BY "CaSe_SeNsItIvE_PaSsWoRd"
USING 'TNS_ID_11G';

Do not forget to enclose password by double-quote marks!
When you do not set password this way, you will be getting:
ORA-01017: invalid username/password; logon denied.
Hope this small tip will be useful for someone.

Paweł

More on Creating Database Links.

--
Related Articles on Paweł Barut blog:

Monday, August 04, 2008

Lost Pictures - Recovered Pictures

Written by Paweł Barut
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:
All pictures seems gone ...
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.
Finally I've found really great software that I would like to recommend: PC INSPECTOR™ smart recovery. 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.
Hope it help someone else to recover lost pictures.

Paweł

--
Related Articles on Paweł Barut blog:

    Thursday, July 17, 2008

    Oracle OpenWorld 2008

    Written by Paweł Barut
    It's only 2 month left to Oracle OpenWorld 2008. Few news about this conference and my first time ever participation. Last week I've registered for OOW2008 as Blogger. 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.
    I still need to apply for US Visa, and organize my trip. And of course choose sessions in which I would like to participate.

    There is also one good news for people in Eastern Europe, Post Soviet Republics, Middle East & Asia. People from those countries can get discount on registration fee.
    Attendees will need to enter EMKT as their priority code during "Step 2" of the registration process.

    The countries from the EE, CIS & MEA regions which qualify for the discount are:

    African Operations (except South Africa), Albania, Armenia, Azerbaijan, Belarus, Bosnia & 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.

    Do not wait. Register for Oracle OpenWorld 2008 !

    Paweł

    --
    Related Articles on Paweł Barut blog:

    Saturday, May 17, 2008

    ORA-00904: "XMLROOT": invalid identifier

    Written by Paweł Barut
    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:
    SQL> select XMLRoot(xmltype('<a>a</a>'))
      2  from dual;
    gives error:
    select XMLRoot(xmltype('<a>a</a>'))
           *
    Error in line 1:
    ORA-00904: "XMLROOT": invalid identifier
    WTF, it was running perfectly on development and test environment!
    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.
    After some time, I've decided to check why this function was missing?
    Quick search showed that function is created by script ?\demo\schema\order_entry\xdbUtilities.sql
    Strange, well documented function is created only when you install demo schemas? Seems that there should be another explanation.
    Then I've found that in documentation this function has 2 mandatory attributes, while my code has only one attribute. So there are 2 versions of XMLRoot function:
    1. SQL function; see documentation
    2. Simplified version created by demo in XDB schema - this version can be also used in PL/SQL

    Conclusion:
    my original code should look like that:
    SQL> select XMLRoot(xmltype('<a>a</a>'), version '1.0', standalone yes)
      2  from dual;

    XMLROOT(XMLTYPE('<A>A</A>'),VERSION'1.0',STANDALONEYES)
    ------------------------------------------------------------------------

    <?xml version="1.0" standalone="yes"?>
    <a>a</a>
    This can run without XMLROOT function in XDB schema.

    Hope this will help someone to save some time.
    Cheers,Paweł

    --
    Related Articles on Paweł Barut blog:

    Sunday, April 20, 2008

    Oracle CPUApr2008 for DB: 10.2.0.4 patch set and first install

    Written by Paweł Barut
    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:
    The following are the updated components of this patch set:
      * Up to January 2008 CPU is included in this patch set
    ...
    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:

    1.3 Database 10.2.0.4 Patch Set

    The Database 10.2.0.4 Patch Set includes the CPUApr2008 content.

    So the CPUApt2008 was available to all at least month before official release and was included in 10.2.0.4 patch set! Is this situation secure?


    Anyway I had to install CPUApr2008. It's good that there is no need to recompile views this time. I've sucessfully installed it on test server, with minor problem. In installation log I've found one problem:

    BEGIN emd_maintenance.recompile_invalid_objects; END;

    *
    ERROR at line 1:
    ORA-04068: existing state of packages has been discarded
    ORA-04061: existing state of package body "SYSMAN.EMD_MAINTENANCE" has been
    invalidated
    ORA-06508: PL/SQL: could not find program unit being called:
    "SYSMAN.EMD_MAINTENANCE"
    ORA-06512: at line 1

    Hmm... After reconnecting, this commend run without errors:
    SQL> conn / as sysdba
    Connected.
    SQL> BEGIN sysman.emd_maintenance.recompile_invalid_objects; END;

    PL/SQL procedure successfully completed.
    After all, server runs ok, and I do not find any problems within applications running on this.


    Cheers Paweł

    --
    Related Articles on Paweł Barut blog:

    Tuesday, April 15, 2008

    Oracle Database 11g Release 2 is coming

    Written by Paweł Barut
    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.
    Schedule of Roadshow in Europe:
    • May 12, 2008: UK, Reading
    • May 13, 2008: Benelux, De Meern
    • May 14, 2008: Germany, Muenchen
    • May 15, 2008: Italy, Milan
    • May 16, 2008: Turkey, Istanbul
    • May 19, 2008: Czech Republic, Prague
    • May 20, 2008: Poland, Kraków
    • May 21, 2008: Sweden, Stockholm
    • May 22, 2008: Spain, Madrid
    If you are OPN member then you probably also get invitation.
    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.

    Cheers Paweł

    --
    Related Articles on Paweł Barut blog:
     

    Copyright © Paweł Barut
    Printing from DOS to USB Printer