OEM 12c extract/retrieve information

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.
Mushfique KhanDirector OperationsAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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

Specifically what information are you after?
0
Mushfique KhanDirector OperationsAuthor Commented:
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
slightwv (䄆 Netminder) Commented:
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
Mushfique KhanDirector OperationsAuthor Commented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Mushfique KhanDirector OperationsAuthor Commented:
Because didn't get any answer, have to find myself.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Oracle Database

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.