News for hackers. Stuff that matters.
Re:MongoDB, Better by mikegioia on Sunday March 30, 2014 @08:16PM (#7498640)
I was considering tokumx because it seems like scaled better than normal mongodb but to be honest I'd love to move of this database entirely. I'm somewhat unfamiliar with postgres but does it have a storage/querying system comparable to mongo?
Re:MongoDB, Better by munro on Sunday March 30, 2014 @08:30PM (#7498703)
If you want to store & query JSON [1], Postgres 9.3 is great! Plus you can index functions, meaning you get cool things like fast JSON look up, and doing case insensitive searches. Which is hard in Mongo, you would either have to do a slow regexp look up, or save a lower case version in your application logic.

  CREATE INDEX ON members ((lower(my_json_data->>'email')));
[1] http://www.postgresql.org/docs/9.3/static/functions-json.htm...