Quantcast
Channel: MySQL Forums - Connector/NET and C#, Mono, .Net
Viewing all articles
Browse latest Browse all 1451

Multiple datareaders per connection and pagesize (no replies)

$
0
0
Y would like to use multiple datareaders per connection in order to stop using MySQLDriverCS (which supports it) and start using mysql connector.
I saw this suggestion:
https://forums.mysql.com/read.php?38,211848,211856#msg-211856

It says:
"...is to use paging with server side prepared statements. This is something that I had working 2 years ago but server side PS was so buggy that it was never released. The idea is that you set the page size to 1 record and then use .Prepare on your commands. When this happens and you call Read() on the reader it actually sends a fetch command to the server to get the next row. This allows multiple commands to exist at the same time and interleave. While this is possible I am not sure how performant it would be."

It was posted in 2008, currently, is it ready to use?. Can I use Page Size=1 for a command that is going to execute with another one nested?

Viewing all articles
Browse latest Browse all 1451

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>