Links
Home
Oracle DBA Forum
Frequent Oracle Errors
TNS:could not resolve the connect identifier specified
Backtrace message unwound by exceptions
invalid identifier
PL/SQL compilation error
internal error
missing expression
table or view does not exist
end-of-file on communication channel
TNS:listener unknown in connect descriptor
insufficient privileges
PL/SQL: numeric or value error string
TNS:protocol adapter error
ORACLE not available
target host or object does not exist
invalid number
unable to allocate string bytes of shared memory
resource busy and acquire with NOWAIT specified
error occurred at recursive SQL level string
ORACLE initialization or shutdown in progress
archiver error. Connect internal only, until freed
snapshot too old
unable to extend temp segment by string in tablespace
Credential retrieval failed
missing or invalid option
invalid username/password; logon denied
unable to create INITIAL extent for segment
out of process memory when trying to allocate string bytes
shared memory realm does not exist
cannot insert NULL
TNS:unable to connect to destination
remote database not found'>ora-02019
exception encountered: core dump
inconsistent datatypes
no data found
TNS:operation timed out
PL/SQL: could not find program
existing state of packages has been discarded
maximum number of processes exceeded
error signaled in parallel query server
ORACLE instance terminated. Disconnection forced
TNS:packet writer failure
see ORA-12699
missing right parenthesis
name is already used by an existing object
cannot identify/lock data file
invalid file operation
quoted string not properly terminated
-none-

-none-

2004-07-08       - By -not available-

Reply:     <<     131     132     133     134     135     136     137     138     139     140     >>  

Now if that really is your job profile, you 're probably a candidate for some
sort of connection pooling or multiple threading.

If, on the other hand, you 're trying to measure which straw has bigger
capacity, I think you want a test that draws a lot of data through the straw
per connection. To make the test fair for your apparent purpose, you 'll want
to check that you 've done everything you can to advise the Oracle software
and the OS that your connection is actually local (short of specifying BEQ)
for the TCP connection.

Interesting thought pattern to consider TNSPING in the context of PING to
check the data movement capacity. I wonder if Oracle could add data packet
shoving with PING-like specifications to TNSPING without creating a security
hole or destabilizing an "always works " diagnostic tool. I don 't think they
had the capacity testing aspect of PING in mind when they named the tool.

mwf

-- --Original Message-- --
From: oracle-l-bounce@(protected)
[mailto:oracle-l-bounce@(protected)]On Behalf Of Ahmed Abdel Fattah
Sent: Thursday, July 08, 2004 3:10 AM
To: oracle-l@(protected)
Subject: Perfomrance Issue When using BEQ protocol


Dear All,

I have an environment that has two databases, OFSA & ODS.
Database ODS has a database link to the OFSA database. This
database link uses a connect string called OFSA, which is defined
as follows:
OFSA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = CI-DW-PRD)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME =OFSA)
)
)
There is a batch job that run on the server and that uses the above
database link to retrieve some data from the OFSA database.
Due to performance issues on the above batch job, I suggested to implement
the BEQ protocol in the connect string that is used by the above databse
link
as long as the two databases are on the same server, and because I read some
documents that BEQ is faster than TCP/IP. So, I created another connect
string
as follows:
PROD =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = BEQ)(PROGRAM = oracle)(ARGV0 = oracleOFSA)(ARGS =
'(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=BEQ))) ')(ENVS =
'ORACLE_SID=OFSA,ORACLE_HOME=/apps/oracle/product/8.1.7 '))
)
The I test connection using the two connect strings, using the tnsping
utility
over a period of time, and I found that using the BEQ connect string is much
slower than using the TCP/IP connect string. Following are sample test
results:
==============
Attempting to contact (ADDRESS=(PROTOCOL=TCP)(HOST=CIB-DW-PRD)(PORT=1521))
OK (10 msec)
TNS Ping Utility for Solaris: Version 8.1.7.2.0 - Production on 07-JUL-2004
17:4
5:56
(c) Copyright 1997 Oracle Corporation. All rights reserved.
Attempting to contact
(ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle)(ARGV0=oracleOFSA)(
ARGS= '(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=BEQ))) ')(ENVS= 'ORACLE_SID=O
FSA,
ORACLE_HOME=/apps/oracle/product/8.1.7 '))
OK (160 msec)
==============
TNS Ping Utility for Solaris: Version 8.1.7.2.0 - Production on 07-JUL-2004
17:4
6:00
(c) Copyright 1997 Oracle Corporation. All rights reserved.
Attempting to contact (ADDRESS=(PROTOCOL=TCP)(HOST=CIB-DW-PRD)(PORT=1521))
OK (10 msec)
TNS Ping Utility for Solaris: Version 8.1.7.2.0 - Production on 07-JUL-2004
17:4
6:00
(c) Copyright 1997 Oracle Corporation. All rights reserved.
Attempting to contact
(ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle)(ARGV0=oracleOFSA)(
ARGS= '(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=BEQ))) ')(ENVS= 'ORACLE_SID=O
FSA,
ORACLE_HOME=/apps/oracle/product/8.1.7 '))
OK (70 msec)
==============
TNS Ping Utility for Solaris: Version 8.1.7.2.0 - Production on 07-JUL-2004
17:4
6:03
(c) Copyright 1997 Oracle Corporation. All rights reserved.
Attempting to contact (ADDRESS=(PROTOCOL=TCP)(HOST=CIB-DW-PRD)(PORT=1521))
OK (10 msec)
TNS Ping Utility for Solaris: Version 8.1.7.2.0 - Production on 07-JUL-2004
17:4
6:03
(c) Copyright 1997 Oracle Corporation. All rights reserved.
Attempting to contact
(ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle)(ARGV0=oracleOFSA)(
ARGS= '(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=BEQ))) ')(ENVS= 'ORACLE_SID=O
FSA,
ORACLE_HOME=/apps/oracle/product/8.1.7 '))
OK (60 msec)
==============
TNS Ping Utility for Solaris: Version 8.1.7.2.0 - Production on 07-JUL-2004
17:4
6:06
(c) Copyright 1997 Oracle Corporation. All rights reserved.
Attempting to contact (ADDRESS=(PROTOCOL=TCP)(HOST=CIB-DW-PRD)(PORT=1521))
OK (10 msec)
TNS Ping Utility for Solaris: Version 8.1.7.2.0 - Production on 07-JUL-2004
17:4
6:06
(c) Copyright 1997 Oracle Corporation. All rights reserved.
Attempting to contact
(ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle)(ARGV0=oracleOFSA)(
ARGS= '(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=BEQ))) ')(ENVS= 'ORACLE_SID=O
FSA,
ORACLE_HOME=/apps/oracle/product/8.1.7 '))
OK (70 msec)
==============
TNS Ping Utility for Solaris: Version 8.1.7.2.0 - Production on 07-JUL-2004
17:4
6:10
(c) Copyright 1997 Oracle Corporation. All rights reserved.
Attempting to contact (ADDRESS=(PROTOCOL=TCP)(HOST=CIB-DW-PRD)(PORT=1521))
OK (0 msec)
TNS Ping Utility for Solaris: Version 8.1.7.2.0 - Production on 07-JUL-2004
17:4
6:10
(c) Copyright 1997 Oracle Corporation. All rights reserved.
Attempting to contact
(ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle)(ARGV0=oracleOFSA)(
ARGS= '(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=BEQ))) ')(ENVS= 'ORACLE_SID=O
FSA,
ORACLE_HOME=/apps/oracle/product/8.1.7 '))
OK (150 msec)
==============
Can someone till me if this is a normal behavior?
Is I missing some information?

Thanks & Best Regards
Ahmed



-- ---- ---- ---- ---- ---- -----
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!

-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To unsubscribe send email to: oracle-l-request@(protected)
put 'unsubscribe ' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --


-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To unsubscribe send email to: oracle-l-request@(protected)
put 'unsubscribe ' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --