Previous Thread
Next Thread
Print Thread
Rate Thread
#103389 12/22/2001 8:16 AM
Joined: May 2000
Posts: 1,356
Addict
Addict
Joined: May 2000
Posts: 1,356
is it good? I mean, should I use it instead of flat file? what do you think?

Also is there a review about it somewhere over the net? etc..etc... what are your opinions?

there are some additional modules for it.

And a second question. I'm using win98 and tried to create/uptade/etc a berkeley db. everything was fine, but it added one of my scripts source to the db??? that is strange

Sponsored Links
#103390 12/23/2001 9:01 PM
Joined: Aug 2000
Posts: 335
Member
Member
Offline
Joined: Aug 2000
Posts: 335
I've used the DB_File module, if that's what you're talking about. I think DB_File uses Berkeley DB files. I've used the DB types $DB_HASH and $DB_BTREE for creating tied hashes, which is much more efficient than using flat text files.

#103391 12/24/2001 12:33 PM
Joined: May 2000
Posts: 1,356
Addict
Addict
Joined: May 2000
Posts: 1,356
well... using AnyDBM_File looks better from the pod smile

But do you know a performance test (or something like that) over the net, I wanna see it wink , GDBM, SDBM (which is always there--it comes with Perl), and
finally ODBM. This way old programs that used to use NDBM via dbmopen()
can still do so, but new ones can reorder @ISA:

BEGIN { @AnyDBM_File::ISA = qw(DB_File GDBM_File NDBM_File) }
use AnyDBM_File;

Having multiple DBM implementations makes it trivial to copy database formats:


DBM Comparisons
[code][/code]

#103392 12/25/2001 11:47 AM
Joined: Aug 2000
Posts: 335
Member
Member
Offline
Joined: Aug 2000
Posts: 335
You're getting too advanced for me. I think Mark is the DB expert.

#103393 12/25/2001 3:37 PM
Joined: Sep 2000
Posts: 755
P.I.T.A. / Programmer
P.I.T.A. / Programmer
Offline
Joined: Sep 2000
Posts: 755
Any_DBM is an interface to multiple db's, including the berkely db so you can't really say if it's better or not.

Though I will say, if you're only using one db, don't bother with Any_DB because it's just adding another layer on top of what you're doing....that can slows things down a touch. But, if dealing directly with DB_File is proving cumbersome, then maybe you WOULD benefit from using Any's interface.... it's up to you to decide smile

--mark


"Annnnnnnndd now, opening for Iron Maiden...... WYLD STALLYNS!!!" --Bill S. Preston, Esquire and Ted "Theodore " Logan
Sponsored Links
#103394 12/25/2001 8:50 PM
Joined: Jul 2001
Posts: 108
Member
Member
Offline
Joined: Jul 2001
Posts: 108
Everything always depends on the situation

#103395 12/27/2001 3:48 PM
Joined: May 2000
Posts: 1,356
Addict
Addict
Joined: May 2000
Posts: 1,356
thanx for the replies


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)