last logon of the user to the database

Hello

I need to find the last logon of the user to the database, any ideas who view data dictionary can help me?

Thank you.

user8869798 wrote:

Hello

I need to find the last logon of the user to the database, any ideas who view data dictionary can help me?

Thank you.

What version of Oracle?

With 12 c, it's to (drum roll, please...) DBA_USERS.

12 c, it is not in any table/view documented .

Tags: Database

Similar Questions

  • ORA-19505 RMAN wants the second to the last backup of the Database 9i

    Thanks to those who answered previous questions about my attempts our 9i database recovering.

    The details are that we had a Database 9i running on Windows XP. The computer has been damaged but we recovered the hard drive where the Oracle database. I also have a very recent RMAN backup. The steps I have taken in the recovery of the database are:

    (1) install 9i
    (2) creation of instance with ORADIM
    (3) tried to restore SPFILE with RMAN, but he said that the backup did not contain the SPFILE
    (4) copied SPFILE old old oracle directory
    4A) RESTORE CONTROLFILE FROM "path to old piece of backup", it seemed to work fine.
    (5) mounted on database
    (6) copied the last backup piece (and capture instant controlfile: sncf [sid] .ora) to the new database folder
    (7) tried to RESTORE the DATABASE, but failed to restore, after the first sale correctly all the data files to restore, with ORA-19505, it is looking for the second to the last backup (that may still be available to another source, I'm looking for it)
    (8) BACKUP of LIST done. It shows all the backup until the second to last, but not the most recent
    (9) CROSSCHECK BACKUP OF DATABASE, it shows that all backups are expired, does not show the newest one
    (10) has tried to RESTORE the DATABASE again, this time it is stopped (without the ORACLE error), saying: there is no backup of the six data files.

    I may be able recover the backup piece that he needs. I suppose that if I move it into the database directory and that you raise OVERLAP that I would be able to RESTORE it (?). However, I'd rather widely to use the most recent backup, which is also in the database directory.

    Any ideas on how to obtain RMAN to recognize this backup piece?

    Thank you!

    Brian

    Once the RECOVERY is completed by RMAN, do not use RMAN to OPEN the database.
    JUDGMENT of RMAN.

    Then use SQLPLUS / AS SYSDBA and
    MIGRATE FROM STARTUP
    ALTER DATABASE OPEN RESETLOGS

    Hemant K Collette

  • Last login of the user within the responsibility

    Hello

    The last date of logon of a user within a responsibility exist anywhere?

    I'm supposed to add this date to an existing report and I can't seem to find it nor can I find this information in the forum.

    Thank you.
    Leah

    Hello

    The last date of logon of a user within a responsibility exist anywhere?

    No, it does not in the database. You could implement a table looks with a logon trigger to maintain this information.

    Rod West

  • XP hangs before logon for the user profile.

    Propely at startup of Windows, but XP hangs before logon for the user profile.

    The system does not start in all modes like without failure, command prompt mode, last know good Configuration. But it starts only in XP system recovery mode.

    What happened after cloning of a XP C: hard drive Sata Drive Dell OptiLex 760 to another System DELL OptiLlex 760 . I've used Norton Ghost 15.

    Hi ANM

    · Have you created an image of the system using Norton ghost backup software?

    When you create system images using backup software, it is supposed to ideally be used on the same computer, since you cloned it on another computer, it seems to me that the user profile is corrupted and failed to load.

    If the problem is the DELL OptiLex 760 system then I suggest you to connect with Norton Ghost.

    If not then you can follow the market from the link below: how to recover from a corrupted registry that prevents Windows XP startup: http://support.microsoft.com/kb/307545

    With regard to:

    Samhrutha G S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • intermittent connection problem: 'the user profile Service service has no logon. The remote procedure call failed and did not execute. »

    Hello, I'm having intermittent problems with logging in my Windows 7 computer.

    Often after reboot due to applications of Windows Update or any simply restart after the holidays, I have the following message on trying to connect:

    "The service user profile Service has no logon. The remote procedure call failed and did not execute. "

    When I click 'OK', the machine disconnects and try to restart.  This can occur 2 to 5 times before _works_ .  But sometimes it happens at all.  And sometimes he _partially_ connects, but my "reminder" and the "Sidebar Gadgets' not loading not correctly and I get a different RPC error - for example, I lived once a message RPC over Skype cannot work because the remote procedure call failed.

    I'm fairly certain that it is different from the frequently reported issue 'profile of corruption', which was experienced by others.  This problem manifests itself as 'the user profile Service does not log. The user profile could not be loaded "and is reported as a blocking problem consistently reproducible which is set by the 'fixing' of the profile.

    However, the issue I feel is clearly related to an RPC problem is intermittent and not consistent - maybe one of my devices is not reset properly?  Where I can look in the logs of Windows, to provide relevant information on this subject?

    Because my computer was still under warranty, I have raised the issue of Dell and they removed the damaged system file (user account) last week.

    I hope that this will finally fix the problem (previously the error message disappear and reappear after a few weeks later.)  I'll give it a few more weeks to be sure.

  • Try to install purchased box.  Alls well until the last window when this message appears. INCONSISTENCY IN THE DATABASE OF THE INSTALLER. RESTART YOUR COMPUTER AND INSTALL IT AGAIN. Fact as stated several times and redisplays but same message?

    Try to install purchased box.  Alls well until the last window when this message appears. INCONSISTENCY IN THE DATABASE OF THE INSTALLER. RESTART YOUR COMPUTER AND INSTALL IT AGAIN. Fact as stated several times and redisplays but same message?

    Run the cleanup tool and manually delete the caps.db file.

    Important directories | Error postal codes of Mylenium

    Use the CC cleaning tool to resolve installation problems. CC, CS3 - CS6

    When you reinstall, make sure that you run with user privileges sufficient and external tools like virus scanners do not interfere. This is why you have the question in the first place.

    Mylenium

  • How to remove the last session of the user of the SQL backend?

    Sometimes the user session gets closed between some of the work for any reason.

    When the next time that the user logs on P6, he gets an error or special functionaly dosen't work for this user or the system hangs.

    In this case if I decided to clear the history of the last session of this user from the databases, how to write the SQL query?

    I don't want to remove all user sessions in the table USESSION and USESSAUD, I just want to remove the last session of the user to particular user (e.g., XYZ).

    You can consult Re: currently connected users

  • How to configure the setting of the optimizer to a user in a database.

    How do we set the optimizer settings of a user in a database.

    db Optimizer settings are

    optimizer__index_cost_adj = 1

    optimizer_index_caching = 100

    = all_rows optimizer_mode

    but I need to set the following to a specific user

    optimizer__index_cost_adj = 20

    optimizer_index_caching = 30

    optimizer_mode = first_rows_50

    the user has alter session privilege

    These parameters of the optimizer should take effect as soon as a connection is made with this user.

    Documentation Oracle said that this can be resolved, but did not say how?

    Is it possible to put it?

    any help would be appreciated.

    Like this

    orclz > ed

    A written file afiedt.buf

    1 create the trigger setparms after logon to scott.schema

    2 start

    3 run immediately 'alter session set optimizer_index_caching = 30';

    4 * end;

    orclz > /.

    Trigger created.

    orclz > conn scott/tiger

    Connected.

    orclz > index_c setting sho

    VALUE OF TYPE NAME

    ------------------------------------ ----------- -------------------------

    chain of db_index_compression_inheritance NONE

    optimizer_index_caching integer 30

    OPTIMIZER_INDEX_COST_ADJ integer 100

    orclz >

    but you'll have trouble setting optimizer_mode = first_rows_50.

  • How to determine the user who uses the database object

    Hello
    Currently, we are consolidating our databases. One of the steps is to understand that the user connects to the database at all. It's easy, we have implemented a logon trigger and save the information in a separate table.
    If a user with objects (tables, views, procedures) are - but that this user never connects to the database - which automatically means that these objects are not at all? Needless to say that's not true. But how do know us if a user has selected an object to this user?
    Our problem is that we have a lot of patterns in our database-, but the developers do not know if this schema is not used by an application or not (sad but true).
    To enable the audit would be a choice about whether or not an object is already used.
    Are there other possibilities?
    Any help would be appricated

    Rgds
    Jan

    VivaLaVida wrote:
    Hello
    Currently, we are consolidating our databases. One of the steps is to understand that the user connects to the database at all. It's easy, we have implemented a logon trigger and save the information in a separate table.

    It could be even easier by turning on auditing functionality.

    If a user with objects (tables, views, procedures) are - but that this user never connects to the database - which automatically means that these objects are not at all? Needless to say that's not true. But how do know us if a user has selected an object to this user?

    verification would be a good choice.

    Our problem is that we have a lot of patterns in our database-, but the developers do not know if this schema is not used by an application or not (sad but true).

    Don't know this that developer will be used/not used with the application.

    To enable the audit would be a choice about whether or not an object is already used.

    What is the problem in the audit?
    Even if the audit may have a footprint on the performance, which would be probably cheaper than any customized solution.

    Nicolas.

  • Tracks user last vist to the site

    Hello

    I am looking to follow when is the user login again into the site and Display that time he connection again?

    Hi, when you treat the login you could just write a timestamp in the database, but you must read the previous timestamp before being overwrittin by a new one.

    Also once you start collection the time you could do some calculations as dateDiff and view things like

    Last days logged 28 there is, you need to login more often etc etc.

    Richard

  • To get the last table by the user access time

    Hello

    We plan to remove unwanted objects in the database.

    Our goal is to monitor the tables, their frequency of access, users who have access to details of paintings.

    We can enable the AUDIT TRAIL Paramaeter. But this is not recommended because it will affect the performance of the database in a real environment.

    We can question session$ v. But it will ensure that the current data. It will not provide data when a session is closed.

    How can we get access to the frequency of the tables, their time of last access etc.

    Please could you suggest on this?

    user11343182 wrote:
    We can enable the AUDIT TRAIL Paramaeter. But this is not recommended because it will affect the performance of the database in a real environment.

    This will certainly have an impact, but it might be very light, there are also beautiful grain audit, but basically, it's the same thing, must audit objects.
    And about the degradation in performance, you must choose to live with your objects 'dead' or temporarily reduce the performance. It is perhaps interesting for all active objects is.

    Nicolas.

  • trace level of the user in the database.

    Hello

    I need emergency assistance. I wanted to take the trace of a perticular user sessions in the database. Could you please provide me with the steps to generate the trace of the user when the user connecting. In my case, when the connection of the user by the application, there are many session generated in the database. So I wanted to take the trace to the user level. I have Oracle 9i server.

    Thanks and greetings

    Probably the best for you would be to create a database trigger after the logon.

    CREATE OR REPLACE TRIGGER set_trace after logon on DATABASE
    BEGIN

    If the user = ('username') then
    run immediately "alter session set sql_trace = true";
    immediate ' alter events set "trace 10046 name context of session forever, level 12". "
    end if;

    EXCEPTION
    WHILE OTHERS THEN
    -Consider recording the error and then re-raise
    NULL;
    END set_trace;

    /

    You can read this thread as well:
    Oracle 9i - SQL Trace & Bind Variables

  • Time since the last action of the front by the user

    Hi I'm looking for an easy way to get the elapsed time since the last action of the façade was done by the user. This should be a security check as after two hours, the system should. Officially, I checked this by comparing a value absolute clock read before the loop appropriate at the present time. But as I have now two loops at the same time it would not work, and in any case, I hope that there should be a nicer solution.

    Thank you

    Wolfgang

    There is a function in the dialog box & User Interface Palette called Wait for activity on front panel.

    I would use that in its own loop updating a functional global variable (even a local variable or global variable could work).  Whenever it is running, it currently puts in the variable.

    Use another loop to monitor this variable.  If the current time is equal to or greater than 2 hours, the longer stored by this expectation for function FPA, then execute your strategy to stop.

    Looks like you describe something similar.  If you're doing now doesn't work for you, after your VI so we can comment on her one suggest improvements.

  • How can I capture the time of startup and logon for XP users on my domain?

    How can I capture time (or time)
    -for users to access the logon screen (references)
    -users press OK after entering his credentials on the logon screen
    -Office XP that appear in a usable format moderately (for example, the user is able to open Explorer)

    We have problems with the connection of slow/slow start (SBSL) with Windows XP on the field and we would have 'real' numbers before you start so that we can have a base line and that you don't need to ask users what they mean when they say "it's a bit slower than usual" (and we'll know what stage of the startup procedure is slow). We would like to be able to capture (without intervention of the end user) following in a file or somewher event schedule so that we can measure how slow (or not), they are and what stage is slow, and what days it was slow. We are already capture the userenv logs.

    Hello

    Your Windows XP question is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the IT Pro TechNet public. Please post your question in the TechNet Windows XP Networking forum.

    http://social.technet.Microsoft.com/forums/en-us/category/windowsxpitpro

  • I get the error message "logon failure: the user has not been granted the type of logon required on this computer." on the workgroup computer.

    Original title: home network problems

    Here's what I have-

    1 PC connected via LAN - named PC - running Windows 7 pro 32 bit

    1 computer connected via WiFi - named TECRA running Windows 7 pro 64-bit

    1 computer connected via WiFi - named TOSH running Windows 7 Starter Edition

    Network LAN named changed to have the same name as the network WiFi (SSID)

    All computers have the same workgroup name

    Initially, I had a home group for them, created by TECRA but trying to solve the problem I deleted it.

    PROBLEM:

    PC and TOSH communicate perfectly both ways

    TOSH and TECRA so

    HOWEVER, the PC can access TECRA via the NETWORK, but sees TECRA PC and can not access

    Error message:

    \\Parents-PC is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if access you permissions. Logon failure: the user does not have the type of logon required on this computer.

    Attached the screenshot:

    Please Please HELP...

    Thank you

    Hello

    I suggest you to run the next fixit mentioned in the following link and check:

    How can I reset the default Hosts file?

    http://support.Microsoft.com/kb/972034/en-us

    Please answer us on the State of the question to help you further.

Maybe you are looking for