-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to reuse tsdpool sessions #600
Comments
You can specify log with |
Thank you so much for your reply !! |
Hello, as you said, I tried connecting to tdspool, but it slows down in between, not always. Originally, if it didn't take 50ms to import 1 case of data from mssql, there is a case that sometimes takes 500ms. Why does it take 50ms to get 1 case of the same, and when does it take 500ms? How do I improve it? In addition, using tds is fast, but as you said, using tdspool is sometimes slow. |
Thanks for testing. I would bet on TCP_NODELAY setting (nagle algorithm). |
When I looked it up I saw that TCP_NODELAY setting deactivates nagle algorithm and I wanna know its pros&cons |
The base idea of the algorithm is to reduce number of TCP packets. See https://en.wikipedia.org/wiki/Nagle%27s_algorithm. However the TDS protocol already group bytes into larger packets so all you get is an increase of delays and round trips. |
@YANGJUHEE521 in |
@freddy77 |
Hi. Did you solve the issue? |
Hello, I would like to know how I can use tdspool. and i use freetds-common 1.3.6-1 version
I tested it.
First of all, msql confirmed that there is no session.
I turned on tdspool.
Session from msql to tdspool.
I thought I would reuse the existing tdspool session if I went in using mypool in tsql, but I had an additional session.
It's a question.
The text was updated successfully, but these errors were encountered: