Re: [sqlalchemy] horizontal sharding and bulk_insert

2017-08-28 Thread Антонио Антуан
Great! Thank you, Mike. I really hope I can find time to figure out sqlalchemy source code and contribute into it. Currently I have not succeeded in this :( But the library is amazing :) среда, 23 августа 2017 г., 16:58:20 UTC+3 пользователь Mike Bayer написал: > > On Wed, Aug 23, 2017 at 2:01 AM

Re: [sqlalchemy] horizontal sharding and bulk_insert

2017-08-23 Thread Mike Bayer
On Wed, Aug 23, 2017 at 2:01 AM, Антонио Антуан wrote: > > > > So, and now we always make queries without shard_id chosing: we always make > queries on 'default' database. One exception: when we run app on master and > read statistics from geo-slaves, we point it explicitly: > "Session.query(...)

Re: [sqlalchemy] horizontal sharding and bulk_insert

2017-08-22 Thread Антонио Антуан
вторник, 22 августа 2017 г., 17:29:41 UTC+3 пользователь Mike Bayer написал: > > On Tue, Aug 22, 2017 at 3:43 AM, Антонио Антуан > wrote: > > Hi guys > > I tried to implement horizontal sharding in my project. Everything is > ok, > > except bulk_inserts. > > When I run tests, I got this err

Re: [sqlalchemy] horizontal sharding and bulk_insert

2017-08-22 Thread Mike Bayer
On Tue, Aug 22, 2017 at 3:43 AM, Антонио Антуан wrote: > Hi guys > I tried to implement horizontal sharding in my project. Everything is ok, > except bulk_inserts. > When I run tests, I got this error: > File "/home/anton/Projects/proj/core/model/messages.py", line 210, in > create > Session

[sqlalchemy] horizontal sharding and bulk_insert

2017-08-22 Thread Антонио Антуан
Hi guys I tried to implement horizontal sharding in my project. Everything is ok, except bulk_inserts. When I run tests, I got this error: File "/home/anton/Projects/proj/core/model/messages.py", line 210, in create