I need to store records in a key value store, and I have considered XML, JSON, or YAML, and pretty much decided on YAML.
However, I am wondering how this will perform when searching through millions of records as alot of text processing is needed. Would it be better to use individual keys for differents columns or use YAML. For example, in YAML I could do:
- record
id: 34
type: person
name: John
age: 50
and in a key/value store I could use:
person_34_name: john
person_34_age: 50