How to monitor DROP USER

Hi Guys,
Would anybody suggest me how to monitor the DROP USER command?
OS: AIX, Oracle: 11.2.0.2
CSM

CSM.DBA wrote:
I'm extremely sorry for not framing the question properly.
I mean, Is there any way I can monitor the progress of the DROP USER command.
To give more details, I have a schema with 500G+ data and I want to drop that schema. No doubt it'll take significant time but how to monitor how it's progressing?
Using v$session_longops ?
Aman....

Similar Messages

  • How to monitor end user response times?

    Hi everyone.
    I'm using Oracle Enterprise Manager 10.2.0.5.0 for monitoring our development environment. We have many products but my focus is on a web application that is running on an Oracle Application Server. I need to monitor the reponse time of every HTTP request to check if this time is in the range of our SLAs.
    I've seen that OHS monitoring shows the mean response time, resource consumption, etc. But I haven't found any that lets me do more detailed monitoring (at the level o HTTP request).
    I'm reading right now 3 books about it but it does't mention this feature (just in case):
    - Middleware Management with Oracle Enterprise Manager Grid Control 10gR5
    - Oracle Enterprise Manager Administration 10.2.0.5 (from Oracle Library)
    - Oracle Enterprise Manager Grid Contro lInstallation And Configuration 10.2.0.5.0
    ¿Does anybody knows if Enterprise Manager have this feature?
    Thanks in advance.

    Hi.
    Sorry for a long delay.
    The answer was so generic and didn't help too much. But today, after several days of research I found how to monitor the user perceived performance by using "End-User Performance Monitoring". In theory this feature lets me register a Web Server and monitor its access log and also create a SLAs monitor based on it.
    Right now I'm reading a lot about it just and trying of enable it to an OHS. I did it for an Oracle Web Cache.
    Anyway, thanks a lot for your interest and if someone find it useful, when I get more functionality working, I'll post something here.
    Best regards.

  • How to monitor a user

    Hello every-one, I have been told to monitor a particular database user? Can you please tell me in details how to put that user under monitoring without letting him know? thanks heaps

    Hi,
    If you want to set tracing on for a particular session, you can use dbms_session.set_trace_in_session package after get get SID and SERIAL# from v$session view for that user that is connected ... Otherwise, if you want to audit the database objects activity for a specific user, then you can take a look at documentation about AUDIT command or take a look at these links below:
    http://www.oracle-base.com/articles/8i/Auditing.php
    http://www.oracle-base.com/articles/9i/CompleteDataAudit.php
    Cheers

  • How to monitor Database Users who ever is doing bulk transactions

    Hi All,
    We need to produce a report (daily basis ) which will provide User and Bulk Transaction details in Database to track the system.
    How to state a script to perform this monitoring ?
    RDBMS: 10.2.0.5.0 (64 bit)
    OS: RHEL-5.2
    Thanks,
    Tusar

    Hi;
    AFAIK there is no specific query for your issue. You can enable audit than can see what happen on your system
    Regard
    Helios

  • How to monitor Apps user

    I have an application user (login as apps owner) hammering the apps/db..using 100% CPU and 19.2% of memory.
    I can get the sid,pid etc from the unix server as shown below from TOP.
    I log into the application and query the Monitor Users form and can see all users and the Oracle process column.
    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    10526 applmgr 16 0 1136m 356m 351m R 100 19.2 17:09.88 oracle
    How are the data above from the server and the applications related?
    Is there any other way I can get the resp and what the user is running?
    Thanks

    As you said, you can get the OS PID from top. With that you can feed the following query to get the SID:
    set linesize 120
    column SID format 99999
    column status format a8
    column osuser format a8
    column username format a8
    column COMMAND format 999999
    column MACHINE format a6
    column MODULE format a10
    column SCHEMANAME format a5
    column action format a8
    column LOCKWAIT format a8
    column action format a8
    select s.sid,p.spid os_pid,s.status, s.osuser,s.username,s.COMMAND,s.MACHINE,s.MODULE,s.SERIAL#, s.SCHEMANAME, s.LOCKWAIT,s.action
    from v$session s, v$process p WHERE s.paddr = p.addr and p.spid = 'your_PID_here';
    With the SID sucked from the last request, you can feed the following query:
    select pid, v$session.sid, v$session.serial#, v$session.username, v$session.program, to_char(logon_time,'dd-mon-yyyy hh:mm:ss'), machine from v$session, v$process where sid = 'your_SID_here' and addr=paddr;
    This should give you the PID of the user which you will hopefully see from the Monitor Users screen.
    You can also do this via Grid Control and its an awful lot easier.
    DA

  • How to monitor connected users on filesharing in OS 10.9.1

    I'm trying to identify connected users to my  Mac running OS 10.9.1.  I know there are users logged on via filesharing since I get a message saying that there are (e.g. 2) users logged on when I try to restart.  In the past I used AFPstatus 1.5, but doesn't seem to provide information on connected users like it did in earlier OS's.
    Is there a simple terminal command since netstat command gives a long list of stuff which is mostly gibberish to me.
    thanks

    My Mac IT guru here called Apple Support and their only recommendation was to buy Mavericks Server, which is now only $20, and use as a utility to monitor logged-on users.  Seems like overkill plus our IT doesn't like us to run our own server.  I suspect this could be done through the terminal?
    I hope AFPstatus is updated.

  • How to restore views and procedures after drop user command?

    How to restore views and procedures after drop user command?
    We have 817 EE on NT and one developer created a lot of procedures, functions and vews. DB was not backuped and archived and export has not been done - our fault and we understand it. Sorry for this.
    Ok, now the story: another developer dropped this db user and we lost everything: procedures, functions and vews. The new user with trhe same name was created and new schema was imported in this user, but all old objects are lost. We don't have export and backup and archive log files.
    Question: may we can restore this lost stuff from some other sources. We are looking for lost codes, not data. May be we can use redo logs or shared pool or any other things. Any idea will be appreciated.
    Thanks.
    Victor
    [email protected]

    The switch has occurred after user was dropped, the data has been overwritten and there is be no way to use redo log files.
    I would like to explore another opportunity. Is possible to use Shared Pool or any Data Dictionary internal information to restore texts of the lost SQL and PL/SQL scripts executed in this DB before user was dropped? Not too many scripts are executed in this DB and the lost ones may still be in stack. I remember that Shared Pool (cash) should keep last executed scripts in order to improve performance. They probably are kept in some special format. Can we restore these scripts? Of course they also might be pushed out by Import that had been done after user was dropped.
    Thanks for your help,
    Victor

  • How to drop user giving error ORA-03113

    hello,
    I am trying to drop user as follows
    SQL> drop user jbponm_trf cascade;
    drop user jbponm_trf cascade
    ERROR at line 1:
    ORA-03113: end-of-file on communication channel
    SQL>
    pls suggest me how to drop user.

    Hi Dear,
    Please reconnect from SYS and try again ,Looking there is some problem in your oracle connection or network problem.
    Best Regards
    Faheem latif
    Senior Database Architect
    Genie Technologies (Pvt.) Ltd.

  • How to monitor / shutdown processes and users?

    Hi,
    As you can see in my previous post i'm totally new to Arch and fairly new to Linux...
    Here's one thing that bothers me: I don't know how to keep track of all running processes (and end them if needed... I guess you need to 'kill' them but you first need to know their name, right...) and logged on users (even though that's only me, heh...)
    How can you do that in Linux? (something like task manager or another admin tool - or a command line version)
    Another thing... I think a wiki page 'securing the default Arch install' would be helpful...
    (flame me if there already is one, but I didn't find it )
    greetings,
    d.
    (I think Arch is going to be the one Linux distro to break the record of 1 month installation on my pc... woohoo!!!)

    Kern wrote:
    processes man ps
    Now only 2 questions are left: how to monitor logins, and how to secure Arch Wink
    Arch Wink, is this a subrelease of Arch? if so i've never heard of it. 
    I really don't know how that ended up in my post especially because I use semicolon, bracket instead of colon, wink, colon for my smiley...
    but as relates to securing Arch, of course I mean against network based attacks. The way you would try to secure Windows. I know how to own windows computers when I have physical access to them, and I guess it's the same thing with Linux pc's... but I want to feel secure that nobody from the internet is going to appropriate my box for illegal or other things, on those few occasions that i'm not behind a router/firewall (which I am not sure I trust either... it's a Linksys wireless/wired router with integrated firewall capability. How secure is that? I don't know!)
    Is there no way to deny all other pc's access to this pc? It's a laptop, not a server, so nobody has business accessing it remotely anyway... Actually, this is one of the reasons I had an eye on openBSD secure as hell...
    EDIT: since we're at it... another thing I don't find is how I can find out at what speed my cpu is running... is it going down to 600 MHz when Idle or isn't it? etc... That stuff is pretty easy to see in windows... must be feasible at least in Linux hey

  • How to monitor user logs,security logs,trace file,and performance monitori

    Hi guys,
    pls tel me how to monitor user logs,security logs,trace file,and performance monitoring.
    thanks
    regards
    kamal

    Hi,
    you can have a look in the Netweaver administration :
    http://<portal>:<port>/nwa
    Go to monitoring, Java system reports, etc..., you will find what you want.
    Fabien.

  • How to drag and drop user from one node to other node.

    Dear All,
    How to drag and drop user from one node to other node.I tried but no success.
    What are precautions to be taken.
    Cay anybody kindly explain it.
    Thank you.

    Hello, if you had this message you had created BP....
    Now you don't have to user USERS_GEN this transaction is used only in first action, when you create the user in R/3 and then you pass this user to EBP in the organizational structure.
    Now you have to:
    1) Go to PPOMA_BBP
    2) Double click on organizational unit that you want to put this user (purchasing organization or purchasing group box for example)
    3) Select assign button in the top of the functions in the transaction
    4) Click on incorporates -- position
    5) Put userID that you want to add in this organizational unit
    6) Click Save
    Thanks
    Rosa

  • How to drop users tablespace

    Hey to all
         I want to drop USER tablespace wid data file but as we know many oracle users Scott OE data reside in users. How can I protect their data. One method which I read on net to export and import once again is quite cumbersome I run this query
    SELECT
    owner
    , segment_name
    , segment_type
    FROM
    dba_segments
    WHERE
    tablespace_name='USERS'
    it give me two user OE and SCOTT. How can I protect their data before drop the user tablespace

    Hi..
    As you said direct load takes place, then the rows which are inserted are always inserted above the HWM.So the datafile size size kept on increasing.
    i read about segment advisor i run the advisor it shrink the segment but users tablespace size on OS still 200 GB could anyone tell why??You would have run alter table <table_name> shrink space; -- This statement will procede in two steps:
    - The first step makes the segment compact by moving rows further down to free blocks at the beginning of the segment.
    - The second step adjusts the high watermark. For this Oracle needs an exclusive table lock,but for a very short moment only.
    The HWM goes below, and table are now more well organized.This command doesn't resize the datafile at the OS level.So, the datafile sizes will remain the same.One thing which you can do is resize(decrease) the datafile.
    MINIMUM DATAFILE SIZE
    COLUMN block_size NEW_VALUE v_block_size
    SELECT TO_NUMBER(value) AS block_size
    FROM   v$parameter
    WHERE  name = 'db_block_size';
    COLUMN tablespace_name FORMAT A20
    COLUMN file_name FORMAT A50
    COLUMN current_bytes FORMAT 999999999999999
    COLUMN shrink_by_bytes FORMAT 999999999999999
    COLUMN resize_to_bytes FORMAT 999999999999999
    SET VERIFY OFF
    SET LINESIZE 200
    SELECT a.tablespace_name,
           a.file_name,
           a.bytes/1024/1024 AS current_MB,
           (a.bytes - b.resize_to)/1024/1024 AS shrink_by_MB,
           b.resize_to/1024/1024 AS resize_to_MB
    FROM   dba_data_files a,
           (SELECT file_id, MAX((block_id+blocks-1)*&v_block_size) AS resize_to
            FROM   dba_extents
            GROUP by file_id) b
    WHERE  a.file_id = b.file_id
    ORDER BY a.tablespace_name, a.file_name;Edited by: Anand... on Feb 17, 2009 12:01 PM

  • How to drop Users DBF file in oracle 11g?

    Hi All
    I dropped the user and want to free the table space(To import another user(Which has more than 10 GB of record).
    the below is my query which i used to import the data and schema
    impdp system/test DIRECTORY=dump_dir DUMPFILE=exp_test.dmp FULL=Y LOGFILE=import_test.log REMAP_TABLESPACE=TEST_DATA:USERS
    After dropping my user i checked into the folder C:\oradata\orcl and i found two files USERS01.DBF(21.1GB,its 21.1 gb because i tried to cretae an another schema nd i got stuc up with low disk space.) and TEMP01.DBF(1.66GB).
    I tried to drop USERS tablespace and i could nt able to do it.
    Can any one help me to reduce the size of both two files?
    Thanks & Regards
    Vijay
    Edited by: Vijayamurugan on Jun 15, 2011 8:22 AM

    bobonacus wrote:
    shutdown immediate
    startup nomount
    alter database mount;
    why not just 'startup mount'?? Why the two-step?
    alter database rename file
    'e:\oracle\oradata\orcl\indx01.dbf',
    'e:\oracle\oradata\orcl\rbs01.dbf',
    'e:\oracle\oradata\orcl\system01.dbf',
    'e:\oracle\oradata\orcl\temp01.dbf',
    'e:\oracle\oradata\orcl\tools01.dbf',
    'e:\oracle\oradata\orcl\users01.dbf',
    'e:\oracle\oradata\orcl\file1.dbf',
    'e:\oracle\oradata\orcl\file2.dbf'
    to
    'd:\oracle\oradata\orcl\indx01.dbf',
    'd:\oracle\oradata\orcl\rbs01.dbf',
    'd:\oracle\oradata\orcl\system01.dbf',
    'd:\oracle\oradata\orcl\temp01.dbf',
    'd:\oracle\oradata\orcl\tools01.dbf',
    'd:\oracle\oradata\orcl\users01.dbf',
    'd:\oracle\oradata\orcl\file1.dbf',
    'd:\oracle\oradata\orcl\file2.dbf'
    ;I'm not sure the RENAME clause allows multiple files to be listed like that. In any event, just reduce the chance of error, I'd do it file by file.
    You forgot to mention that you need to actually move the files, at the os level. All the above does is change their entries in the control file. It doesn't do anything at all to the files themselves.
    >
    shutdown immediate
    startup
    No need for the shutdown. You could just ALTER DATBASE OPEN.
    >
    >
    you can get a full listing of files by
    alter database backup controlfile to trace;
    and you can then copy and paste from that ...
    Simpler, just select from dba_data_files.
    eta. of course assuming you mean move your database files rather than your installation
    Edited by: bobonacus on Jun 16, 2011 3:30 PM

  • URGENT How to recover from a drop user comand

    Hi.
    My database is 9i release 2. Archive is not enable. Backup: cold backup (physical and exp)
    A drop user cascade command was accidentally issued.
    Given the circuntances, what options do i have
    - Will flashblack help
    - Can i use logminer
    Thanks ind advance ...!
    PD. URGENT PLEASE ....!

    Whoever decided to run in noarchive log mode should explain that the the data is lost, but that it doesn't matter. Firm but fair.
    I had to do this once. I inherited a database and only discovered that didn't have archivelogmode switched on when it crashed (it was my first DBA gig). Since then it's the first thing I check before I do anything in a production environment.
    Cheers, APC

  • Cisco Devices Syslog monitoring and user monitoring tools

    Can anyone help me how to monitoring syslog and users log (which command use specific user). if any software or hardware need for this purpose we will purchace it. note that our network running all cisco devices (router, switch, ASA etc) and more then 200 devices are in our network.
    thanks.

    Configuring Cisco Devices to Use a Syslog Server
    Most Cisco devices use the syslog protocol to manage system logs and  alerts. But unlike their PC and server counterparts, Cisco devices lack  large internal storage space for storing these logs. To overcome this  limitation, Cisco devices offer the following two options:
    Internal buffer— The device's operating system  allocates a small part of memory buffers to log the most recent  messages. The buffer size is limited to few kilobytes. This option is  enabled by default. However, when the device reboots, these syslog  messages are lost.
    Syslog— Use a UNIX-style SYSLOG protocol to send  messages to an external device for storing. The storage size does not  depend on the router's resources and is limited only by the available  disk space on the external syslog server. This option is not enabled by  default.
    TIP
    Before configuring a Cisco device to send syslog messages, make  sure that it is configured with the right date, time, and time zone.  Syslog data would be useless for troubleshooting if it shows the wrong  date and time. You should configure all network devices to use NTP.  Using NTP ensures a correct and synchronized system clock on all devices  within the network. Setting the devices with the accurate time is  helpful for event correlation.
    To enable syslog functionality in a Cisco network, you must configure the built-in syslog client within the Cisco devices.
    Cisco devices use a severity level of warnings through emergencies to  generate error messages about software or hardware malfunctions. The  debugging level displays the output of debug commands. The Notice level  displays interface up or down transitions and system restart messages.  The informational level reloads requests and low-process stack messages.
    Configuring Cisco Routers for Syslog
    To configure a Cisco IOS-based router for sending syslog messages to  an external syslog server, follow the steps in Table 4-11 using  privileged EXEC mode.
    Table 4-11. Configuring Cisco Routers for Syslog
    Step
    Command
    Purpose
    1
    Router# configure terminal
    Enters global configuration mode.
    2
    Router(config)# service timestamps type datetime [msec] [localtime] [show-timezone]
    Instructs the system to timestamp syslog messages; the options for the type keyword are debug and log.
    3
    Router(config)#logging host
    Specifies the syslog server by IP address or host name; you can specify multiple servers.
    4
    Router(config)# logging trap level
    Specifies the kind of messages, by severity level, to be  sent to the syslog server. The default is informational and lower. The  possible values for level are as follows:
    Emergency: 0
    Alert: 1
    Critical: 2
    Error: 3
    Warning: 4
    Notice: 5
    Informational: 6
    Debug: 7
    Use the debug level with caution, because it can generate a large amount of syslog traffic in a busy network.
    5
    Router(config)# logging facility facility-type
    Specifies the facility level used by the syslog messages; the default is local7. Possible values are local0, local1, local2, local3, local4, local5, local6, and local7.
    6
    Router(config)# End
    Returns to privileged EXEC mode.
    7
    Router# show logging
    Displays logging configuration.
    Note
    When a level is specified in the logging trap level command, the router is configured to send messages with lower severity levels as well. For example, the logging trap warning command configures the router to send all messages with the  severity warning, error, critical, and emergency. Similarly, the logging trap debug command causes the router to send all messages to  the syslog server. Exercise caution while enabling the debug level.  Because the debug process is assigned a high CPU priority, using it in a  busy network can cause the router to crash.
    Example 4-12 prepares a Cisco router to send syslog messages at  facility local3. Also, the router will only send messages with a  severity of warning or higher. The syslog server is on a machine with an  IP address of 192.168.0.30.
    Example 4-12. Router Configuration for Syslog
    Router-Dallas#
    Router-Dallas#config terminal
    Enter configuration commands, one per line. End with CNTL/Z.
    Router-Dallas(config)#logging 192.168.0.30
    Router-Dallas(config)#service timestamps debug datetime localtime show-timezone
       msec
    Router-Dallas(config)#service timestamps log datetime localtime show-timezone msec
    Router-Dallas(config)#logging facility local3
    Router-Dallas(config)#logging trap warning
    Router-Dallas(config)#end
    Router-Dallas#show logging
    Syslog logging: enabled (0 messages dropped, 0 flushes, 0 overruns)
        Console logging: level debugging, 79 messages logged
        Monitor logging: level debugging, 0 messages logged
        Buffer logging: disabled
        Trap logging: level warnings, 80 message lines logged
            Logging to 192.168.0.30, 57 message lines logged
    Configuring a Cisco Switch for Syslog
    To configure a Cisco CatOS-based switch for sending syslog messages  to an external syslog server, use the privileged EXEC mode commands  shown in Table 4-12.
    Table 4-12. Configuring a Cisco Switch for Syslog
    Step
    Command
    Purpose
    1
    Switch>(enable) set logging timestamp {enable | disable}
    Configures the system to timestamp messages.
    2
    Switch>(enable) set logging server ip-address
    Specifies the IP address of the syslog server; a maximum of three servers can be specified.
    3
    Switch>(enable) set logging server severity server_severity_level
    Limits messages that are logged to the syslog servers by severity level.
    4
    Switch>(enable) set logging server facility server_facility_parameter
    Specifies the facility level that would be used in the message. The default is local7.  Apart from the standard facility names listed in Table 4-1, Cisco  Catalyst switches use facility names that are specific to the switch.  The following facility levels generate syslog messages with fixed  severity levels:
    5: System, Dynamic-Trunking-Protocol, Port-Aggregation-Protocol, Management, Multilayer Switching
    4: CDP, UDLD
    2: Other facilities
    5
    Switch>(enable) set logging server enable
    Enables the switch to send syslog messages to the syslog servers.
    6
    Switch>(enable) Show logging
    Displays the logging configuration.
    Example 4-13 prepares a CatOS-based switch to send syslog messages at  facility local4. Also, the switch will only send messages with a  severity of warning or higher. The syslog server is on a machine with an  IP address of 192.168.0.30.
    Example 4-13. CatOS-Based Switch Configuration for Syslog
    Console> (enable) set logging timestamp enable
    System logging messages timestamp will be enabled.
    Console> (enable) set logging server 192.168.0.30
    192.168.0.30 added to System logging server table.
    Console> (enable) set logging server facility local4
    System logging server facility set to
    Console> (enable) set logging server severity 4
    System logging server severity set to <4>
    Console> (enable) set logging server enable
    System logging messages will be sent to the configured syslog servers.
    Console> (enable) show logging
    Logging buffered size: 500
    timestamp option: enabled
    Logging history size: 1
    Logging console: enabled
    Logging server: enabled
    {192.168.0.30}
    server facility: LOCAL4
    server severity: warnings(4
    Current Logging Session: enabled
    Facility            Default Severity          Current Session Severity
    cdp                 3                         4
    drip                2                         4
    dtp                 5                         4
    dvlan               2                         4
    earl                2                         4
    fddi                2                         4
    filesys             2                         4
    gvrp                2                         4
    ip                  2                         4
    kernel              2                         4
    mcast               2                         4
    mgmt                5                         4
    mls                 5                         4
    pagp                5                         4
    protfilt            2                         4
    pruning             2                         4
    radius              2                         4
    security            2                         4
    snmp                2                         4
    spantree            2                         4
    sys                 5                         4
    tac                 2                         4
    tcp                 2                         4
    telnet              2                         4
    tftp                2                         4
    udld                4                         4
    vmps                2                         4
    vtp                 2                         4
    0(emergencies)        1(alerts)              2(critical)
    3(errors)             4(warnings)            5(notifications)
    6(information)        7(debugging)
    Console> (enable)
    Configuring a Cisco ASA for Syslog >
    http://www.cisco.com/en/US/docs/security/asa/asa82/configuration/guide/monitor_syslog.html
    You can get a free copy of Syslog server from here
    http://www.kiwisyslog.com/free-edition.aspx
    Hope it helps!!
    Regards

Maybe you are looking for

  • Multiple characater set data

    I have data in multiple character sets, eg. ASCII, IBM850, Windows1252, UTF8 etc. I want to insert them into the database. How do I specify the character set of the data at bind time in ODBC. If this is not possible, what is an alternative?

  • Total Vendor Balance in Z-form of F.18

    Hi, We use F.18 for vendor balance print. But according to client's requirement we have copied form F130_CONFIRM_01 to ZF130_CONFIRM_01 and made changes as per requirements. But client requires that total balance would be come first at the beginning

  • Backdated Changed to HR Data

    Hello, I have a question regarding HR Access using the Time administration Code (SACHZ) for authorisation. The scenario is as follows: An employee currently has a record for Infotype 0001 with Start Date 01.03.2009 and End Date 31.12.9999. Assignment

  • Error "Cannot parse appinfo xml file."

    Periodically my users are getting the error below when trying to launch BPC for Excel: "Cannot parse appinfo xml file." Seems this file is getting corrupted somehow. If I remove the file from their citrix profile and they relogin, the file is recreat

  • During utilization showing message

    Hi, While creating the excise invoice for export, and clicking on the utilization button I am getting a msg that 'Excise tax indicator not maintained for 1 J_1IEXESTA - please maintain'. But this is not preventing me to do the further processing.The