dbTalk Databases Forums  

Trace on a Table

comp.databases.oracle.tools comp.databases.oracle.tools


Discuss Trace on a Table in the comp.databases.oracle.tools forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
GiriBabu.09@gmail.com
 
Posts: n/a

Default Trace on a Table - 05-21-2007 , 05:12 AM






I would like to know how we can have a trace on table to findout which
IP address and port are updating the table.

Regards,
Giri


Reply With Quote
  #2  
Old   
Ana C. Dent
 
Posts: n/a

Default Re: Trace on a Table - 05-21-2007 , 10:09 AM






GiriBabu.09 (AT) gmail (DOT) com wrote in news:1179742335.836698.58760
@n15g2000prd.googlegroups.com:

Quote:
I would like to know how we can have a trace on table to findout which
IP address and port are updating the table.

Regards,
Giri


Not easily


Reply With Quote
  #3  
Old   
DA Morgan
 
Posts: n/a

Default Re: Trace on a Table - 05-21-2007 , 10:34 AM



GiriBabu.09 (AT) gmail (DOT) com wrote:
Quote:
I would like to know how we can have a trace on table to findout which
IP address and port are updating the table.

Regards,
Giri
Ports ... not sure it is possible or that it has any meaning. Is the
connection coming through an application server to the listener?

IP address can be determined using SYS_CONTEXT function
http://www.psoug.org/reference/sys_context.html

Table update can be found using BEFORE or AFTER update trigger
http://www.psoug.org/reference/table_trigger.html
--
Daniel A. Morgan
University of Washington
damorgan@x.washington.edu
(replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org


Reply With Quote
  #4  
Old   
fitzjarrell@cox.net
 
Posts: n/a

Default Re: Trace on a Table - 05-22-2007 , 09:02 AM



On May 21, 5:12 am, GiriBabu... (AT) gmail (DOT) com wrote:
Quote:
I would like to know how we can have a trace on table to findout which
IP address and port are updating the table.

Regards,
Giri
Why?

I suppose you could write your own version of sqlplus in C++/OCCI
which would glean all of this information (including the MAC address,
system time and current operating system version as well as the IP
address and port) from the client PC for you and send it off to a set
of 'hidden' tables, install that on every client machine and have the
users invoke that for all of their database work. You could call it
"sqlplusbb", the 'bb' being 'Big Brother'.

Of course connection auditing is an option, in conjunction with object
auditing via a trigger as Daniel has already stated.

I ask again why you think you 'need' this information.


David Fitzjarrell



Reply With Quote
Reply




Thread Tools
Display Modes

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

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



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.