How to determine which user uses which database-object

Hi,
currently we are in the process of consolidating our databases. One of the neccessary steps is to figure out which user connects to the database at all. That's easy, we implemented a logon-trigger and log the collected information into a separate table.
If a user with objects (e.g. tables, views, procedures) exists - but this user never connects to the database - does that automatically mean that these objects are not used at all? No need to say that this is not true. But how can we figure out if a connected user has selected an object of this user?
Our porblem is that we have alot of schemas in our database - but the developers don't know if this schema is not used by an application or not (sad but true).
To enable auditing would be one choice to figure out if an object was ever used or not.
Are there any other possibilities?
Any help will be appricated
Rgds
Jan

VivaLaVida wrote:
Hi,
currently we are in the process of consolidating our databases. One of the neccessary steps is to figure out which user connects to the database at all. That's easy, we implemented a logon-trigger and log the collected information into a separate table.It could have been even easier by turning on the built-in audit feature.
If a user with objects (e.g. tables, views, procedures) exists - but this user never connects to the database - does that automatically mean that these objects are not used at all? No need to say that this is not true. But how can we figure out if a connected user has selected an object of this user?audit would be a good choice.
Our porblem is that we have alot of schemas in our database - but the developers don't know if this schema is not used by an application or not (sad but true).Not sure what developer will do with used/not used application.
To enable auditing would be one choice to figure out if an object was ever used or not. What's wrong in auditing ?
Even though audit may have a footprint on performance, that would probably be less costly than any custom solution.
Nicolas.

Similar Messages

  • How can I keep track of which users use which machines

    Hello!
    I'm notice that we have one machine in our labs that is constantly getting the keyboard damaged by one of the students. We use an Open Directory system to allow the students to log into any available machine, but how can I log which users are using that particular machine??
    Thanks!

    hi,
    try "last" in the client's terminal. is this what you are looking for?
    cheers,
    Michael.

  • How can i restrict user to access database object (procedure) or JSP

    Hi
    I have 9ias infrastructure 902, on win2k box with 9i DB.
    and I have one PL/SQL web application and another J2EE application both are hosted by 9ias 902.
    Now we are looking forward to couple both with SSO.
    I have deloyed samples of both and works fine.
    Each application have different set of users, i mean there is no common user.
    How can i restrict user not to view the web page which is not authorised to them.
    as far as i understand from the Grocery demo is pick the role (which is a string only) from OID and programaticall apply security via if else endif construct.
    can any one through light upto my concern.
    regards
    [email protected]

    Hey Mary
    No i haven't try to do that via pl/sql....
    as the our application is j2ee app... deployed in oc4j.. with sso and ldap....
    still finding to do so....
    what i have realized that LDAP is just to store user information in inverted tree... and one have to build separated access security mechnisum that will be applicable to j2ee system....
    thanx...
    samir....

  • How to create a user in UME Database using web dynpro java custom application

    Hi,
    Can you please suggest me how to create a user in UME Database using web dynpro java custom application.
    My Requirement is user can register his/her user id in SAP Portal 7.3 UME database.
    Please suggest me.
    Thanks and Regards,
    Amit

    Hi Amit,
    Generated Documentation (Untitled)
    This is what you're looking for, there's no real cook-book -- though Amey mentioned there might be some material on SDN, perhaps some tutorials.
    You should be looking into com.sap.security.api.IUserFactory, methods newUser(String) which gives you and IUserMaint and commitUser(IUserMaint, IUserAccount) -- IUserAccount can be obtained using com.sap.security.api.IUserAccountFactory, method newUserAccount(String)
    Hope it helps,
    D.

  • How to create a user  y which will have the same content of existing user x

    how to create a user y which will have the same content of existing user x ,
    like all the tables,procedures,functions and packages

    You can do the following.
    1. Use CREATE USER to create the new account/schema
    2. Use exp to export old schema
    3 Use imp with fromuser=<old user> and touser=<newuser>

  • Chat App: how to store the user IP in database when they login.

    hello,
    i am working on chat application. first i made a login GUI form. after login when we run the Chat program, it ask the ip address of the server to whom it want to connect. and if u enter the ip address, it will connect to the server and chat will begin, thats working perfect.
    but i want to show the list of users who r logged on and when i simply click on the user name, chat should begin.
    i have the logic that when any user log in, then its IP address will be stored in the database. this ip address will shown to the online users.
    but i dont know how to store the user information in database when they log in. can any body suggest me wht lines of code i should use.
    thanks.

    palakk wrote:
    i have the logic that when any user log in, then its IP address will be stored in the database. Bad approach. That will only work if this chat is only intended for use on a LAN. If it's used on the internet, then your users' IP addresses will almost always be either a) those of their routers, or b) private IP addresses, and in both cases, multiple users can have the same IP address.
    this ip address will shown to the online users. Why would you want to do that? I want to chat with "Bill", not with "1.2.3.4".
    but i dont know how to store the user information in database when they log in.Do the same thing that you're currently doing to store the IP address, but with the other information you want to store.
    can any body suggest me wht lines of code i should use. This is not a code writing service.

  • Which user and which procedure takes snapshots for AWR in 10g??

    Hi, all.
    Which user and which procedure takes snapshots for AWR in 10g??
    The snapshot interval is 1 hour.
    I checked dba_scheduler_job, and dba_job.
    However, I was not able to find a job which takes a snapshot.
    On EM, I can see snapshots are being taken per one hour.
    Thanks and Regards.
    Message was edited by:
    user507290

    Dear Shmyg and VAS.
    Thanks for your reply.
    MMON takes a snapshot and stores snapshot information in DBA_HIST_** tables.
    Right??
    Does MMON have something to do with dbconsole and emagent??
    Even when I stopped dbconsole and emagent, snapshots are being taken.
    If so, what does do dbconsole and emagent??
    Thanks and Regards.
    Message was edited by:
    user507290

  • Which user has which authorizations

    Hi all,
    I need to know which user has which authorizations.
    In which tables can I find these data?
    Thanks.
    deniz.

    Hi,
        Check this .
    USR01 contains the runtime data of the user master records
    USR02 is the table containing logon information such as the password
    USR03 includes the users' address information
    USR04 contains users' authorizations
    USR05 is the users' parameter ID table
    USR09 contains user menus
    USR10 is the table for user authorization profiles
    USR11 contains the descriptive texts for profiles
    USR12 is the user master authorization values table
    USR13 contains the descriptive short texts for authorizations
    USR14 contains the logon language versions per user
    USR30 includes additional information for user menus
    USH02, USH04, USH10 and USH12 contains Users and profile and
    authorization change history data.
    Tables related with authorizations objects and authorization fields are as follows:
    TOBJ is the authorization objects table containing the authorization
    fields for each.
    TACT contains the list of standard activities authorization fields
    in the system.
    TACTZ is the table which defines the relationship between the
    authorization objects and the activities in those objects containing
    the Activity authorization field.
    TSTC is the transaction code table where authorization objects
    and values can be defined.

  • How Know  which user use the maximum CPU time

    Hi Gurus,
    I am looking now a days on our production server CPU utilization usage mostly 90-100%.
    How I found which user usages maximum CPU utilization.
    I know the which application takes the max Util but how User not identified. (ST06-Top CPU Users)
    Pls help.
    Thanks
    Tapo Vardhan singh

    If your production system CPU usage is 100% then you are very likely to face performance problems or in fact you must be facing them now.
    SAP recommended CPU usage is about 40% (ofcourse depends on many other factors) but 100% CPU utilization is not a convincing figure.
    Get hold of your earlywatch reports and implement suggestions as soon as possible. Possibly you would want to hardware upgrade/move your production system after doing sizing exercise.
    Good luck.

  • How to determine from PL/SQL which processes are running

    Hi,
    I would like to find out which processes are runing. Is there any way how to determine this directly from PL/SQL? I know I can run external C libraries, but if there is another way, that would be great.
    Thanks for help, Dan

    Rahul India wrote:
    YOu might want to check these
    http://www.dba-oracle.com/plsql/t_plsql_v$.htm
    http://www.dba-oracle.com/t_plsql_monitoring.htm
    Please DO NOT post links to commercial websites. It is a breach of the Terms of Use of the forums.
    Such websites tend to provide snippits or excerpts of information in order to try and get people to purchase their products (books or whatever) or services.
    There are plenty of good resources out there, including the Oracle documentation, other threads on these forums with similar questions and solutions, or expert's blogs or websites that are not trying to sell something.

  • Which ipaddress which user use in domain enviroment without sccm

    How to know which user which ipaddress use in dmain environment without sccm if any command available or if any free software.
    Ananda

    Hi lyncLab,
    You may take a look at this thread:
    How to find user's IP on domain network ???
    Besides, if you have PC's hosts name, then you may take use of NSlookup to find the IP address:
    Nslookup
    Best regards
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • How to determine whose user is using a specific transaction code?

    Hi to all!
    I have a simple problem.
    Stated at the title. For example, I want to know whose User makes OB52 locked. I am actually coding it in one of my report.
    Is there a table wherein I can check whose User uses T-code OB52?
    I have tried using BDC but the messages it gave me does not have the information that I need.
    Anybody here can help me?
    Thanks.

    Hi
    I've seen the abap code run by trx SM12 and it seems the main function module is ENQUEUE_READ: this returns the active lock.
    Try to test that fm by SM37:
    GNAME     = RSTABLE
    GARG       = T001B*
    GUNAME  = *
    Max

  • How to determine the user who placed a certain concurrent request?

    Hi there,
    Is there a way (SQL query, for example) that can help me determine the user (EBS username) who placed a certain concurrent request?
    Thanks,
    Tareq

    Hi Tareq;
    Please check below notes which could be helpful for your issue:
    Concurrent Request-whcih is submmited by one of the Oracle USER *<<Posted By Hussein Sawwan*
    How to See Others Concurrent Request Oracle 11i
    Concurrent program- How to find database session *<<Posted By Hussein Sawwan*
    Re: Reg: Apps Concurrent
    Regard
    Helios

  • How to determine best User Device Affinity Settings

    We've configured User Device Affinity for our site based on the canned defaults. Initially we started with 14 days and 1440 minutes. But after a recent deployment, we discovered that our Antivirus service account is registering as a "Primary User"
    on all of our machines which has triggered a very bad situation.
    My question is how do you determine these settings? My first try was to find a report that showed how many minutes each user was registering in the given period so that I could adjust it accordingly. I assume that my regular users are using the computers
    a lot more than my service account but I have no way of verifying this.
    I've tried combing through the security logs, but I'm not sure what SCCM is picking up on to determine the time period.
    To me, it seems that 24 hours is a really low threshold and that I could bump that up to 120 hours over 14 days pretty easily without issue. My concern is that there is a reason that they are setting it so low to begin with that I'm missing. Even then, I'm
    just randomly trying things hoping to get it right as I don't have the proper information to make the right decisions.
    Any ideas? Feedback?  

    Yeah, I saw those logs but it still seems mysterious to me. I'm not sure where it's getting it's info. I assume it's the security log for each machine but I have nothing to confirm that. It's odd because our service account for our antivirus solution isn't
    actually logging onto the machines so I'm not sure how it decides that this user is a primary user. 
    Ultimately, we worked around the problem by switching antivirus solutions but that won't be an option next time. 
    My guess is that we could have fixed our problem by adjusting our security logging settings in windows. But it wasn't something I wanted to do without direct confirmation with how this all works. 
    Thank you for your help on this though. 

  • How to determine if user is logged in

    I am trying to look for a flag which tells me whether the user is logged into the application or not. I thought I could user :APP_USER but it can still contain value even if the user has logged out the application. We are using LDAP authentication. Thanks.

    I have some items on page 0 which I do not want displayed on the log in page. So I was looking for a condition which basically tells me whether the user has logged in or not. May be there is a better way of dealing with this other than figuring out if user is logged in. My understanding is that a user gets a session id regardless of whether the user is logged in or not. Upon successful login APEX creates a cookie with values that it uses to match with user session id to determine if user is logged in or not.

Maybe you are looking for

  • Dragging tabs from one Terminal.app window to another

    In Safari, you can drag a tab off and "tear" it off from one window to another. Is there a way to make that work in Terminal.app? It doesn't seem to work on my end with Leopard OS X 10.5.5.

  • HT1533 How can I switch back to Mac OS X from Windows 7 Bootcamp?

    I'm having problem switching back to Mac OS on my Macbook Air.  It's currently running Windows 7 bootcamp without a Mac OS installed with it.  I tried booting up on Mac OSX installer disc (Snow Leopard) on the external CDROM drive but it boots to Win

  • ORA-06550: Error in Oracle InterConnect DB Adapter

    Hi, We are facing a problem while inserting a row into Oracle database using Oracle InterConnect DB Adapter. All the required configuration information like AppViews,CommonViews,Events,Application etc have been created and configured in iStudio. At r

  • How do i get my apps to restore from an old ipod

    Everything else transfered from my ipod 4th generation but the apps. I have it backed up but how do i get my apps restored??

  • Web dynpro ALV requirement with search help

    Hello Experts, I developed a custom transaction in Web dynpro. It has an ALV display in editable mode where the user can enter Material number, plant, quantity and Batch as input fields for Production confirmation. There is a requirement to add a sea