Saturday, August 3, 2013

Install Oracle VM VirtualBox and Extension Pack

 

I will use "Oracle VM VirtualBox" for setting up virtual machines/servers. At the time of writing this post Version 4.2.16 was available.

Download link:

http://www.oracle.com/technetwork/server-storage/virtualbox/downloads/index.html?ssSourceSiteId=ocomen

Download both “Oracle VM VirtualBox” and “Oracle VM VirtualBox Extension Pack”

Install “Oracle VM VirtualBox” v4.2.16. Took below screenshots with (Fn+Alt+Prnt Scrn)

clip_image002 clip_image004

clip_image006 clip_image008

clip_image010 clip_image012

clip_image014 

Install “Oracle VM VirtualBox Extension Pack” for v4.2.16

Right click on downloaded file “Oracle_VM_VirtualBox_Extension_Pack-4.2.16-86992” and click open.

clip_image016 clip_image018

clip_image020

Friday, August 2, 2013

OCM 11g Preparation

After being a dba for over 10 years, I have decided that I would attempt to give OCM exam for 11g.

Target period: Nov/Dec 2013.

I will register for the exam just a month before the exam date after looking at available schedule and having confidence. But I don't intend to postpone it in 2014.

I will create multiple posts for each task/scenario related to each of the topics.

This will be a MASTER post and I will put links for all the posts here. This will help me to keep track of the topics I covered and will also help others if they are looking for some help in preparation

OU links for exam details:
http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=458&get_params=p_track_id:Datab11g

http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=5001&get_params=p_exam_id:11GOCM&p_org_id=1001&lang=US

Additional information and resources in above link shows exam environment information:


Exam Environment
  • Oracle Linux Release 5.4 (32-bit)
  • Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 (32-bit)
  • Oracle Enterprise Manager 11g Grid Control Release 1 (11.1.0.1.0)  (32-bit)



Task: Create Practice Environment

1. My LAB – HW and SW

2. Install Oracle VM VirtualBox and Extension Pack

3. Create Virtual Machine “OCM” & Install Linux Guest OS

4. Clone Virtual Machine OCM to OCMSFSDB

 

Task: Create the Database

1. On ocmsfsdb: Install Oracle Database 11g Enterprise Edition Release 11.2.0.3.0(32-bit)

2. Create database on ocmsfsdb

From Oracle Database Administrator’s guide:

The specific methods for creating a database are:

So I will create three databases on ocmsfsdb:

a. Using dbca (Recommended)

        i. Interactive – db_name: idbcadb

        ii. Silent – db_name: sdbcadb

b. Manually - “create database …” - mandb
 

3. Determine and set sizing parameters for database structures

a. Physical storage structures

     i. Data files

     ii. Control files

     iii. Online redo log files

b. Logical storage structures

     i. Data blocks

     ii. Extents

     iii. Segments

     iv. Tablespaces
    



<More to come>

Monday, December 31, 2012

ORA-00904: : invalid identifier dbms_workload_repository

User has "Select Any Dictionary".

Trying to run awrrpt using that user and got below error:

select output from table(dbms_workload_repository.awr_report_text( :dbid,
                         *
ERROR at line 1:
ORA-00904: : invalid identifier
 
This is because the user does not have grant to execute dbms_workload_repository.
 
So after granting execute on dbms_workload_repository, user was able to run awr report.
 
HTH.