- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Is "ndbm" library already comes with HP-UX 11i?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-14-2002 05:58 PM
тАО08-14-2002 05:58 PM
Is "ndbm" library already comes with HP-UX 11i?
It will be compiled with gcc compiler.
Thanks!
Andrew Lee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-14-2002 06:28 PM
тАО08-14-2002 06:28 PM
Re: Is "ndbm" library already comes with HP-UX 11i?
HPUXBase64 --> ProgSupport --> Runtime --> C-INC
From my server I found it this way.
# swlist -l file | grep -i ndbm >/tmp/wrk
# more /tmp/wrk
OS-Core.CORE-SHLIBS: /usr/lib/libndbm.2
OS-Core.CORE-SHLIBS: /usr/lib/libndbm.sl
PHCO_23251.PAUX-ENG-A-MAN: /usr/share/man/man3.Z/ndbm.3x
Perl5.PERL-RUN: /opt/perl/html/lib/NDBM_File.html
Perl5.PERL-RUN: /opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi/NDBM_File.pm
Perl5.PERL-RUN: /opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi/auto/NDBM_File
Perl5.PERL-RUN: /opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi/auto/NDBM_File/NDB
M_File.bs
Perl5.PERL-RUN: /opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi/auto/NDBM_File/NDB
M_File.sl
Perl5.PERL-RUN: /opt/perl/man/man3/NDBM_File.3
ProgSupport.C-INC: /usr/include/ndbm.h
ProgSupport.PAUX-ENG-A-MAN: /usr/share/man/man3.Z/ndbm.3x
ProgSupport.PAUX-JPN-E-MAN: /usr/share/man/ja_JP.eucJP/man3.Z/ndbm.3x
ProgSupport.PAUX-JPN-S-MAN: /usr/share/man/ja_JP.SJIS/man3.Z/ndbm.3x
ProgSupport.PROG-AUX: /usr/lib/libndbm.a
Try and re-install this portion, it should be on your Core OS CD.
HTH
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-14-2002 06:33 PM
тАО08-14-2002 06:33 PM
Re: Is "ndbm" library already comes with HP-UX 11i?
Hashed key database library, ndbm does come with HP-UX. The library is part of OS core shared libraries.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-15-2002 12:40 AM
тАО08-15-2002 12:40 AM
Re: Is "ndbm" library already comes with HP-UX 11i?
Not that NDBM is bad, but some applications run much better on Berkeley-DB (which offers four different indexing methods) or GDBM. It all depends on how your data is accessed. Many reads, many writes, many traversals, many `shared' operation, and such.
I've used all above, and for huge processes it payed off to switch. Wheneven in doubt: benchmark.
Berkeley DB http://www.sleepycat.com/download.html
GDBM ftp://download.xs4all.nl/pub/mirror/gnu/gdbm/
Facts from "Perl Cookbook", chapter 14: Database Access, 14.0 Introduction :
SDBM, GDBM, and DB are open source. NDBM is not, so if there is a bug in NDBM, you will have to wait till the vendor issues an update
All packages are also available for WIndoze, making porting easier
SDBM is very small in code size and has low disk usage, but is slow. On avarage the speed comparison is (slow to fast) SDBM, GDBM & NDBM, DB
NDBM has a 4k block size limit, SDBM 1k, and GDBM and DB have no limits
DB is byte-order independant, and supports user defined sort order and partial key lookups. The other three are byte order dependant (no HP-UX to Windoze interaction) and offer no extra features.
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-15-2002 06:25 AM
тАО08-15-2002 06:25 AM
Re: Is "ndbm" library already comes with HP-UX 11i?
It's not a short story...
You may seen from my previous posts, I just switched from gdbm to ndbm. As I could not compile my cpp in HP-UX even it could be compiled in Linux. I thought it was the problem on the gdbm library. I'd tried to install the gdbm for many times, but still fail. So I switched to ndbm. Because I knew the ndbm comes with HP-UX, I thought it is less risky. Unluckily... still fail.
I want to ask whether SDBM and DB comes with HP-UX 11i or not?
And any known issues need to consider on HP-UX?
Thanks a lot!
Andrew Lee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-15-2002 06:45 AM
тАО08-15-2002 06:45 AM
Re: Is "ndbm" library already comes with HP-UX 11i?
Be sure to build Berkeley_DB as a shared library. I can make my port available on https://www.beepz.com/personal/merijn if you want (10.20 or 11.00 only. I have no 11i)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-15-2002 07:01 AM
тАО08-15-2002 07:01 AM
Re: Is "ndbm" library already comes with HP-UX 11i?
Berkeley_DB 4.0.14
GDBM 1.8.0
All build on HP-UX 11.00 with HP C-ANSI-C
bin/db_archive: PA-RISC2.0 shared executable dynamically linked
bin/db_checkpoint: PA-RISC2.0 shared executable dynamically linked
bin/db_deadlock: PA-RISC2.0 shared executable dynamically linked
bin/db_dump: PA-RISC2.0 shared executable dynamically linked
bin/db_load: PA-RISC2.0 shared executable dynamically linked
bin/db_printlog: PA-RISC2.0 shared executable dynamically linked
bin/db_recover: PA-RISC2.0 shared executable dynamically linked
bin/db_stat: PA-RISC2.0 shared executable dynamically linked
bin/db_upgrade: PA-RISC2.0 shared executable dynamically linked
bin/db_verify: PA-RISC2.0 shared executable dynamically linked
include/db.h: c program text
include/db_cxx.h: c program text
include/db_int.h: c program text
include/gdbm.h: c program text
info/gdbm.info: c program text
lib/libdb-3.3.11.sl: PA-RISC2.0 shared library -not stripped
lib/libdb-3.3.sl: PA-RISC2.0 shared library -not stripped
lib/libdb-4.0.14.sl: PA-RISC2.0 shared library -not stripped
lib/libdb-4.0.sl: PA-RISC2.0 shared library -not stripped
lib/libdb-4.sl: PA-RISC2.0 shared library -not stripped
lib/libdb.sl: PA-RISC2.0 shared library -not stripped
lib/libgdbm-1.8.0.sl: PA-RISC2.0 shared library -not stripped
lib/libgdbm.sl: PA-RISC2.0 shared library -not stripped
docs to be fetched yourself from sleepycat