M1ha Shvn
M1ha Shvn
Hi. Thank you for great module. I have several PostgreSQL databases. There sizes differ from 1 to 4 Tb. Not so long ago I restored a replica from backup and...
Hi. I'm not sure if `delete` command is working for MySQL database nowadays and so if this issue is a feature or bug request. From the one hand, I can...
Hi. Docs link from README (https://www.josephkahn.io/django-sharding/) leads to 404 page.
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:...
I've tried migrated 32-bit id field to PostgresShardForeignKey And got error: ``` django.db.utils.ProgrammingError: syntax error at or near "DEFAULT" LINE 1: ...sages_conversation" ALTER COLUMN "id" TYPE bigint DEFAULT ne... ```...
Hi. `Model.objects.update_or_create(key_field=key_value, defaults={})` is not routed automatically, when value existed. The reason is in it's realization: ```Python def update_or_create(self, defaults=None, **kwargs): """ Looks up an object with the given kwargs,...
Hi. When I create data with `Model.objects.bulk_create([Model(sharding_id=shard_model_id, ...)])` is automatical routing working?