RE: Identify PID for remote database handle--CLARIFICATION...
- From: thilbig@xxxxxxxxx (Thomas Hilbig)
- Date: Tue, 23 May 2006 11:28:05 -0700 (PDT)
Isn't that exactly what Chris Sarnowski's suggested
SQL does? If you want the OS PID on the database
server process (running the DML under Oracle) that is
serving your client (Perl/DBI),
select vp.spid from v$process vp, v$session vs where
vs.sid = (select sid from v$mystat where rownum = 1)
and vp.addr = vs.paddr
If you want to see all server processes for all
clients (not what you asked for, but good for
testing):
select vp.spid from v$process vp, v$session vs where
vp.addr = vs.paddr
Tom
--- "Drozdowski, Catharine"
<catharine_drozdowski@xxxxxxxxxx> wrote:
Yep, you got it...
PS I did send Ron/Chris separate email to make
nice....
-----Original Message-----
From: JupiterHost.Net
[mailto:mlists@xxxxxxxxxxxxxxx]
Sent: Tuesday, May 23, 2006 10:12 AM
To: dbi-users@xxxxxxxx
Subject: Re: Identify PID for remote database
handle--CLARIFICATION...
Reidy, Ron wrote:
No, I do not know you are a DBA; maybe YOU cannotdescribe the problem
well enough.[mailto:catharine_drozdowski@xxxxxxxxxx]
-----Original Message-----
From: Drozdowski, Catharine
Sent: Tuesday, May 23, 2006 10:11 AMhandle--CLARIFICATION...
To: Reidy, Ron; dbi-users@xxxxxxxx
Subject: RE: Identify PID for remote database
you guys seem to not
You know I AM a DBA and will withdraw the post as
be able to grasp the concept.
Ok kids ne nice :)
The question is (assuming I understand it)
Is there a way to get or have DBI set so it can be
gotten the PID of the
$dbh process ont he DB server (local or remote)
Correct?
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
.
- Follow-Ups:
- References:
- RE: Identify PID for remote database handle--CLARIFICATION...
- From: Catharine Drozdowski
- RE: Identify PID for remote database handle--CLARIFICATION...
- Prev by Date: RE: Identify PID for remote database handle--CLARIFICATION...
- Next by Date: how to invoke .sql file from dbi
- Previous by thread: RE: Identify PID for remote database handle--CLARIFICATION...
- Next by thread: Re: Identify PID for remote database handle--CLARIFICATION...
- Index(es):
Relevant Pages
|