Operating System - HP-UX
1751695 Members
4637 Online
108781 Solutions
New Discussion юеВ

Re: Perl + DBI + DBD::Oracle

 
SOLVED
Go to solution
CEXI
Occasional Contributor

Perl + DBI + DBD::Oracle

What is the advantages of building a dynamicaly linked version of DBD::Oracle over a staticaly one ?

Thank you.
3 REPLIES 3
H.Merijn Brand (procura
Honored Contributor
Solution

Re: Perl + DBI + DBD::Oracle

1. Startup speed
2. Resource use (if more processes start, they share the code)
3. Size of your modules

Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
CEXI
Occasional Contributor

Re: Perl + DBI + DBD::Oracle

How can you tell that DBD::Oracle is dynamicaly linked ?
H.Merijn Brand (procura
Honored Contributor

Re: Perl + DBI + DBD::Oracle

It should not be questioned, since it's the default.

What's the size of Oracle.sl in your install tree? My DBD-Oracle-1.16 for 9.2 is 4.9 Mb on HP-UX 11.00 with perl-5.8.5-dor

find it (.../perl5/5.8.5/PA-RISC-2.0/auto/DBD/Oracle/Oracle.sl), and do

# chatr Oracle.sl

and/or

# ldd Oracle.sl

if the chatr line has entries like

dynamic /your/path/to/oracle/v8170/lib/libclntsh.sl

and a few more, it is dynamic

Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn