Hosen1989 has asked for the wisdom of the Perl Monks concerning the following question:
Dear ALL,
We had application written in perl that create complex data structure for our subscriber (we have move than 4m subscribers).
each subscriber have some conmen fields that are are present in all of them and some other subscriber has missing some.
the data looks like the next:
%subscribers = { "user_001" = { "name" => "sam", "age" => "13", "color" =>['red','blue'] "item"=>{ "old" =>['PC','pen'], "new" =>['tap','car'] }, "user_002" = { "name" => "ali", "age" => "54", "color" =>['red','null','green'] "item"=>{ "old" =>['phone','TV'] }, "user_003" = { "name" => "foo", "age" => "02", "item"=>{ "old" =>[''] }, .... } } #[our data are more nasty and complex]
now we try to store these data in DB then do some query in them like get user that have new 'TAPs' in item or there age is larger than 30 years.
what we need to know is:
What is the best method to store the data (as MySQL or Oracle db not option), we need something for semi-structure data.
How to do these queries taken in mind the preformence.
We jast need headline to start our search (and yes we did our homework using Google ^_^).
BR
Hosen
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: store/query semi-structure data
by erix (Prior) on May 24, 2015 at 20:51 UTC | |
|
Re: store/query semi-structure data
by pme (Monsignor) on May 24, 2015 at 21:27 UTC | |
|
Re: store/query semi-structure data
by afoken (Chancellor) on May 24, 2015 at 20:59 UTC | |
|
Re: store/query semi-structure data
by locked_user sundialsvc4 (Abbot) on May 25, 2015 at 12:30 UTC |