oracle check user connections

By system administrators to see the current database has a number of user connections:

SQL> select username, sid, serial # from v $ session;

If you want to stop a connection with

SQL> alter system kill session sid, serial #;

If this command will not do, the process of looking for it a number of UNIX

SQL> select
pro.spid from v $ session ses, v $ process pro where ses.sid = 21 and ses.paddr = pro.addr;

Description: 21 are a number of connections sid

And by kill command to kill the process number.
  • del.icio.us
  • StumbleUpon
  • Digg
  • TwitThis
  • Mixx
  • Technorati
  • Facebook
  • NewsVine
  • Reddit
  • Google
  • LinkedIn
  • YahooMyWeb
Tags:

Related Posts of oracle check user connections

  • Regulation oracle maximum number of connections

    1, modify the method of Oracle's largest number of connections a, in order to login as sysdba b, find the current number of connections show parameter processes; c, change the system connection alter system set processes = 1000 scope = spfile; d, ...

  • Oracle change the user name

    Project has built a database table, but suddenly need to change the user name. The form of client interface through the plsql is not reform. So change the system user $ table directly in the user name. To change the user name check SQL> select use ...

  • yangtingkun personal BLOG Article Index ---- ORACLE tools

    Tools: Oracle 1 LOGMNR a small bug: Description 9204 using LOGMINER encountered a bug. On the user resource constraints (1): resource constraints, the impact of the current connections SESSION. On the user resource constraints (2): the characteristic ...

  • oracle-10g installation on RHEL5 environment

    1: Install oracle before the system preparation (1) Check the memory, hard drive capacity, swap space, etc. (2) Check the required packages (3) modify the kernel parameters (4) to create group and user (5) Add the following to / etc / security / limi ...

  • SQL Connection to connect the left and right connections, fully connected, internal connections, cross-connect, self-connection

    Now write about their role in this hypothesis the following table: A main table for polling, a voter information table ~ records for the voters to vote IP and the corresponding type, so the actual connection is the result of our joint query to which ...

  • SQL-based --- UNION and external connections

    UNION and external connections In some cases, you may want to look at with the results of multiple queries, combining their output, you can use the UNION keyword. In order to merge the output of the following two queries: Show all the buyer's ID ...

  • Do not install the client to connect to oracle

    Currently I use two kinds of connections, the first one is the PL / SQL connection, the second toad connections, as a professional dba is best to use toad. I will now talk about how not to install the oracle client, is to use these tools, ORACLE seem ...

  • Modify the Oracle Maximum number of connections

    a, sqlplus \ nolog as sysdba enter password: b, find the current number of connections show parameter processes; c, change the system connection alter system set processes = 1000 scope = spfile; d, create a pfile create pfile from spfile; e, restart ...

  • Modify the maximum number of connections oracle problem

    rn Sometimes we need to adjust the oracle database, the maximum number of links, and this link is to adjust the number of dbs directory oacle under the init.ora file adjusted. ORACLE number of connections (sessions) and its parameter file in the proc ...

  • OERR: ORA-12519 treatment

    OERR: ORA-12519 Baocuo Client connections intermittently fails, Baocuo ORA-12519 Query solution: 1, query the database the current number of connections: SQL> select count (*) from v $ process; 2, query the database to allow the maximum number of ...

Leave a Reply

Recent
Recent Entries
Tag Cloud
Random Entries
Latest Comments