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).
example record field1, field2, field3, [ key1=value1, key2=value2, ...]
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!In reply to key value in text format by pwagyi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |