Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

DB_File utility

by NWB (Initiate)
on Jan 05, 2003 at 12:45 UTC ( #224405=perlquestion: print w/replies, xml ) Need Help??

NWB has asked for the wisdom of the Perl Monks concerning the following question:

Hi,

I am developing a perl application using DB_File (my files are of type BTREE). However as I develop my application I am finding I have a need to and edit my database file. Currently I have had to resort to writing utility to dump the file to view it and another program to edit the data. What I need is a simple windows utility to do this for me. Does anyone know if such a thing exists?

Replies are listed 'Best First'.
Re: DB_File utility
by rdfield (Priest) on Jan 05, 2003 at 14:33 UTC
    If ths data is that complex, why not store it in a real (ie SQL) database where the data is much easier to maintain?

    rdfield

      For that matter, why not just use SQLite with Matts's DBD::SQLite? Should you need to convert to an RDBM later, all you should need to do (after the data has been migrated) is change drivers.

      jeffa

      L-LL-L--L-LL-L--L-LL-L--
      -R--R-RR-R--R-RR-R--R-RR
      B--B--B--B--B--B--B--B--
      H---H---H---H---H---H---
      (the triplet paradiddle with high-hat)
      
        And using Tie::DBI, we come around full circle to code that doesn't even need to change all that much even though initially written for DB_File. :)

        Makeshifts last the longest.

Re: DB_File utility
by diotalevi (Canon) on Jan 06, 2003 at 00:59 UTC

    Most of the time when I'm using DB_File (or it's grown up sibling BerkeleyDB) my data isn't even printable and I guess that's normal for others as well. One of the major selling points of these SleepyCat based databases is that you can stick arbitrary binary data. And that your dataset can be as large as four terabytes. I'd guess that most people who are using DB_File just don't have GUI generic editing clients on their horizons.

    Or maybe that's just me. I don't think it'd be too hard to do a basic Tk client anyway.


    Fun Fun Fun in the Fluffy Chair

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://224405]
Approved by Courage
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2021-02-26 00:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?