Object usage in 11g

hi all,
We know that we can put monitoring usage on Indexes.
But here I wanted to have the same mechanism for sequences. Does anybody know that oracle has feature to monitor any other object usage or anything else?
rich

user12028119 wrote:
I have one sequence, which is not used by application but still its increasing.If the sequence is an invalid/illegal object, drop it.
want to know who is using that, I tried ash report, traced all sessions but still not able to find it out ...Still not sure why it should be an issue. That sequence was created by someone who had the rights (as assigned and managed by the dba) to do so. The sequence is used by a client session that provides valid authentication credentials and have the rights to use that sequence. So why the concern about who is using the sequence? It should not be from a dba perspective (unless there are performance related issues relating to the sequence's usage). If from an application owner perspective, if that sequence is not part of the data model for the application.. drop it. And review developer access policies and just who is in charge of managing the data objects in the relevant application schema.
If this is just to satisfy a morbid curiosity about the sequence usage, you can search for code using that sequence via DBA_SOURCE and look through the cursor source code in the shared pool (e.g. select * from v$sqlarea where upper(sql_text) like '%MY_SEQ%' ).

Similar Messages

  • Extracting object usage from SELECT

    I thought I had a great idea by using "explain plan" to extract the different objects (tables, views, synonyms, stored procedures etc.) that a given SELECT statement is using. However, after some fidling around I've realized that "explain plan" doesn't deal with stored procedures at all.
    Is there a way I can call a parser or something on the RDBMS side to get a list of involved objects? I don't need it nested - ie. I don't need to know that a stored procedure I'm calling calls another stored procedure etc; but I do need to know what tables, views, procedures are used in the SQL.
    Is there a parser available that will allow me to extract this "metadata" ? I need to pass in a "dynamic" SQL - meaning not an existing Oracle object.
    Does anyone have an idea on solving this?

    If the statement is an object in the DB, then you're right on target. But it's not. It's SELECTs from client programs, like Java etc. I'm trying to document. I have the SQLs extracted, but I would like to document the object usage/dependences on external modules.
    I may have to convert the statement into a stored procedure, check the dependencies and then drop the temporary object again. I was trying to avoid DDL though.

  • Report Object Usage

    Hello,
    I am attempting to write a report that shows the object usage per each universe, using the Activity universe. I so far have a simple report showing the object used, per each universe and by date. What I would like to add is all the available objects across all universes, so that I can note which objects are not being used in addition to the objects being used. I realize there are probably several ways to accomplish this- any help would be greatly appreciated.
    Thanks,
    Michelle

    Dear Michelle,
    You can use the below URL to access QUERY BUILDER:
    http://<Your Server>:<Your Port>/AdminTools/
    You can login using your BO Administrator credentials.
    There are three tables that you can query on from here -
    CI_INFOOBJECTS - Contains InfoObjects that are viewed by the end user. Including: report documents, programs, shortcuts, folders, categories, inboxes.
    CI_SYSTEMOBJECTS - Contains InfoObjects that are not documents but are used by documents. For example: universes, connections, and overloads.
    CI_APPOBJECTS - Contains InfoObjects that the BI Platform uses in order to function. For example: users, groups, and license keys.
    But I must say that Universe Level Object details cannot be found in these metadata tables.
    However, there is an alternative that you can try out.
    There is a tool / macro based excel developed by a person named Andre.  You can run the macro against the universe that you are interested in, to gather metadata about your universe.  This will give you Object Level information as well.
    You can find more details on this here --> http://www.forumtopics.com/busobj/viewtopic.php?t=141886
    You can probably use this data and create reports using this EXCEL data and ACTIVITY universe data, to satisfy your requirements.
    Let me know if you need more details.

  • API of Resource object managment - OIM 11g R2

    Hi All,
    I want to provision a resource (say 'AD User') from a post event handler (OIM 11g R2) during user creation.
    Please tell me the API to be used.
    In OIM 10g, we can use 'tcObjectOperationsIntf' interface to operate on resource objects. what API is its replace in OIM 11g R2?
    Thanks in Advance.

    Create a role and add a rule membership to that role using your custom attribute.
    Create an access policy to provision AD resource and use the role created above while creating access policy. There will be a schedule task with the name "Evaluate user access policies". Change its schedule to run for every 1 minute.
    Now, create a user who satisfies the above role membership and make sure this user got the role membership. Immediately after a minute, this new user should be provisioned to AD resource automatically.

  • Special character issue with Resource Object in OIM 11g

    Hello
    While creating Resource Object with special character '/' in OIM 11g, it's not allowing me.
    For ex: Peoplesoft Finance/Reporting
    Do we have any other workaround without changing the Resource Object name??
    Thanks for your help.

    Nothing is there in system configuration related to special character.

  • Object granting issues 11g

    We are in the process of migrating to 11.2.0.2 RAC/ASM on new hardware from 10.2.0.4 RAC/OCFS2 ... as such I am migrating my entire database using Data Pump Export/Import. Everything seems to have come over fine and the only errors I see in my import logs are related to objects already existing in the SYS schema. Now to my issue ...
    I have an object GN.UNPOST_JOURNAL_ENTRY ... execute rights on this object have been given to the role GL_ADMIN. This role has been then granted to my non admin SCARLSON user account. In our 10.2.0.4 system this works just fine ... but in our 11g system I am unable to execute this procedure. In fact the only way I am able to see the procedure is to grant my SCARLSON account execute rights directly or grant my SCARLSON account the system privelege of "EXECUTE ANY PROCEDURE" ...
    I have already completely deleted DB instance, recreated my instance, ran my export/import, removed the object, roles, groups, and grants no less than 20 times at this point with the same results ... has anyone ran into this issue before or does anyone have an idea of what to start looking into first?

    Is the role password protected ? You can check with :
    select * from dba_roles where role = 'GL_ADMIN';Password protected roles are no more enabled by default since 10.2.0.5: see Oracle Patchset 10.2.0.5.0 impact on password enabled roles

  • Allow Windows AD domain user to access and manage objects in Oracle 11g

    Hi,
    I'm using Oracle 11g on Windows environments, XP, server 2003 etc.
    If I use a domain user (user1) maintained on domain server (adsvr.company.com) to manage Oracle objects in DB server (dbsvr), do I have to assign user1 as member of administrator on DB server (dbsvr)?
    I'm asking this because my software vendor requires for it but our security policy doesn't allow us to assign normal domain user (user1) to administrator group on local machine (dbsvr).
    If I have to assign user1 to administrator group on dbsvr, please point me which document says so.
    Thank you in advance.
    Jeffrey

    Looks like some left-over processes keeping a hold on configuration files.
    Manually kill the left-over processes and start the DB Console.
    Refer:
    How To Identify and Remove an Agent or DBConsole Processes From a Windows Server (Note 785772.1)
    Refer this as well:
    EMCA Troubleshooting Tips
    http://docs.oracle.com/cd/E11882_01/server.112/e25494/dbcontrol.htm#ADMIN13444
    HTH
    Mani

  • Universe objects usage statistics

    Hi,
    Is it possible to get any details on usage of  individual  objects within an universe?
    Ideally i would like to know each field is used in how many reports, refreshed "n" times in a day etc.
    I am aware that there could be third party tools to do this, but anyway to get this information from the Business Objects Enterprise
    Thanks
    Edited by: ramaks on Nov 16, 2009 10:43 PM

    i think yes you can have this if you are activating the Audit on your CMC
    not all the information but you will have alot
    there is some information for a report level, and some else for object level
    good luck

  • Problem with saving Parent - Child  View Objects in ADF 11g.

    Hi Every one,
    I have a requirment, something like I will be displaying some data on my jsff screen based on one Transient View Object. Whenever user clicks on Save button, I have to do following steps in my AMImpl.
    -> Preapre dynamically Parent View Object Rows based on some logic
    -> Prepare dynamically Child View object Rows and invoke insertRow method on respective child view object.
    When I say commit() First Parent ViewObject data need to be saved and then Child View object data has to be saved. I am having Parent - Child Key relation ship btw these two ViewObjects. Some how I am populating the Parent Primary key in the Child View Object. Please suggest me If there is any other alternative to this.
    Thanks

    I got the solution, Enabling the check box option for Master - Detail Entity association (CompositionAssociation -> Cascade Update Key Attributes) resolved the issue.
    Thanks

  • Object Usage Report

    Hi
    We're planning our upgrade and would like to do a cleanup of unused objects as a phase 1. Is there a SAP report that we can run that does analysis on e.g. TADIR objects and highlight objects that are not being used for the passed 6 - 12 months?
    If not, how would you propose we get this information?
    Thanks,
    Adrian

    Hi,
    An addition to that STAD.
    You can at one time call it for maximum one day.
    That report is using FM - data_read_function to get stats.
    You can call this FM in loop starting your date to today's date.
    If any stat is found means program was run..then you can skip that program.
    Regards,
    Harsh Bansal

  • How to initialize a data object in bpm 11g?

    I created a Business Object with a few attributes,
    then a Process Data Object with the type of the Business Object,
    and tried to use it in Humantask, set it as Editable.
    but I failed editing it when starting the process, it's not editable at all, I don't know why? maybe the Process Data Object is not initialized? or something I missed?
    anyone can help? thanks.

    If you are using ADFBC, the easiest way is
    - drop the data control as ADF form
    - add CreateInsert method binding to the pagedef
    - add an invokeAction for the createInsert with a refresh property set to renderModel so that an empty creation form will be shown on page load
    for insertion
    - Finally, add the commit action as button
    Sireesha

  • Dblink usage in 11g on linux server.

    Hello All,
    Please note that i have two oracle 11g db instances in linux server; now i just want to make communication through dblinks; i am able to create dblink using the following command;
    create database link link1 connect to <other db user name> identified by <other db password> using '<other db name>';
    Using above command the dblink is created successfuly; but when i gave the follwoing command it is giving the error.
    desc <some table name from other db>@link1;
    ORA-12154 TNS:could not resolve the connect identifier specified.
    I searched in google about the error code; and the solution is talking about check for tnsnames.ora and sqlnet.ora files.
    When i started looked into these files in my linux server i observed the following.
    1. The two db instanecs entries are not available in tnsnames.ora file.
    2. There is no sqlnet.ora file; there are only sample files of tnsnames.ora and sqlnet.ora files.
    When further i googled; i came to know that in oracle 11g by default when we create db instances it would not make entries in tnsnames.ora files. Is this info correct?
    Now please suggest me the solution for the above problem.
    I am just guessing that if we manually add those two db entries in tnsnames.ora it would solve the problem. Is this understanding correct? please suggest.
    Thanks in advance.
    Hafeez.

    add the entry of second database in ur tnsnames.ora and try to tnsping the other database
    RACDB1 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = #hostname)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME =#servicename)
    vxnode1-> tnsping racdb1
    TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 18-SEP-2010 23:40:28
    Copyright (c) 1997, 2009, Oracle. All rights reserved.
    Used parameter files:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = scan.rac.example.com)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = racdb1.rac.example.com)))
    Edited by: shaiffy on Sep 18, 2010 8:40 PM

  • XI Colonial object usage

    Did any body work with XI using colonial objects?
    I am sorry I dont have any idea about them...any thoughts,
    links or any files would really help me in this regard..
    -Naveen.

    YOu use a Sender XI adapter in case of Client Proxies.
    say you have some data in a Ztable in your R/3 system.
    YOu want to send that data to XI and XI sends that data to file.
    Then you can create a client proxy for your outbound interface .
    YOu selec the data in a z program and call the proxy class methods.
    Then the data will be transferred in XML format dierctly from the R/3's integration Engine to the XI's integration engine.
    In other words, you by pass the adapter engine of the XI system.
    But you might say, we can even use an RFC for this.
    BUt the thing is that RFC adapter resides in the adapter engine of XI and unnecessary message conversions (RFC to XML ) happen which can be avoided.
    Regards,
    Ravi

  • Process Object usage in the HR Administrative Services

    Hello,
    Does anybody have more details on how the process object is used in the HR Administrative Services in mySAP ERP 2005?
    The SAP Online Help doc we have says that the process object is the data persistence object in this workflow.   I'd like to find out the following:
    1) how to save data into a process object
    2) how to retrieve data from it later in the workflow
    3) ultimately how is the process object itself persisted?  As an independent XML file, an XML file stored as a record in the relational DB, or as a bunch of records in the relational DB?  
    Thanks,
    Ye

    The process object can be picked from the workflow by reading the context of workflow.
    You can analyse this in the workflow process provided by SAP i.e. transfer process etc.

  • Store file streams into dicom object in oracle 11g (BLOB construct)

    The datastream is transfered from network and stored into oracle DB as a blob , then I use the Dicom construct to build the dicom object . The problem is , before I have the blob in the DB , I have to create an empty Blob object ,I use this this empty blob and do the datastream store .
    Does somebody have the idea ,how to directly store the datastream into the DB BLOB ,or can I put this BLOB as the variable in JAVA .
    my program like this :
    stmt.executeUpdate("insert into blob_tbl(id,my_blob) values('" + in + "',empty_blob())");
         ResultSet rs = stmt.executeQuery("select my_blob from blob_tbl where id='" + in + "' for update" );
         if(rs.next())
         Blob blob = rs.getBlob(1);
         OutputStream out = ((oracle.sql.BLOB)blob).getBinaryOutputStream();
         byte[] b = new byte[((oracle.sql.BLOB)blob).getBufferSize()];
         InputStream fin = inStream;
         int len = 0;
         while( (len = fin.read(b)) != -1)
         out.write(b,0,len);
         fin.close();
         out.close();
         conn.commit();

    The datastream is transfered from network and stored into oracle DB as a blob , then I use the Dicom construct to build the dicom object . The problem is , before I have the blob in the DB , I have to create an empty Blob object ,I use this this empty blob and do the datastream store .
    Does somebody have the idea ,how to directly store the datastream into the DB BLOB ,or can I put this BLOB as the variable in JAVA .
    my program like this :
    stmt.executeUpdate("insert into blob_tbl(id,my_blob) values('" + in + "',empty_blob())");
         ResultSet rs = stmt.executeQuery("select my_blob from blob_tbl where id='" + in + "' for update" );
         if(rs.next())
         Blob blob = rs.getBlob(1);
         OutputStream out = ((oracle.sql.BLOB)blob).getBinaryOutputStream();
         byte[] b = new byte[((oracle.sql.BLOB)blob).getBufferSize()];
         InputStream fin = inStream;
         int len = 0;
         while( (len = fin.read(b)) != -1)
         out.write(b,0,len);
         fin.close();
         out.close();
         conn.commit();

Maybe you are looking for

  • Session Timeout Thoughts

    I saw a post from awhile ago that you can't change the session timeout in iTunes U. Is this still true? Our users are having timeout issues and we have an unfortunately lengthy login process to get back into iTunes U so I had some thoughts on the Sit

  • 2 Game Center accounts under 1 Apple ID.

    I have 2 Game Center accounts,under 1 Apple ID, on. Of which I am logged in to. I would like to change to the other account because the other one has my advanced clash of clans account on it and I do not want to start a new one. How do I change to th

  • "To Do" items with deadline dates as an input to iCal

    I like the list of To Do's on the left hand side of the iCal window, but it would be more useful if the To Do items with specific due dates would show up in the calendar on the date the To Do is due to be completed. Is there a way for the To Do items

  • Net-auto-wired wont start

    Trying to enable and start net-auto-wired but systemctl says: net-auto-wired.service - Provides automatic netcfg wired connection           Loaded: loaded (/usr/lib/systemd/system/net-auto-wired.service; enabled)           Active: failed (Result: exi

  • Windows 7 & HP Solution Center

    I have a brand new Compaq PC with Windows 7 64bit which I want to connect via ethernet cable and my router to an HP C6380 All-in-One printer.  I have downloaded the latest version of HP Solution Center, 130.0.44.62, and initially everything was worki