LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 06-09-2009, 04:49 AM   #1
czezz
Member
 
Registered: Nov 2004
Distribution: Slackware/Solaris
Posts: 924

Rep: Reputation: 43
ORACLE - Tacking SQL all sessions for 1 user ?


I am trying to find out what SELECT is made by application. This application uses user: USER11.

I decided to turn on Tacking SQL and capture all SQL querys in particullar session for particular user.
The problem is that when I displayed all sessions for USER11 it displayed me 11 rows:

Code:
SQL> select sid, serial#, username from v$session where username like 'USER11';

       SID    SERIAL# USERNAME
---------- ---------- ------------------------------
        54      13146 USER11
        65         24 USER11
        71        241 USER11
       120      26345 USER11
       123      15818 USER11
       133       7428 USER11
       140       4998 USER11
       149      53796 USER11
       152      31046 USER11
       155      18639 USER11
       156      51703 USER11
It makes me really hard to find out which is used by me.
What I think it would be much easier to me to track all sessions for USER11. It would be even more desired.
But I dont know how to do it ?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Log in the SQL Plus in Oracle Swift&Smart Linux - Software 3 06-14-2006 11:56 PM
Sql + Oracle Select If ???? smaida Programming 11 12-15-2004 08:13 PM
Oracle SQL+ darkRoom Programming 2 05-20-2004 09:01 PM
SQL mySQL PHP and Sessions poeta_boy Programming 15 11-26-2003 06:36 PM
SQL and Oracle Rutnut Linux - General 3 04-07-2002 12:39 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration