django-sharding
django-sharding copied to clipboard
A sharding library for Django
Hey all 👋 Has anyone managed to get Polymorphic relationships functional on sharded databases? When trying to do so myself, I found that I was unable to define such relationships...
Hi. Docs link from README (https://www.josephkahn.io/django-sharding/) leads to 404 page.
Had to use https://github.com/miyakogi/m2r to get it to publish, it won't recognize me telling it to use markdown.
Pre-opening this issue, will be working on compat with 2.0 over the next couple weeks since its in the Django master branch now. Will link the branch once its ready...
Hy. In one of migrations I have model, that has been deleted in later migrations and doesn't exist for now. When I do migrate, I get this error: ``` File...
Hello. Here's a bug:  The problem occures, if I add replica to one of the shards, and use `PostgresShardGeneratedIDAutoField`at the same time. The reason is, that replicas have no...
Hi How to add additional arguments to database_configs? To be concrete, I use pgbouncer and want to add [DISABLE_SERVER_SIDE_CURSORS ](https://docs.djangoproject.com/en/2.1/ref/settings/#disable-server-side-cursors)parameter. How can I achieve it without hacky: ```python for db...
Hi. I've had a problem creating multiple managers for single model: ```python from django_sharding_library.manager import ShardManager from django.db.models import Model class ManagerA(ShardManager): pass class ManagerB(ShardManager): pass class MyModel(Model): class Meta:...
Seems support of relationships is very bad. And it is hard to debug because `django_sharding_library.router.ShardedRouter.allow_relation` is never gets called.