Connection pooling doesn't seem to work. (It doesn't work when using SqlDataSource control)
Posted: Wed 29 Mar 2006 14:46
Hi,
I am working on my first project with the CoreLab MySQLDirect.NET provider, and I just noticed that the connection pooling feature doesn't seem to be working. Do I have to specify something to make it work?
After only a few clicks on my this new site, the mysql process list looks like this:
ID Gebruiker Host Database Commando Tijd Status SQL-query
stop proces 739 vtu 172.17.100.17:4510 vtu Sleep 640 --- ---
stop proces 773 vtu 172.17.100.17:4619 vtu Sleep 12 --- ---
stop proces 774 vtu 172.17.100.17:4620 vtu Sleep 2 --- ---
stop proces 775 vtu 172.17.100.17:4622 vtu Sleep 13 --- ---
stop proces 776 vtu 172.17.100.17:4624 vtu Sleep 12 --- ---
stop proces 777 vtu 172.17.100.17:4626 vtu Sleep 12 --- ---
stop proces 778 vtu 172.17.100.17:4628 vtu Sleep 10 --- ---
stop proces 779 vtu 172.17.100.17:4629 vtu Sleep 10 --- ---
stop proces 780 vtu 172.17.100.17:4631 vtu Sleep 3 --- ---
stop proces 781 vtu 172.17.100.17:4634 vtu Sleep 8 --- ---
stop proces 782 vtu 172.17.100.17:4636 vtu Sleep 7 --- ---
stop proces 783 vtu 172.17.100.17:4638 vtu Sleep 5 --- ---
stop proces 784 vtu 172.17.100.17:4640 vtu Sleep 4 --- ---
I have to note that I am using the provider only using the ASP.NET 2.0 SqlDataSource control. So I don't make the connections via the MySqlConnection class myself, because the SqlDataSource makes the connections automatically for me. Could this be the problem ?
Any feedback on this would be great.
Thanks in advance,
Jordan.
I am working on my first project with the CoreLab MySQLDirect.NET provider, and I just noticed that the connection pooling feature doesn't seem to be working. Do I have to specify something to make it work?
After only a few clicks on my this new site, the mysql process list looks like this:
ID Gebruiker Host Database Commando Tijd Status SQL-query
stop proces 739 vtu 172.17.100.17:4510 vtu Sleep 640 --- ---
stop proces 773 vtu 172.17.100.17:4619 vtu Sleep 12 --- ---
stop proces 774 vtu 172.17.100.17:4620 vtu Sleep 2 --- ---
stop proces 775 vtu 172.17.100.17:4622 vtu Sleep 13 --- ---
stop proces 776 vtu 172.17.100.17:4624 vtu Sleep 12 --- ---
stop proces 777 vtu 172.17.100.17:4626 vtu Sleep 12 --- ---
stop proces 778 vtu 172.17.100.17:4628 vtu Sleep 10 --- ---
stop proces 779 vtu 172.17.100.17:4629 vtu Sleep 10 --- ---
stop proces 780 vtu 172.17.100.17:4631 vtu Sleep 3 --- ---
stop proces 781 vtu 172.17.100.17:4634 vtu Sleep 8 --- ---
stop proces 782 vtu 172.17.100.17:4636 vtu Sleep 7 --- ---
stop proces 783 vtu 172.17.100.17:4638 vtu Sleep 5 --- ---
stop proces 784 vtu 172.17.100.17:4640 vtu Sleep 4 --- ---
I have to note that I am using the provider only using the ASP.NET 2.0 SqlDataSource control. So I don't make the connections via the MySqlConnection class myself, because the SqlDataSource makes the connections automatically for me. Could this be the problem ?
Any feedback on this would be great.
Thanks in advance,
Jordan.