RE: db-links question

2001-07-10 Thread A. Bardeen

Alex,

Yes, the connection remains open unless it is
explicitly closed (see Note: 1034343.6).

The session also takes out a lock on the local RBS
(see Note:74811.1) as this could be part of a
distributed transaction.  If this is a long running
query this can lead to abnormal growth in the RBS
since the active transaction in the RBS will prevent
the RBS from wrapping into that extent.  You can avoid
this by issuing SET TRANSACTION READ ONLY; prior to
running the distributed query.

AFAIK, you can use MTS connections, although I would
recommend using dedicated connections for any links
used for replication (push and refresh operations).

HTH,

-- Anita


--- Hillman, Alex [EMAIL PROTECTED]
wrote:
 So you mean that connection to the remote DB stays
 open until session ends
 which issued query on remote DB. Are these
 connection dedicated? I think yes
 bur did not check. Is it possible to use MTS for
 such connection? And all
 new features like connection pooling etc.
 
 Alex Hillman
 
 -Original Message-
 Sent: Monday, July 09, 2001 6:55 PM
 To: Multiple recipients of list ORACLE-L
 
 
 Yes, it creates a session. If you want to do a(n)
 SQL trace, you can do a
 SELECT 'x' FROM dual@remote_site, find the session
 at the remote site and
 turn on the trace, then run your next query. 
 
 Henry
 
 -Original Message-
 Sent: Monday, July 09, 2001 5:06 PM
 To: Multiple recipients of list ORACLE-L
 
 
 If I query table in the remote database using
 database link does user in the
 remote database which is referenced in the database
 link  create session in
 the remote database and if not could somebody
 explain how remote query is
 executed.
 
 Alex Hillman
 
 P.S. I know that I could try it myself but I am
 layzy (sp?) and tired
 (fighting with Ross for access to printing presses
 :-) )
 -- 
 Please see the official ORACLE-L FAQ:
 http://www.orafaq.com
 -- 
 Author: Hillman, Alex
   INET: [EMAIL PROTECTED]
 
 Fat City Network Services-- (858) 538-5051  FAX:
 (858) 538-5051
 San Diego, California-- Public Internet
 access / Mailing Lists


 To REMOVE yourself from this mailing list, send an
 E-Mail message
 to: [EMAIL PROTECTED] (note EXACT spelling of
 'ListGuru') and in
 the message BODY, include a line containing: UNSUB
 ORACLE-L
 (or the name of mailing list you want to be removed
 from).  You may
 also send the HELP command for other information
 (like subscribing).
 -- 
 Please see the official ORACLE-L FAQ:
 http://www.orafaq.com
 -- 
 Author: Henry Poras
   INET: [EMAIL PROTECTED]
 
 Fat City Network Services-- (858) 538-5051  FAX:
 (858) 538-5051
 San Diego, California-- Public Internet
 access / Mailing Lists


 To REMOVE yourself from this mailing list, send an
 E-Mail message
 to: [EMAIL PROTECTED] (note EXACT spelling of
 'ListGuru') and in
 the message BODY, include a line containing: UNSUB
 ORACLE-L
 (or the name of mailing list you want to be removed
 from).  You may
 also send the HELP command for other information
 (like subscribing).
 -- 
 Please see the official ORACLE-L FAQ:
 http://www.orafaq.com
 -- 
 Author: Hillman, Alex
   INET: [EMAIL PROTECTED]
 
 Fat City Network Services-- (858) 538-5051  FAX:
 (858) 538-5051
 San Diego, California-- Public Internet
 access / Mailing Lists


 To REMOVE yourself from this mailing list, send an
 E-Mail message
 to: [EMAIL PROTECTED] (note EXACT spelling of
 'ListGuru') and in
 the message BODY, include a line containing: UNSUB
 ORACLE-L
 (or the name of mailing list you want to be removed
 from).  You may
 also send the HELP command for other information
 (like subscribing).


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: A. Bardeen
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



RE: db-links question

2001-07-09 Thread Henry Poras

Yes, it creates a session. If you want to do a(n) SQL trace, you can do a
SELECT 'x' FROM dual@remote_site, find the session at the remote site and
turn on the trace, then run your next query. 

Henry

-Original Message-
Sent: Monday, July 09, 2001 5:06 PM
To: Multiple recipients of list ORACLE-L


If I query table in the remote database using database link does user in the
remote database which is referenced in the database link  create session in
the remote database and if not could somebody explain how remote query is
executed.

Alex Hillman

P.S. I know that I could try it myself but I am layzy (sp?) and tired
(fighting with Ross for access to printing presses :-) )
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Hillman, Alex
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Henry Poras
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



Re: db-links question

2001-07-09 Thread Stephane Faroult

Hillman, Alex wrote:
 
 If I query table in the remote database using database link does user in the
 remote database which is referenced in the database link  create session in
 the remote database and if not could somebody explain how remote query is
 executed.
 
 Alex Hillman
 
 P.S. I know that I could try it myself but I am layzy (sp?) and tired
 (fighting with Ross for access to printing presses :-) )

Ir does. A DB link is nothing else than a named connection.
-- 
Regards,

Stephane Faroult
Oriole Corporation
Voice:  +44  (0) 7050-696-269 
Fax:+44  (0) 7050-696-449 
Performance Tools  Free Scripts
--
http://www.oriole.com, designed by Oracle DBAs for Oracle DBAs
--
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Stephane Faroult
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).