简体   繁体   English

Mule 4 数据库连接器的池化配置大小

[英]Pooling configuration sizing for the Mule 4 Database Connnector

I want to do connection pooling in Database connector in Mule 4, but I'm not able to figure it out how to configure max and min pool size?我想在 Mule 4 的数据库连接器中进行连接池,但我无法弄清楚如何配置最大和最小池大小? I am sending sending data which is of dynamic size.我正在发送动态大小的发送数据。 Hence what should an ideal size of max and min pool and why to use that particular size only.因此,最大和最小池的理想大小应该是多少,以及为什么只使用该特定大小。

Pool sizing is not related directly to the size of the data but to the number of concurrent operations.池大小与数据大小没有直接关系,而是与并发操作的数量有关。 No one can tell you what size to use for your application.没有人能告诉您应用程序使用什么尺寸。 You need to understand how many concurrent database operations for a given database configuration you may have.您需要了解给定数据库配置可能有多少并发数据库操作。 The number may come from real experience, testing or an estimation.这个数字可能来自真实的经验、测试或估计。 Anything else is bogus.其他的都是假的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM