Saturday, October 8, 2011

Homework (Week-12) [Oracle Permissions, Grants, Privileges and Roles Exercise] --Moid

Homework (Week-9) [Oracle Client Side Networking Overview, Oracle Client Installation, Server Side Networking Overview] --Moid


My documents on Oracle Networking:
  1. Download Oracle 11g R2 Client for 32/64-bit Windows
  2. Download Oracle 12c R1 Client for 32/64-bit Windows
  3. Click here for 11g R2 Client Installation on Windows 7
  4. Click here for 12c R1 Client Installation on Windows 8
  5. How to deinstall Oracle 11g R2 Client from Windows 7?
  6. How to deinstall Oracle 12g R1 Client from Windows 8?
  7. How to deinstall Oracle 11g client from Linux?
  8. How to deinstall Oracle 11g R2 "DATABASE" from Windows 7?
  9. How to deinstall Oracle 11g R2 "DATABASE" from Windows 8?
  10. How to deinstall (uninstall) 12c database home from Linux?
  11. How to create a TNS Entry (Database Address / Connect Identifier) on the Oracle Client Machine using netca?
  12. On Linux - How to register database on a non-default listener?
Classwork:
  1. Click here for Class Notes on Client Side Networking
  2. Click here for Class Notes on Server Side Networking
Homework:
  1. Click here for the "Server Side Networking" homework. 
  2. Click here for the "Client Side Networking" homework.

--Moid

Homework (Week-11) [Install 11g R2 on 64-bit CentOS 5.6] --Moid

Homework (Week-12) [Part-1] [Listener Notes and Homework] --Moid

Homework (Week-8) [Oracle Dictionary / CASE & Decode / Joins / Sub-Queries] --Moid

Homework (Week-7) [Oracle View, Concatenation and Constraints] --Moid

Homework (Week-6) - [Select, DDL, DML, Views] --Moid

Homework (Week-5) [Select statements with conditions only] --Moid

  1. Batch-32: Week-5: Class Notes 03/05/16 and 03/06/16
  2. Document for Student Only: How to create a new schema and load tables?
  3. How to find the date format of Oracle Database Server?
  4. Week-5 Homework (SQL on select statements with conditions only)
  5. Oracle SQL Operators --Moid
  6. Oracle Functions --Moid
Archive:


Please Note: Only my students has access to these document.

--Moid

Homework Week-4 [SQL Part-1 Create Table and Insert Values]

Class work Part-1: [How to login to Database?]

Class work Part-2: [User Management]

Class work Part-3: [Class Notes - Create Table]

Class work Part-4 [Different Ways of Inserting data into a table]

How to spool SQL output to a file?

How to transfer files from Linux to Windows using WinSCP?

Your homework for week-4 is:
  1. Login to your database schema.
  2. Start spool.
    Spool output to  /home/oracle/SpooledFiles/Khan_A13_spool_file.log.
    Replace Khan_A13 with your schema name.
  3. Ceate and insert values in all tables mentioned on page 57, 58 and 58 in your book. Tables are also located at http://www.mydbanotes.com/2011/09/table-screenshots-of-indo-us-college.html
  4. Turn off spool.
  5. Transfer file from Server-223 to your laptop using WinSCP.
  6. Send me the file from Step-5 from your email as attachment. 

Archives:

As a final note, please be sure to save all the Create and insert statements into a notepad in your laptop. We will reusing the same code again to recreate the database objects.

--Moid Muhammad

Homework (Week-3) - grep, find, ssh, scp, awk, sed and vi editor

Section-1:

Click here for Classwork (Linux Commands)
Click here for Classwork (find Commands)
Click here for Classword (grep Commands)
Click here for Classwork (awk Commands)
Click here for Classwork (sed Command)

Click here for SSH & SCP Classwork
Click here for homework | Part-1

Section-2:

Click here for vi editor class notes.
Click here for homework | Part-2

--Moid

Homework (Week-2) [UNIX Part-2]

Friday, October 7, 2011

Homework (Week-1) [Basics of Networking and Linux Part-1] --Moid

Basics of Networking:
Click here for the networking class notes.

Basics of Linux:
Click here for the Linux class notes
Click here for the homework on Linux Basics


--Moid MuhammadLink

Thursday, July 28, 2011

MoidIITDocID-546: Quick reference to Oracle Patchset patch numbers --Moid

As per the Oracle's Document ID 753736.1, the following are the quick reference to Oracle Patchset patch numbers:

Click here for the document.

--Moid


keywords:
oracle version
oracle patches
oracle patchset

Friday, July 22, 2011

MoidIITDocID-548: 11g RAC using openfiler (Jeff Hunter's Document) --Moid

Build Your Own 11g R2 Oracle RAC Cluster on Oracle Enterprise Linux and iSCSI Part-1
Build Your Own 11g R2 Oracle RAC Cluster on Oracle Enterprise Linux and iSCSI Part-2
Build Your Own 11g R2 Oracle RAC Cluster on Oracle Enterprise Linux and iSCSI Part-3

--Moid

Tuesday, July 5, 2011

Download Tora from here --Moid

from http://torasql.com/about

"TOra is an open-source multi-platform database management GUI that supports accessing most of the common database platforms in use, including Oracle, MySQL, and Postgres, as well as limited support for any target that can be accessed through Qt's ODBC support. TOra has been built for various Linux distributions, Mac OS X, MS Windows, and UNIX platforms.

In addition to regular query and data browsing functionality, it includes several additional tools useful for database administrators and developers – which aims to help the DBA or developer of database application. Features PL/SQL debugger, SQL worksheet with syntax highlighting, DB browser and a comprehensive set of DBA tools."

Tora (a tool similar to TOAD) can be downloaded from here. Main download page is at http://sourceforge.net/projects/tora/

--Moid Muhammad

Download Oracle 11g R2 Client for 32/64-bit Windows --Moid

Oracle Database 11g Release 2 (11.2.0.1.0) Client for 32/64-bit Windows.

1) Go to http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html

2) Click on "Accept License Agreement"

3) And then start browsing as per your need. Few links to download Oracle client are as follows:

32-bit http://www.oracle.com/technetwork/database/enterprise-edition/downloads/112010-win32soft-098987.html

Direct Download: http://download.oracle.com/otn/nt/oracle11g/112010/win32_11gR2_client.zip

64-bit http://www.oracle.com/technetwork/database/enterprise-edition/downloads/112010-win64soft-094461.html

Direct Download: http://download.oracle.com/otn/nt/oracle11g/112010/win64_11gR2_client.zip

Click here for step-by-step Oracle 11g R2 Client Installation on Windows 7.

Click here for step-by-step Oracle 12c R1 Client Installation on Windows 8.

Note: In order for TOAD to work, use 32-bit client installation.

--Moid Muhammad

Monday, July 4, 2011

Backup and Recovery ()

Backup and Recovery ()

RMAN Scenario-21: How to recover database from lost controlfiles? --Moid

MoidIITDocID-938: My notes on RMAN --Moid

MIITDocID-958: Command Line Reference Guide --Moid

MoidIITDocID-540: How to perform TABLESPACE point in time recovery? --Moid

MoidIITDocID-528: How to perform point in time recovery? --Moid

MoidIITDocID-549: Scenario-18: How to restore Oracle datafile? --Moid

RMAN: Scenario-17: How to restore Oracle tablespace? --Moid

RMAN Scenario-16 | How to restore Oracle database? --Moid

RMAN: Scenerio-15: How to restore database with a new name from Cold Backup --Moid

Backup and Recovery Scenerio-14 | How to restore archivelogs from backups? --Moid

Backup and Recovery Scenerio-13 | How to perform time-based Oracle Point-In-Time recovery using RMAN? --Moid

Backup and Recovery Scenerio-10 [How to duplex Oracle 10g RMAN backups?] --Moid

Click here for the document.

--Moid

Backup and Recovery Scenerio-9 (How to perform a point in time tablespace recovery)

How to perform a point in time tablespace recovery? In this exercise, tablespace name is CT_COMMON_DATA?
$ export ORACLE_SID=PrimeDG
$ rman target /
RMAN> sql 'alter tablespace CT_COMMON_DATA offline';

RMAN> run

{

set until time "to_date('FEB 28 2008 13:59:00','Mon DD YYYY HH24:MI:SS')";

recover tablespace CT_COMMON_DATA;

}

RMAN> sql 'alter tablespace CT_COMMON_DATA online';
RMAN> exit;

Backup and Recovery Scenerio-12 (How to transport a tablespace?) -- Moid

Backup and Recovery Scenerio-11 (How to restore and rename database on a different server) --Moid

MIITDocID-942: Controlfiles are lost and database is still open. How to rebuild the lost controlfiles? --Moid

Backup and Recovery Scenario-7 | How to duplicate (clone) database on the DIFFERENT HOST from NON-ASM to ASM using RMAN? --Moid

Click here for the document.


Migrate NON-ASM to ASM on a different host.

--Moid Muhammad

Backup and Recovery Scenario-6 | How to duplicate (clone) database on the same server from NON-ASM to ASM using RMAN?

Click here for the document.

Migrate NON-ASM to ASM.

--Moid Muhammad

Backup and Recovery Scenario-5 | How to duplicate (clone) database on the different server using RMAN?

Click here for the document.

--Moid

Backup and Recovery Scenario-3 | How to restore and recover database on a remote server using RMAN?

Click here for 10g document.

Click here for 11g document.

--Moid

Backup and Recovery Scenario-4 | How to duplicate (clone) database on the same server using RMAN? --Moid

Click here for the document.

NON-ASM to NON-ASM

--Moid

Backup and Recovery Scenerio-2 | How to recover a datafile when all archivelogs are available?

Click here for the document.

--Moid

Backup and Recovery Scenario-1 (Recover Lost Datafile from User-Managed Full Backup)

Click here for the document.

--Moid

Backup and Recovery Scenario-0 |How to perform a user-managed cold backup?

Click here for the document.

--Moid

Oracle Background Processes

Click here for the document.

--Moid

Saturday, May 28, 2011

MoidIITDocID-502: How to create a password file? --Moid

$ orapwd file=$ORACLE_HOME/dbs/orapw$ORACLE_SID password='abc123' ignorecase=Y entries=5 force=y


Starting from 19c, atleast 8 bytes are required for SYS password.

orapwd file=$ORACLE_HOME/dbs/orapw$ORACLE_SID password='abc123'  force=y
OPW-00029: Password complexity failed for SYS user : Password must contain at least 8 characters.

Solution is to add "format=12". See below:
orapwd file=$ORACLE_HOME/dbs/orapw$ORACLE_SID password='abc123'  force=y  format=12


--Moid Muhammad

Monday, May 2, 2011

11g GoldenGate Installation (High Level steps) v1.4 --Moid

Very high level GG installation can be found from the following document.

Click here for the document.

--Moid





Golden Gate
GoldenGate
uni-directional
unidirectional
GG

Friday, March 18, 2011

Followers