There is no road in the world, and the people who walk more and more become the way. Why not build a mongodb on http://www.aliyun.com/zixun/aggregation/14171.html ">postgres"?
The Postgres community did not sit on the NoSQL after taking a series of actions. Postgres has been progressing: integrating JSON and PLV8. PLV8 introduced the V8 JavaScript engine. Manipulating JSON is also simpler (requires validation).
What to do before you start:
Postgres 9.2+ (as of this blog entry, 9.2 are in beta)-http://www.postgresql.org/ftp/source/
V8-https://github.com/v8/v8
Plv8-http://code.google.com/p/plv8js/wiki/plv8
The lowest level of MongoDB is the collection. A collection can be represented by a table:
Character JSON is saved in the Postgres table, easy (see now).
The following implements the automatic creation of collections. Save in the collection table:
Once the table is built, the collection can be created automatically through stored procedures. The method is to first build the table and then insert the table sequence.
Next is the data query. The Find () method is implemented through existing materials.