Thursday, May 3, 2012
Saturday, April 21, 2012
Tuesday, April 10, 2012
Thursday, March 29, 2012
Friday, March 16, 2012
Thursday, March 15, 2012
Wednesday, March 14, 2012
Wednesday, March 7, 2012
Monday, February 27, 2012
Friday, February 24, 2012
Sunday, February 19, 2012
Friday, February 17, 2012
Sunday, January 22, 2012
Saturday, January 21, 2012
Monday, January 16, 2012
Sunday, January 15, 2012
Wednesday, January 11, 2012
Saturday, December 31, 2011
Friday, December 30, 2011
Friday, December 23, 2011
Thursday, December 15, 2011
How to find Oracle RAC Cluster name? --Moid
Depending on how you set up environment for CRS home in Linux, one of the following can be used to find the cluster name of you RAC environment.
$ORA_CRS_HOME/bin/cemutlo -n
or
$CRS_HOME/bin/cemutlo -n
--Moid
$ORA_CRS_HOME/bin/cemutlo -n
or
$CRS_HOME/bin/cemutlo -n
--Moid
Thursday, December 1, 2011
Wednesday, November 30, 2011
Monday, November 28, 2011
Saturday, November 19, 2011
Thursday, November 10, 2011
Tuesday, November 8, 2011
Wednesday, November 2, 2011
Sunday, October 30, 2011
Tuesday, October 25, 2011
Saturday, October 22, 2011
Friday, October 21, 2011
Sunday, October 16, 2011
Saturday, October 15, 2011
Friday, October 14, 2011
Wednesday, October 12, 2011
Tuesday, October 11, 2011
Saturday, October 8, 2011
Homework (Week-20) RMAN Restore and Recovery of Oracle Databases
Batch Specific Notes:
Batch-30: Sunday 10/18/15: Class Notes on RMAN settings and Management.
Batch-30: Saturday 10/24/15: Class Notes on RMAN restore
RMAN Tasks:
Create database using scripts -- Class Notes-1
Setting up RMAN Backup Configuration -- Class notes-2
My notes on RMAN -- Class Notes-3
Testing of Redo Logs generation -- Class Notes-4
RMAN Command Line Reference Guide -- Class Notes-5
How to restore db on a remote server? (Chicago to NY) -- Class Notes-6
How to restore db on a remote server? (NY to Chicago) -- Class Notes-6
How to restore db on remote server (Chicago to TN) --Class Notes-6
RMAN Scenario-16 | How to restore Oracle database? --Moid
RMAN: Scenario-17: How to restore Oracle tablespace? --Moid
RMAN: Scenario-18: How to restore Oracle datafile? --Moid
RMAN: Scenario-19: How to perform point in time recovery? --Moid
RMAN: Scenario-20: How to perform TABLESPACE point in time recovery? --Moid
Task: How to rename and/or move datafiles (ALL Datafiles) to a new directory? --Moid
Week-20 | RMAN Homework | Part-1 --Moid
Batch Specific Class Notes:
Batch-26: RMAN | Saturday and Sunday class notes | June 2014
--Moid
Batch-30: Sunday 10/18/15: Class Notes on RMAN settings and Management.
Batch-30: Saturday 10/24/15: Class Notes on RMAN restore
RMAN Tasks:
Create database using scripts -- Class Notes-1
Setting up RMAN Backup Configuration -- Class notes-2
My notes on RMAN -- Class Notes-3
Testing of Redo Logs generation -- Class Notes-4
RMAN Command Line Reference Guide -- Class Notes-5
How to restore db on a remote server? (Chicago to NY) -- Class Notes-6
How to restore db on a remote server? (NY to Chicago) -- Class Notes-6
How to restore db on remote server (Chicago to TN) --Class Notes-6
RMAN Scenario-16 | How to restore Oracle database? --Moid
RMAN: Scenario-17: How to restore Oracle tablespace? --Moid
RMAN: Scenario-18: How to restore Oracle datafile? --Moid
RMAN: Scenario-19: How to perform point in time recovery? --Moid
RMAN: Scenario-20: How to perform TABLESPACE point in time recovery? --Moid
Task: How to rename and/or move datafiles (ALL Datafiles) to a new directory? --Moid
Week-20 | RMAN Homework | Part-1 --Moid
Batch Specific Class Notes:
Batch-26: RMAN | Saturday and Sunday class notes | June 2014
--Moid
Homework (Week-19) | Redo Logs | Archive Logs | Oracle Cold and Hot Backup Strategy
Class work: In Class Notes
Class work: How to perform Consistent (COLD) User Managed Backup and recover the database on a different host?
Class Work: My queries on Redo and Archive Logs --Moid
Homework: Change redo log size --Moid
Homework: Change redo log location --Moid
Homework: Change the datafile location --Moid
Homework: Perform a User Managed Hot Backup --Moid
Homework: Perform a User Managed Restore from a hot Backup --Moid
Homework: One of the control file is lost. Restore it and open database --Moid
Homework: All controlfiles are lost. Re-create them. --Moid
How to enable archivelog mode? --Moid
How to Disable archivelog mode? --Moid
How to recover database when a redo log is accidentally dropped? --Moid
--Moid
Class work: How to perform Consistent (COLD) User Managed Backup and recover the database on a different host?
Class Work: My queries on Redo and Archive Logs --Moid
Homework: Change redo log size --Moid
Homework: Change redo log location --Moid
Homework: Change the datafile location --Moid
Homework: Perform a User Managed Hot Backup --Moid
Homework: Perform a User Managed Restore from a hot Backup --Moid
Homework: One of the control file is lost. Restore it and open database --Moid
Homework: All controlfiles are lost. Re-create them. --Moid
How to enable archivelog mode? --Moid
How to Disable archivelog mode? --Moid
How to recover database when a redo log is accidentally dropped? --Moid
--Moid
Homework (Week-18) [Export Import and Data Pump] --Moid
Batch Related Notes:
Export / Import:
- Click here for Export Import Notes-1
- Click here for Export Import Notes-2
- My notes on Oracle Export - Examples --Moid
- My notes on Oracle Import - Examples --Moid
- How to export (using Data Pump) a schema using parfile? --Moid
- Click here for Export Homework.
- Click here for Import Homework.
Data Pump:
- Click here for Class notes on Data Pump - 12/29/13
- My notes on Data Pump
- Click here for the Schema level Export Import using DATA PUMP
- Click here for Data Pump Homework.
- How to name, start, stop, kill an export job using Oracle Data Pump? --Moid
- Data Pump: How to check the status of Data Pump export? --Moid
Archive:
- Batch-28: Classwork on Export Import | 02/08/15
- Batch-27: Class work on Export Import | 10-12-14
- Batch-27: Class work on Export Import | 10-25-14
- Batch-30: Class work on Export Import | 10/10/15
- Batch-30: Class work on Export Import | 10/11/15
--Moid Muhammad
Homework (Week-15) Row Chaining | Row Migration | Tablespace | Datafiles
Classwork and Homework
http://www.mydbanotes.com/2015/06/my-notes-on-tablespaces-and-logical.htmlWeek-15: Classwork on Tablespace and Datafiles
Week-15: Homework on Tablespace and Datafile.
Week-15: Classwork on Row Chaining
Other links:
My notes on Tablespace and Datafiles --MoidMy notes on Temporary Tablespace --Moid
My notes on Undo Tablespace --Moid
Notes on Row Chaining and Row Migration
--Moid
Homework (Week-12) [Oracle Permissions, Grants, Privileges and Roles Exercise] --Moid
1. Click here for Homework Exercise-1
2. Click here for Homework Exercise-2
6. Security -- How many (system level) permissions are assigned to a Role?
7. Security -- My queries on Oracle Roles
8. Security -- My queries on Oracle Grants, Roles and Privilege
9. Security -- How to copy / extract a user's Roles and permissions?
--Moid
2. Click here for Homework Exercise-2
3. Security -- What Roles and Privileges are given to a User?
4. Security -- What object level permission are given to an oracle user?
4. Security -- What object level permission are given to an oracle user?
6. Security -- How many (system level) permissions are assigned to a Role?
7. Security -- My queries on Oracle Roles
8. Security -- My queries on Oracle Grants, Roles and Privilege
9. Security -- How to copy / extract a user's Roles and permissions?
--Moid
Homework (Week-9) [Oracle Client Side Networking Overview, Oracle Client Installation, Server Side Networking Overview] --Moid
My documents on Oracle Networking:
- Download Oracle 11g R2 Client for 32/64-bit Windows
- Download Oracle 12c R1 Client for 32/64-bit Windows
- Click here for 11g R2 Client Installation on Windows 7
- Click here for 12c R1 Client Installation on Windows 8
- How to deinstall Oracle 11g R2 Client from Windows 7?
- How to deinstall Oracle 12g R1 Client from Windows 8?
- How to deinstall Oracle 11g client from Linux?
- How to deinstall Oracle 11g R2 "DATABASE" from Windows 7?
- How to deinstall Oracle 11g R2 "DATABASE" from Windows 8?
- How to deinstall (uninstall) 12c database home from Linux?
- How to create a TNS Entry (Database Address / Connect Identifier) on the Oracle Client Machine using netca?
- On Linux - How to register database on a non-default listener?
Classwork:
- Click here for Class Notes on Client Side Networking
- Click here for Class Notes on Server Side Networking
Homework:
- Click here for the "Server Side Networking" homework.
- Click here for the "Client Side Networking" homework.
--Moid
Homework (Week-11) [Install 11g R2 on 64-bit CentOS 5.6] --Moid
Click here for the Class Notes
Part-1 Install 11g R2 on 64-bit CentOS 5.6 (Create Virtual CentOS Machine for Oracle)
Part-2 Install 11g R2 on 64-bit CentOS 5.6 (Oracle Pre-requisites & Kernel Parameter Changes)
Part-3 Install 11g R2 on 64-bit CentOS 5.6 (Create Oracle Directories and download 11g R2 software)
Part-4 Install 11g R2 on 64-bit CentOS 5.6 (Oracle 11g R2 Software Installation)
Part-5 Install 11g R2 on 64-bit CentOS 5.6 (Oracle 11g R2 Database Installation) --Final
--Moid
Part-1 Install 11g R2 on 64-bit CentOS 5.6 (Create Virtual CentOS Machine for Oracle)
Part-2 Install 11g R2 on 64-bit CentOS 5.6 (Oracle Pre-requisites & Kernel Parameter Changes)
Part-3 Install 11g R2 on 64-bit CentOS 5.6 (Create Oracle Directories and download 11g R2 software)
Part-4 Install 11g R2 on 64-bit CentOS 5.6 (Oracle 11g R2 Software Installation)
Part-5 Install 11g R2 on 64-bit CentOS 5.6 (Oracle 11g R2 Database Installation) --Final
--Moid
Homework (Week-8) [Oracle Dictionary / CASE & Decode / Joins / Sub-Queries] --Moid
Batch-30: Click here for class work (Sub-Query, CASE, Decode)
Click here for Homework on Oracle Dictionary
Click here for Homework on CASE and DECODE
Click here for Homework on Sub-Queries (Part-1).
Click here for Homework on Joins (Part-1)
Archive:
Batch-27: Click here for Saturday Notes.
Batch-27: Click here for Sunday Notes.
Batch-28: Click here for Saturday Class Work
Batch-28: Click here for Sunday Class work
Click here for class notes on Sub-Queries
Batch-29: Click here for Saturday Class Work (04/11/15)
Batch-29: Click here for Sunday Class Work (04/12/15)
--Moid Muhammad
Click here for Homework on Oracle Dictionary
Click here for Homework on CASE and DECODE
Click here for Homework on Sub-Queries (Part-1).
Click here for Homework on Joins (Part-1)
Archive:
Batch-27: Click here for Saturday Notes.
Batch-27: Click here for Sunday Notes.
Batch-28: Click here for Saturday Class Work
Batch-28: Click here for Sunday Class work
Click here for class notes on Sub-Queries
Batch-29: Click here for Saturday Class Work (04/11/15)
Batch-29: Click here for Sunday Class Work (04/12/15)
--Moid Muhammad
Homework (Week-7) [Oracle View, Concatenation and Constraints] --Moid
Constraints:
What to read in Book?
Week-7 - Understanding Constraints Part-1
Week-7 - Understanding Constraints Part-2
Classwork:
Batch-30: Saturday: Week-7 Class Notes 7/25/15
Batch-30: Sunday: Week-7 Class Notes 7/26/15
Homework:
Week-7 Part-1 Homework [Oracle Views and Concatenation]
Week-7 Part-2 Homework [Constraints]
Archive:
Batch-29: Saturday Week-7 Class Notes (04-05-15)
Batch-29: Sunday Week-7 Class Notes (04-04-16)
Batch-26 Week-7 SQL Revision on 3/1/14 with Dictionary Views
Batch-26 Week-7 Class work 3/2/14 (concatenation)
Batch-26 Week-7 Class work 3/2/14 (Sub Query)
Batch-25 Week-7 Class work 9/28/13
--Moid Muhammad
What to read in Book?
Week-7 - Understanding Constraints Part-1
Week-7 - Understanding Constraints Part-2
Classwork:
Batch-30: Saturday: Week-7 Class Notes 7/25/15
Batch-30: Sunday: Week-7 Class Notes 7/26/15
Homework:
Week-7 Part-1 Homework [Oracle Views and Concatenation]
Week-7 Part-2 Homework [Constraints]
Archive:
Batch-29: Saturday Week-7 Class Notes (04-05-15)
Batch-29: Sunday Week-7 Class Notes (04-04-16)
Batch-26 Week-7 SQL Revision on 3/1/14 with Dictionary Views
Batch-26 Week-7 Class work 3/2/14 (concatenation)
Batch-26 Week-7 Class work 3/2/14 (Sub Query)
Batch-25 Week-7 Class work 9/28/13
--Moid Muhammad
Homework (Week-6) - [Select, DDL, DML, Views] --Moid
Batch-31: Week-7: Saturday Class: 12/5/15
Batch-31: Week-7: Sunday Class: 12/06/15
Week-6: Homework | Select, DDL, DML and Views -
Week-6: Homework: Question and Answers via email
Archive:
Batch-24: Class work
Batch-27: Week-6: Saturday Class Notes: 06-07-14
Batch-27: Week-6: Sunday Class Notes: 06-08-14
Batch-28: Week-6: Classwork: Saturday 11/1/14 --Moid
Batch-28: Week-6: Classwork: Sunday 11/2/14 --Moid
Batch-29: Week-6: Saturday Class Notes: 03/14/15
Batch-29: Week-6: Sunday Class Notes: 03/15/15
--Moid
Batch-31: Week-7: Sunday Class: 12/06/15
Week-6: Homework | Select, DDL, DML and Views -
Week-6: Homework: Question and Answers via email
Archive:
Batch-24: Class work
Batch-27: Week-6: Saturday Class Notes: 06-07-14
Batch-27: Week-6: Sunday Class Notes: 06-08-14
Batch-28: Week-6: Classwork: Saturday 11/1/14 --Moid
Batch-28: Week-6: Classwork: Sunday 11/2/14 --Moid
Batch-29: Week-6: Saturday Class Notes: 03/14/15
Batch-29: Week-6: Sunday Class Notes: 03/15/15
--Moid
Homework (Week-5) [Select statements with conditions only] --Moid
- Batch-32: Week-5: Class Notes 03/05/16 and 03/06/16
- Document for Student Only: How to create a new schema and load tables?
- How to find the date format of Oracle Database Server?
- Week-5 Homework (SQL on select statements with conditions only)
- Oracle SQL Operators --Moid
- Oracle Functions --Moid
- Batch-31: Week-6: Class Notes | Saturday 11-04-15
- Batch-31: Week-6: Class Notes | Saturday 11-05-15
- Batch-30: Week-5 Class Notes | Saturday 06-27-15
- Batch-30: Week-5 Class Notes | Sunday 06-28-15
- Batch-29: Week-5 Class Notes | Saturday 03-07-15
- Batch-29: Week-5 Class Notes | Sunday 03-08-15
- Batch-28: Week-5 Class Notes: Saturday 10-25-2014
- Batch-28: Week-5 Class Notes: Sunday 10-26-2014
- Batch-27: Week-5 Class Note | Saturday 05/31/14
- Batch-27: Week-5 Class Note | Sunday 06/01/14
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:
--Moid Muhammad
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:
- Login to your database schema.
- Start spool.
Spool output to /home/oracle/SpooledFiles/Khan_A13_spool_file.log.
Replace Khan_A13 with your schema name. - 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
- Turn off spool.
- Transfer file from Server-223 to your laptop using WinSCP.
- Send me the file from Step-5 from your email as attachment.
Archives:
- Batch 23: Week-4: Classwork: [Saturday and Sunday SQL Notes]
- Batch-28: Week-4: Classwork: [Saturday & Classwork | 10/11 and 10/12]
- Batch-29: Week-4: Classwork: [Saturday & Sunday Classwork | 02/28/15 and 03/01/15]
- Batch-30: Classwork: Week-4: [Saturday 06/13/15]
- Batch-30: Classwork: Week-4: [Sunday 06/14/15]
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.
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
--MoidClick 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 homework | 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 Muhammad![Link](http://www.blogger.com/img/blank.gif)
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 Muhammad
![Link](http://www.blogger.com/img/blank.gif)
Subscribe to:
Posts (Atom)