OEM 12c extract/retrieve information

Posted on 2014-08-13
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.
Question by:mkhandba
    LVL 76

    Expert Comment

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

    Specifically what information are you after?

    Author Comment

    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.
    LVL 76

    Expert Comment

    by:slightwv (䄆 Netminder)
    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:
    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:

    Accepted Solution

    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:

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

    Author Closing Comment

    Because didn't get any answer, have to find myself.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
    How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
    This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.
    This tutorial goes over how to archive and restore FreeBSD jails that are managed by ezjail.

    759 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

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now