DBAsupport.com Forums - Powered by vBulletin
Results 1 to 4 of 4

Thread: Can I add XDB after db Created?

  1. #1
    Join Date
    Mar 2002
    Location
    Mesa, Arizona
    Posts
    1,204

    Can I add XDB after db Created?

    I created a database (using dbca) in 9.2.0.4 and didn't choose to include the xdb option. I have a developer that needs it. Is there a script I can run to add it after the fact?

    Thanks in advance,
    "I do not fear computers. I fear the lack of them." Isaac Asimov
    Oracle Scirpts DBA's need

  2. #2
    Join Date
    Feb 2001
    Location
    Bombay,India
    Posts
    530

    Re: Can I add XDB after db Created?

    Hi,
    1. Connect as sysdba and run the catqm.sql script.
    Maintain a spool of the script running:
    UNIX: $ORACLE_HOME/rdbms/admin subdirectory
    WINDOWS: $ORACLE_HOME\rdbms\admin subdirectory
    The catqm.sql script requires the following parameters be passed to it when run:
    A. XDB user password
    B. XDB user default tablespace
    C. XDB user temporary tablespace
    Therefore the syntax to run catqm.sql will be:
    SQL> catqm.sql A B C

    For Example:
    SQL> set echo on
    SQL> spool xdb_install.log
    SQL>@?/rdbms/admin/catqm.sql XDB XDB TEMP

    2. Check for any invalid XDB owned objects:
    SQL> select count(*) from dba_objects where owner='XDB' and status='INVALID';
    COUNT(*)
    ----------
    0

    3. Check DBA_REGISTRY for XDB status:
    SQL> select comp_name, status, version from DBA_REGISTRY where comp_name='Oracle XML Database'
    The results should indicate the correct version and patch in a valid status.


    Regards
    Rohit S Nirkhe,Oracle/Apps DBA
    OCP 8i,9i
    oracle-support@indiatimes.com
    Thanks and Regards
    Rohit S Nirkhe
    rohitsnirkhe@rediffmail.com

  3. #3
    Join Date
    Mar 2002
    Location
    Mesa, Arizona
    Posts
    1,204
    Thank you very much. You're certainly hard core Oracle.

    Is there also a script to remove XDB?
    "I do not fear computers. I fear the lack of them." Isaac Asimov
    Oracle Scirpts DBA's need

  4. #4
    Join Date
    Mar 2002
    Location
    Mesa, Arizona
    Posts
    1,204
    What about 10g? Can you remove XDB without killing the basic functionality of this version?
    "I do not fear computers. I fear the lack of them." Isaac Asimov
    Oracle Scirpts DBA's need

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width