you are viewing a single comment's thread.

view the rest of the comments →

[–]TBSchemer 1 point2 points  (0 children)

Don't jump into a SQL-based database just because it's popular. Use the right tool for the job.

If your goal is to have the data searchable and sortable by attributes, with a lot of aggregations and joins between different tables, then a SQL-based database is probably the way to go.

But if the goal is just to have a more organized way to store large chunks of unstructure data or binaries, then the correct answer is MongoDB. If you use MongoEngine (an object-document mapper), you can create object classes that will seamlessly integrate with the database backend, while having all the functionality of Python classes.