|XP is just a number
key value in text formatby pwagyi (Monk)
|on Nov 06, 2019 at 03:49 UTC
pwagyi has asked for the wisdom of the Perl Monks concerning the following question:
I would like to seek advice from monks regarding problem I'm trying to solve. I am developing perl application to extract some information from raw binary data, and store extracted data. i.e persist data somehow.
so I've choice of using relational database, flat text file, CSV/JSON/XML. The nature of data is each record has fixed field + optional key-value pairs (in future may also expand).
There may be multiple records (10K or so) extracted from each binary file. I need quick lookup of record using key (key is a composite of some fixed fields), from records generated from all binary files. It's also required to know which binary file (file name) is this record come from.
So what data file format experienced Monks would recommend ? Should I use Storable/ Berkley DB? Should I have flat text file for each binary file, store some header info (like which binary file source in header once only).?Thanks!