Oracle Study Guide

For 10g OCP DBA
  • Home
  • Site Map
  • V$ views contents

    Data Dictionary, Documentation 01.05.2009 Comments Off

    contents too big for a post :) see file http://oracle.3dub.com/vdollar.txt

  • datapump export/import using OEM

    DataPump, Enterprise Manager 20.04.2009 Comments Off

    SYSDBA users cannot do export/import.

    Users need to be added to OEM Administrators in order to login to OEM. (’Setup’ link at top of screeen).

  • Oracle PL/SQL Programming online book

    Documentation, SQL & PL/SQL 18.02.2009 Comments Off

    http://docstore.mik.ua/orelly/oracle/prog2/

  • Installing 10g on RHEL5

    Documentation, Installation 09.10.2008 Comments Off

    http://www.oracle-base.com/articles/10g/OracleDB10gR2InstallationOnRHEL5.php

  • Setting logging level for LGWR

    DATAGUARD, Documentation, HEADS UP 03.10.2008 Comments Off

    alter system set log_archive_trace=7935;

    This will cause lgwr and archN to write a bunch of stuff to the alert log.

  • Server Builds

    Documentation, HEADS UP 29.09.2008 Comments Off

    Make sure the server hostname does NOT change. It will cause problems with all of the oracel services restarting!

  • Changing sqlplus settings globally

    Documentation, SQLPLUS 29.09.2008 Comments Off

    edit $ORACLE_HOME/sqlplus/admin/glogin.sql

    – parm: my specific stuff
    ALTER SESSION SET nls_date_format = ‘HH:MI:SS’;
    SET SQLPROMPT “_USER’@'_CONNECT_IDENTIFIER _DATE> ”
    SET PAGESIZE 24
    SET LINESIZE 78

    This can also be set in user’s home directory, but will only be run if user connects to sqlplus from their home directory.

  • 10g Documentation Library

    Documentation Library 28.09.2008 Comments Off

    http://oracle.3dub.com/10g/

  • Datapump

    DataPump 22.09.2008 Comments Off

    http://www.oracle.com/technology/obe/obe10gdb/storage/datapump/datapump.htm#t2

  • Cloning

    Documentation 19.09.2008 Comments Off

    http://www.dba-oracle.com/oracle_tips_db_copy.htm

    Actual commands:

    1. login to source db and backup the controlfile:
    alter database backup controlfile to trace as ‘<filename>’ reuse;

    2. shut down source database and target database

    3. Copy all data files into the new directories on the new server. You may change the file names if you want, but you must

    edit the controlfile to reflect the new data files names on the new server. DO NOT copy over the control files.

    4. edit the trace control file and change all references to the old database name to the new database name. BEWARE that there

    are 2 cases. Just delete all of the lines for the second case.

    5. Look out for comments in sql blocks and remove them!! they cause the script to blow up.

    6. Move the control files for the target database to backup.

    7. Comment out the ‘RECOVER DATABASE’ — it is not necessary as the source was shutdown cleanly.

    8. change the line:
    CREATE CONTROLFILE REUSE DATABASE “OLDSQL” NORESETLOGSĀ  ARCHIVELOG

    to

    CREATE CONTROLFILE SET DATABASE “NEWLSQ” RESETLOGS ARCHIVELOG

    9. The OPEN statement needs to be with the resetlogs clause.

    10. login to the idle target database and run the updated trace script!

« Previous Entries

Category:

  • Administration
    • ASM
    • BLOCK SIZE
    • Database Recovery
    • DBVERIFY
    • GRANTS
    • OEM
    • REDO LOGS
  • APPS
    • AutoConfig
    • Change EBS IP Address
    • Cloning
    • DB Environment Vars
    • Discoverer
    • Environment Vars
    • Patching
    • Problems
    • Resources Online
    • Tricks & Tips
    • Upgrading
    • Workflow
  • Backup & Recovery
  • Certification
  • Configuration
  • DATABASE STRUCTURE
    • Data Dictionary
    • Logical Database Structure
    • Physical Database Structure
    • SCHEMA
  • DATAGUARD
  • Documentation
    • ASM (Automatic Storage Magement)
    • Command Reference
    • DataPump
    • Documentation Library
    • SQL Developer
  • EBS
  • Enterprise Manager
  • FLASHBACK
  • HACKING
  • HEADS UP
  • Installation
    • RAC
  • JDeveloper
  • Linux
  • NXclient/server
  • Online Resources
  • PERL
  • python
  • RMAN
    • RMAN Catalog Setup
  • Scripts
  • Serial-Parallel-Port-Testers
  • SNMP
  • Software
  • Solaris
  • Spiritual
  • SQL & PL/SQL
  • SQLPLUS
  • Startup/Shutdown
  • Streams
  • Tuning
    • INDEXES
    • SQL Tuning
      • TKPROF and sql_trace
  • VNC
  • Windows XP
© Blogname. All Rights Reserved. Entries RSS Comments RSS Login Open Source