Going for a trot on the Django pony(blog.fluther.com) |
Going for a trot on the Django pony(blog.fluther.com) |
Django 1.2 will have support for multiple databases: http://djangoadvent.com/1.2/multiple-database-support/
http://en.wikipedia.org/wiki/Shard_(database_architecture)
What it seems to support is "Database Routers" which let you implement your own sharding. It's not that you can't do it. It's just that it doesn't support sharding out of the box.
I'm more excited for the template performance improvements.
I would bet that once 1.2 is released at least several reusable apps pop up that implement various sharding/partitioning strategies.
I end up spending 10x the effort using it than writing a few custom queries to add columns or drop a table.
I felt that way at first but once I got to know South I found it to be much better than custom queries.