Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

OEM 12c extract/retrieve information

Posted on 2014-08-13
5
Medium Priority
?
845 Views
Last Modified: 2014-08-27
Hi folks, need to extract data from our 12c OEM repository and place them in another (our own) schema/tables, the purpose is to have a complete inventory of all of our databases, instances, versions & hosts too, planning to use that information for some reporting purpose too.

Please advice/assist, how I can extract/retrieve that databases information from 12c OEM existing/current repository, into our own tables.

Thanks in advance.
0
Comment
Question by:Mushfique Khan
  • 3
  • 2
5 Comments
 
LVL 78

Expert Comment

by:slightwv (䄆 Netminder)
ID: 40260378
OEM grabs information from many different views in the data dictionary.

Specifically what information are you after?
0
 

Author Comment

by:Mushfique Khan
ID: 40262248
DB name, version, patch set, how many schema, host info too, everything whatever we can extract from this repository, this'll also be used for our inventory purpose too, also licenses, needed or we can release them too ... will serve different purposes too.

Plan is to start some where and then proceed accordingly.
0
 
LVL 78

Expert Comment

by:slightwv (䄆 Netminder)
ID: 40262895
I'm not a regular user of OEM so I'm not exactly sure what information is available from the GUI.

DB name is in several views.  I would probably go with v$database:
http://docs.oracle.com/cd/E11882_01/server.112/e40402/dynviews_1097.htm#REFRN30047
NAME VARCHAR2(9) Name of the database

Version is in v$version.

License info: v$license.

I don't know where to find patch information in the data dictionary.  This is commonly retrieved from the opatch OS command.

Host information is typically retrieved form the OS itself.

You can retrieve some of the information using the SYS_CONTEXT function.

What information is available can be found in the docs:
http://docs.oracle.com/cd/E11882_01/server.112/e41084/functions184.htm#SQLRF06117
0
 

Accepted Solution

by:
Mushfique Khan earned 0 total points
ID: 40279006
Sir slightwv ... please, your contribution is really amazing, great and outstanding too, thanks a million, but is it not very good, if you are not "best" on any topic, instead of sharing your open thoughts, you leave it for others ... does this makes sense, because if you are not good or even confident on any tool, product or any thing/any question ... it'll be just a waste of time, for all the parties, where as here I'm only putting questions ... for expert advises only ... and I think EE is expensive too :(

Am I saying anything wrong, please don't take it wrong, but I request, if you don't know or not having full confidence, it'll be great, if you don't share your thoughts.

Hope you'll consider this for my other questions ... thanks in advance.

And I've found the answer too, can get all the information from here:

http://docs.oracle.com/cd/E24628_01/doc.121/e25161/views.htm#CHDFFFDH

Hope you don't mind, because no one can deny your share and contribution ... Hats off :)
0
 

Author Closing Comment

by:Mushfique Khan
ID: 40287440
Because didn't get any answer, have to find myself.
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
This video shows how to recover a database from a user managed backup
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.
Suggested Courses
Course of the Month13 days, 16 hours left to enroll

581 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question