Python How to put relationship data in mongodb + gridfs

How to save 1,000,000 web pages with css, js, img files in mongodb + gridfs? How to determine the connection between a page and html files?

+3
source share
2 answers

See here for common sql -> mongodb: http://www.mongodb.org/display/DOCS/SQL+to+Mongo+Mapping+Chart

And embedding and binding specifically: http://www.mongodb.org/display/DOCS/Schema+Design#SchemaDesign-EmbeddingandLinking

You can also apply this to GridFS.

+1
source

GridFS , . , , "" , , , - , , ..

GridFS: http://www.mongodb.org/display/DOCS/GridFS+Specification

(, _id).

+1

All Articles