Friday, January 20, 2012

Oracle 10g R2 runInstaller issues on RedHat 5

For my new project I was trying to install Oracle 10g R2 on my RedHat 5 Linux host. I already had an Oracle 11g R2 installed on that Linux host, so I was hoping that the installation should be rather straight forward but wasn't so.

I downloaded the 10g R2 binaries from the Oracle web page, and after gunzipping and cpioing proceeding to execute the runInstaller.

Here is the first issue that I hit:

-bash-3.2$ ./runInstaller
Starting Oracle Universal Installer...

Checking installer requirements...

Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
                                      Failed <<<<

Exiting Oracle Universal Installer, log for this session can be found at /u01/app/oraInventory/logs/installActions2012-01-19_04-28-30PM.log

Looks like at the time Oracle 10g R2 was released, RedHat was still at version 4, so when the installer looks at the certified OS'es it fails.

/home/oracle/database/10g/database/install/oraparam.ini file is where the Certified Versions of Linux are listed. As you see redhat-5 is missing.

[Certified Versions]
Linux=redhat-3,SuSE-9,redhat-4,UnitedLinux-1.0,asianux-1,asianux-2

The fix is pretty straight forward. We just have add redhat-5 to that list.

A good way to go about with that is to copy the oraparam.ini file to /tmp and then add redhat-5 to the list as shown below.

[Certified Versions]
Linux=redhat-3,SuSE-9,redhat-4,UnitedLinux-1.0,asianux-1,asianux-2,redhat-5

This resolves the first issue and we move a bit further along, but not for long. I now see a new error message.

-bash-3.2$ ./runInstaller -paramFile /tmp/oraparam.ini
Starting Oracle Universal Installer...

Checking installer requirements...

Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLin
ux-1.0, asianux-1, asianux-2 or redhat-5
                                      Passed


All installer requirements met.

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2012-01-19_05-10-37PM. Please wait ...-bash-3.2$ Oracle Universal Installer, Version 10.2.0.1.0 Production
Copyright (C) 1999, 2005, Oracle. All rights reserved.

Exception java.lang.UnsatisfiedLinkError: /tmp/OraInstall2012-01-19_05-10-37PM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory occurred..
java.lang.UnsatisfiedLinkError: /tmp/OraInstall2012-01-19_05-10-37PM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or d


I looked for the libXp rpm, and noticed that I already had them.


-bash-3.2$ rpm -qa --queryformat "%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n" | grep libXp
libXpm-devel-3.5.5-3 (x86_64)
libXpm-3.5.5-3 (i386)
libXpm-3.5.5-3 (x86_64)

The fix for this is to install libXp-1.0.0-8.1.el5.i386.rpm

I downloaded the rpm from http://rpm.pbone.net/index.php3/stat/4/idpl/8077225/com/libXp-1.0.0-8.1.el5.i386.rpm.html


[root@isvx7 rpm]# ls
libXp-1.0.0-8.1.el5.i386.rpm
[root@isvx7 rpm]# rpm -i libXp-1.0.0-8.1.el5.i386.rpm
warning: libXp-1.0.0-8.1.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID e8562897
[root@isvx7 rpm]# rpm -qa --queryformat "%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n" | grep libXp
libXpm-devel-3.5.5-3 (x86_64)
libXp-1.0.0-8.1.el5 (i386)
libXpm-3.5.5-3 (i386)
libXpm-3.5.5-3 (x86_64)
[root@isvx7 rpm]#

Things were good after that, and the installer GUI came up fine.

If you have access to Metalink, or whatever they call it these days, checkout the below documents.
[ID 456634.1]
[ID 443617.1]

Friday, January 13, 2012

Enabling Asynchronous I/O and direct I/O in Oracle 11g R2 running on Red Hat Linux

I found a really good paper by Red Hat titled "Oracle 10g Server on Red Hat Enterprise Linux 5 Deployment Recommendations"

I have an Oracle 11g R2 (11.2.0.1.0) database running on Red Hat Linux version 2.6.18-274.7.1.el5, and wanted to try out if the recommendation still worked. So all the stuff you see below is right out of the above Red Hat document.The conclusion is, the recommendations by Red Hat still stand good for 11g R2.

To enable async I/O in Oracle, the disk_asynch_io parameter needs to be set to true in the init.ora file:
disk_asynch_io=true

The parameter disk_asynch_io is set to true by default in Oracle 11g:

SQL> show parameter disk_asynch_io;

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
disk_asynch_io                       boolean     TRUE
SQL>

In my case the data files are on a file system(ext3) which supports asynchronous I/O.

To do async I/O on file systems, the filesystemio_options parameter needs to be set to "asynch" in addition to
disk_asynch_io=true:

filesystemio_options=asynch

This parameter is platform-specific. By default, this parameter is set to none for Linux and thus needs to be changed:

SQL> show parameter filesystemio_options;

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
filesystemio_options                 string      none
SQL>

The filesystemio_options variable can have the following values:
asynch: Enables asynchronous I/O on file system files
directio: Enables direct I/O on file system files
setall: Enables both asynchronous and direct I/O on file system files
none: Disables both asynchronous and direct I/O on file system files

If you also wish to enable Direct I/O Support, set filesystemio_options to "setall".

As per the documentation "For Red Hat Enterprise Linux 5, it is strongly recommended to use “setall” for ext2, ext3, GFS, NFS and OCFS2 file systems."

Below is what I did to enable asynchronous I/O and direct I/O for my Oracle 11g R2 database.


SQL> alter system set filesystemio_options=setall scope=spfile;

System altered.

SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL>
SQL>
SQL> startup;
ORACLE instance started.

Total System Global Area 2.6991E+10 bytes
Fixed Size                  2213976 bytes
Variable Size            1.7448E+10 bytes
Database Buffers         9395240960 bytes
Redo Buffers              145174528 bytes
Database mounted.
Database opened.
SQL> show parameter filesystemio_options;

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
filesystemio_options                 string      SETALL
SQL>

Thursday, January 12, 2012

dbv and dbfsize for Oracle datafile info

I came across these pretty cool utilities that give lots of good information about the Oracle datafiles.

Here we pass the foo5.dbf file created in the earlier post to the dbv utility.

-bash-3.2$ dbv FILE=foo5.dbf

DBVERIFY: Release 11.2.0.1.0 - Production on Thu Jan 12 16:12:10 2012

Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.

DBVERIFY - Verification starting : FILE = /oracle/ORCLTBLSP/datafile/foo5.dbf


DBVERIFY - Verification complete

Total Pages Examined         : 393216
Total Pages Processed (Data) : 0
Total Pages Failing   (Data) : 0
Total Pages Processed (Index): 0
Total Pages Failing   (Index): 0
Total Pages Processed (Other): 127
Total Pages Processed (Seg)  : 0
Total Pages Failing   (Seg)  : 0
Total Pages Empty            : 393089
Total Pages Marked Corrupt   : 0
Total Pages Influx           : 0
Total Pages Encrypted        : 0
Highest block SCN            : 1004562 (0.1004562)

Below we pass the foo5.dbf datafile to the dbfsize utility

-bash-3.2$ dbfsize foo5.dbf

Database file: foo5.dbf
Database file type: file system
Database file size: 393216 8192 byte blocks
-bash-3.2$

It tells us the data file is on a file system. And more importantly that it's size is 393216 x 8k blocks which is around 3GB, which is the size of the datafile that we added to the tablespace in the earlier post.

How does Oracle initalize the datafiles that make up the tablespaces?

To see how or what Oracle does while initializing a datafile(file system) while adding it to a tablespace I tried the following little test on my RedHat Linux host. The file system was ext3.

Here is the result when  No asynchronous I/O was used. ie. the Oracle parameter filesystemio_options=none


-bash-3.2$  strace -f sqlplus / as sysdba 2> output.txt

SQL*Plus: Release 11.2.0.1.0 Production on Thu Jan 12 15:25:50 2012

Copyright (c) 1982, 2009, Oracle.  All rights reserved.


Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL> alter tablespace users add datafile '/oracle/ORCLTBLSP/datafile/foo5.dbf' size 3G;

Tablespace altered.

SQL>

Here is a snippet of the out that was collected by strace. Here we see that the datafile foo5.dbf gets created, and then initialized with 0's

[pid 18769] open("/oracle/ORCLTBLSP/datafile/foo5.dbf", O_RDONLY) = 14
[pid 18769] open("/oracle/ORCLTBLSP/datafile/foo5.dbf", O_RDONLY) = 14
[pid 18769] open("/oracle/ORCLTBLSP/datafile/foo5.dbf", O_RDWR) = 14
[pid 18769] pwrite(14, "\0\242\0\0\1\0\0\0\0\0\0\0\0\0\1\5\1\247\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1040384, 8192) = 1040384
[pid 18769] pwrite(14, "\0\242\0\0\200\0\0\0\0\0\0\0\0\0\1\5\200\247\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1048576, 1048576) = 1048576
[pid 18769] pwrite(14, "\0\242\0\0\0\1\0\0\0\0\0\0\0\0\1\5\0\246\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1048576, 2097152) = 1048576
[pid 18769] pwrite(14, "\0\242\0\0\200\1\0\0\0\0\0\0\0\0\1\5\200\246\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1048576, 3145728) = 1048576
[pid 18769] pwrite(14, "\0\242\0\0\0\2\0\0\0\0\0\0\0\0\1\5\0\245\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1048576, 4194304) = 1048576
[pid 18769] pwrite(14, "\0\242\0\0\200\2\0\0\0\0\0\0\0\0\1\5\200\245\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1048576, 5242880) = 1048576
[pid 18769] pwrite(14, "\0\242\0\0\0\3\0\0\0\0\0\0\0\0\1\5\0\244\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1048576, 6291456) = 1048576

We can also check this by looking directly at the datafile file foo5.dbf

[root@isvx7 datafile]# hexdump foo5.dbf | more
0000000 a200 0000 0000 ffc0 0000 0000 0000 0000
0000010 fa60 0000 2000 0000 0000 0006 7c7d 7a7b
0000020 81a0 0000 0000 0000 0000 0000 0000 0000
0000030 0000 0000 0000 0000 0000 0000 0000 0000
*
0002000 a20b 0000 0001 0240 0000 0000 0000 0401
0002010 5aa1 0000 0000 0000 0000 0b20 412c 722d
0002020 524f 4c43 4254 534c 0465 0000 0000 0006
0002030 2000 0000 0009 0003 0000 0000 0000 0000
0002040 0000 0000 0000 0000 0000 0000 0000 0000
*
0002060 0000 0000 526b 000f 0000 0000 a9a2 2e09
0002070 56ee 2e08 6c20 000e 0000 0000 0000 0000
0002080 0000 0000 0000 0000 0000 0004 0002 0000
0002090 0000 0000 0001 0000 0000 0000 0000 0000
00020a0 0000 0000 0000 0000 0000 0000 0000 0000


Here is the same test when Asynchronous I/O was used. ie. the Oracle parameter filesystemio_options=asynch

When asynchronous I/O was used, there were lots of io_submit could be see happening as expected. The man page says the following about io_submit "io_submit - Submit asynchronous I/O blocks for processing"

Below is a snippet of the output from the strace file when asynchronous i/o was used to add a datafile to the tablespace.


[pid 14927] io_submit(47213877018624, 1, {{0x2af0d65f9430, 0, 1, 0, 14}}) = 1
[pid 14927] io_submit(47213877018624, 1, {{0x2af0d65f9688, 0, 1, 0, 14}}) = 1
[pid 14927] io_submit(47213877018624, 1, {{0x2af0d65f98e0, 0, 1, 0, 14}}) = 1
[pid 14927] io_submit(47213877018624, 1, {{0x2af0d65f9b38, 0, 1, 0, 14}}) = 1
[pid 14927] io_getevents(47213877018624, 4, 128, {{0x2af0d65f9430, 0x2af0d65f9430, 1040384, 0}, {0x2af0d65f9688, 0x2af0d65f9688, 1048576, 0}, {0x2af0d65f98e0, 0x2af0d65f98e0, 1048576, 0}, {0x2af0d65f9b38, 0x2af0d65f9b38, 1048576, 0}}, {0, 0}) = 4
[pid 14927] io_submit(47213877018624, 1, {{0x2af0d65f9430, 0, 1, 0, 14}}) = 1
[pid 14927] io_submit(47213877018624, 1, {{0x2af0d65f9688, 0, 1, 0, 14}}) = 1
[pid 14927] io_submit(47213877018624, 1, {{0x2af0d65f98e0, 0, 1, 0, 14}}) = 1
[pid 14927] io_submit(47213877018624, 1, {{0x2af0d65f9b38, 0, 1, 0, 14}}) = 1

Tuesday, January 10, 2012

Oracle files deleted by SQL> drop database;

I knew when we dropped an Oracle database that it deleted the control files, data files, and the redo log files for that particular instance of the database. I was curious to what other files it deleted when we dropped an instance of the database

So on my Linux box I created a database called "testdel". The database "testdel" created it's files control files, data files, and the redo log files under /oracle/testdel

I used "strace" to see what files were unlinked during the "drop database" command by redirecting the strace output to the output_testdel.txt file as shown below.



-bash-3.2$ export ORACLE_SID=testdel
-bash-3.2$ strace -f -e unlink sqlplus / as sysdba 2> output_testdel.txt

SQL*Plus: Release 11.2.0.1.0 Production on Tue Jan 10 01:31:59 2012

Copyright (c) 1982, 2009, Oracle.  All rights reserved.


Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup restrict mount;
ORACLE instance started.

Total System Global Area 2.6991E+10 bytes
Fixed Size                  2213976 bytes
Variable Size            1.7448E+10 bytes
Database Buffers         9395240960 bytes
Redo Buffers              145174528 bytes
Database mounted.
SQL> drop database;

Database dropped.

Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL>

Here are a list of file that get unlinked or deleted:

Automatic Memory Management(AMM) memory segments are memory mapped files in /dev/shm.

/u01/app/oracle/product/11.2.0/dbhome_1/dbs/lkinsttestdel

The files nder the /oracle/testdel directory

[pid 23376] unlink("/oracle/testdel/system01.dbf") = 0
[pid 23376] unlink("/oracle/testdel/sysaux01.dbf") = 0
[pid 23376] unlink("/oracle/testdel/undotbs01.dbf") = 0
[pid 23376] unlink("/oracle/testdel/users01.dbf") = 0
[pid 23376] unlink("/oracle/testdel/redo01.log") = 0
[pid 23376] unlink("/oracle/testdel/redo02.log") = 0
[pid 23376] unlink("/oracle/testdel/redo03.log") = 0
[pid 23376] unlink("/oracle/testdel/temp01.dbf") = 0

Here are some other files they that get deleted
/u01/app/oracle/product/11.2.0/dbhome_1/dbs/spfiletestdel.ora

/u01/app/oracle/diag/rdbms/testdel/testdel/alert/log.xml

Also, all metadata, lck, and trace files under the following directory
/u01/app/oracle/diag/rdbms/testdel/testdel/metadata

/u01/app/oracle/diag/rdbms/testdel/testdel/lck

/u01/app/oracle/diag/rdbms/testdel/testdel/trace/

And finally the control files under /oracle/testdel
[pid 23376] unlink("/oracle/testdel/control01.ctl") = 0
[pid 23376] unlink("/oracle/testdel/control02.ctl") = 0

Monday, November 7, 2011

Setting up R on Red Hat Linux

Thought of giving R programing a shot to create graph, so I downloaded the source code and compiled it on my Red Hat Linux server.


[root@isvx7 ~]# uname -a
Linux isvx7.storage.tucson.ibm.com 2.6.18-274.3.1.el5 #1 SMP Fri Aug 26 18:49:02 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux


So as user root I created a directory called r_prog. Under directory I created a directory called
source. I then cd'ed on to the source directory and downloaded the source code for R.


[root@isvx7 source]# wget http://cran.r-project.org/src/base/R-2/R-2.14.0.tar.gz

I next untared to .gz file


[root@isvx7 source]# tar -xvf R-2.14.0.tar.gz

Next I cd onto the directory R-2.14.0 and ran "configure"


[root@isvx7 source]# ./configure

.....
.....
....

R is now configured for x86_64-unknown-linux-gnu

  Source directory:          .
  Installation directory:    /usr/local

  C compiler:                gcc -std=gnu99  -g -O2
  Fortran 77 compiler:       gfortran  -g -O2

  C++ compiler:              g++  -g -O2
  Fortran 90/95 compiler:    gfortran -g -O2
  Obj-C compiler:

  Interfaces supported:      X11
  External libraries:        readline
  Additional capabilities:   PNG, JPEG, TIFF, NLS, cairo
  Options enabled:           shared BLAS, R profiling, Java

  Recommended packages:      yes

configure: WARNING: you cannot build PDF versions of the R manuals
configure: WARNING: you cannot build PDF versions of all the help pages
[root@isvx7 R-2.14.0]#

I then ran the "make" and "make check" command as shown below.

[root@isvx7 R-2.14.0]# make
......
......
......


[root@isvx7 R-2.14.0]# make check
make[1]: Entering directory `/root/r_prog/source/R-2.14.0/tests'
make[2]: Entering directory `/root/r_prog/source/R-2.14.0/tests'
make[3]: Entering directory `/root/r_prog/source/R-2.14.0/tests/Examples'
Testing examples for package âbaseâ
  comparing âbase-Ex.Routâ to âbase-Ex.Rout.prevâ ...
5654c5654
< 54
---
> 14
Testing examples for package âtoolsâ
  comparing âtools-Ex.Routâ to âtools-Ex.Rout.saveâ ... OK
Testing examples for package âutilsâ
  comparing âutils-Ex.Routâ to âutils-Ex.Rout.prevâ ... OK
Testing examples for package âgrDevicesâ
  comparing âgrDevices-Ex.Routâ to âgrDevices-Ex.Rout.saveâ ... OK
Testing examples for package âgraphicsâ
  comparing âgraphics-Ex.Routâ to âgraphics-Ex.Rout.saveâ ... OK
Testing examples for package âstatsâ
  comparing âstats-Ex.Routâ to âstats-Ex.Rout.saveâ ... OK
Testing examples for package âdatasetsâ
  comparing âdatasets-Ex.Routâ to âdatasets-Ex.Rout.saveâ ... OK
Testing examples for package âmethodsâ
  comparing âmethods-Ex.Routâ to âmethods-Ex.Rout.prevâ ... OK
..............................................................
..............................................................
..............................................................
..............................................................
running code in 'reg-plot-latin1.R' ... OK
  comparing 'reg-plot-latin1.ps' to './reg-plot-latin1.ps.save' ... OK
make[3]: Leaving directory `/root/r_prog/source/R-2.14.0/tests'
make[2]: Leaving directory `/root/r_prog/source/R-2.14.0/tests'
make[2]: Entering directory `/root/r_prog/source/R-2.14.0/tests'
running tests of Internet and socket functions
  expect some differences
make[3]: Entering directory `/root/r_prog/source/R-2.14.0/tests'
running code in 'internet.R' ... OK
  comparing 'internet.Rout' to './internet.Rout.save' ...17c17
< [1] 3373
---
> [1] 3383
 OK
make[3]: Leaving directory `/root/r_prog/source/R-2.14.0/tests'
make[2]: Leaving directory `/root/r_prog/source/R-2.14.0/tests'
make[1]: Leaving directory `/root/r_prog/source/R-2.14.0/tests'
[root@isvx7 R-2.14.0]#

If you get a whole bunch of OK's then R is ready to go.


[root@isvx7 R-2.14.0]# ls
bin            COPYING  libtool      Makefrag.cc     ONEWS         tests
ChangeLog      doc      m4           Makefrag.cc_lo  OONEWS        tools
config.log     etc      Makeconf     Makefrag.cxx    po            VERSION
config.site    include  Makeconf.in  Makefrag.m      README
config.status  INSTALL  Makefile     modules         share
configure      lib      Makefile.fw  NEWS            src
configure.ac   library  Makefile.in  NEWS.pdf        SVN-REVISION
[root@isvx7 R-2.14.0]#

Now go into the bin directory and run R.


[root@isvx7 R-2.14.0]# cd bin
[root@isvx7 bin]# ls
BATCH    config   javareconf     pager   Rdconv      Rprof    Stangle
build    exec     libtool        R       Rdiff       Rscript  Sweave
check    f77_f2c  LINK           Rcmd    REMOVE      rtags
COMPILE  INSTALL  mkinstalldirs  Rd2dvi  Rplots.pdf  SHLIB
[root@isvx7 bin]# ./R

R version 2.14.0 (2011-10-31)
Copyright (C) 2011 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
Platform: x86_64-unknown-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

  Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

[Previously saved workspace restored]

>

At this point I tried the example provided in for the following link:
http://www.harding.edu/fmccown/r/


>
> cars <- c(1, 3, 6, 4, 9)
> plot(cars)
> q()
Save workspace image? [y/n/c]: y
[root@isvx7 bin]#
This created a graph called Rplots.pdf under the current directory.


Thursday, October 20, 2011

Protocol used by RMAN to communicate with the Oracle server

I just wanted to see what happens from a server process point of view when I run "rman" from a
the command. So from one terminal I ran "rman" as follows
bash-3.2$ rman target /
When I did that I observed that there were three new processes
that were started on the server. The rman process is the obvious one, but then other two processes which were the child processes of the rman process.
>   oracle 32309274 30998642   0 22:01:57  pts/0  0:00 rman target /
55a57
>   oracle 34275468 32309274   0 22:01:57      -  0:00 oracletestasm (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
58a61
>   oracle 37421080 32309274   0 22:01:58      -  0:00 oracletestasm (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
isvp14_ora>
Which got me curious about the PROTOCOL=beq. Reading throught the docs I found out the following abot the BEQ Protocol

  • The BEQ Protocol Adapter, is both a communications mechanism and a process spawning mechanism.
  •  If a service name is not specified, either directly by the user on the command line or the login screen, or indirectly through an environment variable, then the BEQ Protocol Adapter will be used.
  • When the BEQ Protocol is used a dedicated server will always be used, and the multi-threaded server will never be used.
  •  This dedicated server is started automatically by the BEQ Protocol Adapter, which waits for the server process to start and attach to an existing SGA. If the startup of the server process is successful, the BEQ Protocol Adapter then provides inter-process communication via UNIX pipes.
  •  An important feature of the BEQ Protocol Adapter is that no network Listener is required for its operation, since the adapter is linked into the client tools and directly starts its own server process with no outside interaction.
  •  Another thing to note is that the BEQ Protocol Adapter is always installed, and always linked in to all client tools.