Current structure is like this: [image: image.png]
I can't manage pooling for green colored databases. Mike Bayer <mike...@zzzcomputing.com>, 22 Mar 2022 Sal, 17:12 tarihinde şunu yazdı: > for one engine with 18 databases, what is "switching the bindings" ? do > you mean you call "USE <database>" on the connection ? > > creating 18 separate engines would not be that big a deal if that's what > works best for the code, no issue doing that. > > On Tue, Mar 22, 2022, at 9:41 AM, Mustafa Demiraslan wrote: > > Hi team, > I am using 3 database engines at the same time, 1(include 1 database) + > 1(include 1 database) + 1(include 18 database). I use the database > containing 18 databases by switching the bindings. I connect to database > using sessions with session_maker for each engine. During the load test, I > am stuck on the max_connection limit for the part containing 18 databases. > Do you think the right approach is to create a separate engine for each > database(1+1+18 engine) or is it a single engine multiple binding? I would > be very happy if you express your thoughts. > > Regards, > Mustafa > > > -- > SQLAlchemy - > The Python SQL Toolkit and Object Relational Mapper > > http://www.sqlalchemy.org/ > > To post example code, please provide an MCVE: Minimal, Complete, and > Verifiable Example. See http://stackoverflow.com/help/mcve for a full > description. > --- > You received this message because you are subscribed to the Google Groups > "sqlalchemy" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sqlalchemy+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sqlalchemy/f196963c-9a0b-4359-b972-27010dfdcaden%40googlegroups.com > <https://groups.google.com/d/msgid/sqlalchemy/f196963c-9a0b-4359-b972-27010dfdcaden%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > > -- > SQLAlchemy - > The Python SQL Toolkit and Object Relational Mapper > > http://www.sqlalchemy.org/ > > To post example code, please provide an MCVE: Minimal, Complete, and > Verifiable Example. See http://stackoverflow.com/help/mcve for a full > description. > --- > You received this message because you are subscribed to the Google Groups > "sqlalchemy" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sqlalchemy+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sqlalchemy/97a1ad3f-2752-4fc4-9997-fcefff3b4589%40www.fastmail.com > <https://groups.google.com/d/msgid/sqlalchemy/97a1ad3f-2752-4fc4-9997-fcefff3b4589%40www.fastmail.com?utm_medium=email&utm_source=footer> > . > -- SQLAlchemy - The Python SQL Toolkit and Object Relational Mapper http://www.sqlalchemy.org/ To post example code, please provide an MCVE: Minimal, Complete, and Verifiable Example. See http://stackoverflow.com/help/mcve for a full description. --- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sqlalchemy+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sqlalchemy/CAM%2BjLs8-po%3DoFJyv1vFKionj8nuMpUU2DQm7AvkHTOEYUbi1QQ%40mail.gmail.com.