Aug. 30, 2011
2:36 p.m.
On 30 Aug 2011, at 16:27, Mariano Martinez Peck wrote:
I don't understand. What is the difference from the querying and indexing point of view between serializing with JSON or a binary serializer.
It could be (not knowing the specific database) that the db understands the contents and can query on the properties, which would make huge differences in performance. Say you store: 1 -> { "id" : 1, "name" : "one" } 2 -> { "id" : 2, "name" : "two" } ⦠99999 -> ⦠You could then ask the db for the object where name = "one hundred" without reading all of them (but the db would have to do that of course). Maybe even indexes are possible. Sven