gpt4 book ai didi

c# - 使用 MARS 的缺点(多个事件结果集)

转载 作者:可可西里 更新时间:2023-11-01 08:29:51 25 4
gpt4 key购买 nike

<分区>

Possible Duplicate:
Disadvantages of MARS (Multiple Active Result Sets)?

我正在开发一个应用程序,因此我必须同时使用多个 DataReader。当我说多个数据读取器时,我的意思是多个数据读取器......同时需要几个。(大约 10-50 个或更多)

So one scenario that i came across was to use different connection strings.. but implementing that i feel awkward!!!

Another method is to use MARS which i found it was pretty decent. but my doubt is that do i need to consider or take any precautions when i implement it or is something vicious waiting for me to happen :-)

from my so called research what i was able to find was that by using MARS the server produces data fast, so the client app must receive the data at the same speed it comes in. else the data storage buffer will be filled leading to the processing to stop.. and will be enabled only when the buffer gets empty..

我在附近的某个地方迷路了....

此外,我仅针对此要求仅使用 Select 语句..

所以我的问题是使用它们有什么缺点吗?有多少数据可以存储在服务器数据缓冲区中,这样处理就不会停止??

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com