Book Image

Oracle Database XE 11gR2 Jump Start Guide

By : Asif Momen
Book Image

Oracle Database XE 11gR2 Jump Start Guide

By: Asif Momen

Overview of this book

Oracle Database XE 11gR2 is an excellent beginner-level database and is a great platform to learn database concepts. "Oracle Database XE 11gR2 Jump Start Guide" helps you to install, administer, maintain, tune, back up and upgrade your Oracle Database Express Edition. The book also helps you to build custom database applications using Oracle Application Express.Using this book, you will be able to install Oracle Database XE on Windows/Linux operating system.This book helps you understand different database editions and it guides you through the installation procedure with the aid of screenshots. You will learn to interact with the database objects. You will gain a solid understanding of stored sub-programs which is followed by an introduction to Oracle Application Express (APEX). Solid database performance tuning strategies are also discussed in this book followed by backup and recovery scenarios. All in all, "Oracle Database XE 11gR2 Jump Start Guide" delivers everything that you should know to get started with Oracle Database administration.
Table of Contents (20 chapters)
Oracle Database XE 11gR2 Jump Start Guide
Credits
About the Author
Acknowledgement
About the Reviewers
www.PacktPub.com
Preface

Moving data between Oracle Database 10g XE and Oracle Database 11g XE


Follow the guidelines presented in this section if you want to do either of the following:

  • Move data between Oracle Database 10g XE and Oracle Database 11g XE

  • Upgrade your Oracle Database 10g XE to Oracle Database 11g XE

The steps are as follows:

  1. 1. Create a database directory object by connecting to Oracle Database 10g XE as SYS user:

    SQL> CREATE OR REPLACE DIRECTORY dump_dir AS 'c:\xetest';
    SQL> GRANT READ,WRITE ON DIRECTORY dump_dir TO system;
    
    
  2. 2. Export the data from Oracle Database 10g XE:

    expdp system/******** full=Y EXCLUDE=SCHEMA:\'LIKE \'APEX_%\'\',SCHEMA:\'LIKE \'FLOWS_%\'\' directory=DUMP_DIR dumpfile=DB10G.dmp logfile=DB10G_expdp.log
    expdp system/******** TABLES=FLOWS_FILES.WWV_FLOW_FILE_OBJECTS$ directory=DUMP_DIR dumpfile=DB10G2.dmp logfile=DB10G_expdp.log
    
  3. 3. Uninstall Oracle Database 10g XE.

  4. 4. Install Oracle Database 11g XE.

  5. 5. Create a database directory object by connecting as SYS user:

    SQL> CREATE...