dbi_connect is lagging server bad
Hi, when "dbi_connect" tries to connect to my database it lags the server so bad for 45+ seconds that you think the server crashed. Here is the code that is used, and maybe someone can help me fix this, or maybe there isn't a way to fix it.
Code:
After 45+ seconds of major lag, it starts going again (it does connect to the database). |
Re: dbi_connect is lagging server bad
I imagine this is a remote host. Probably just a bad connection/route to the host as your code looks fine.
You may want to consider using SQLx! |
Re: dbi_connect is lagging server bad
I'd suggest using the SQLx natives to see what kind, if any, speed improvement you get.
Edit: Damn you, s p l i t ! |
Re: dbi_connect is lagging server bad
Alright thanks, s p l i t and Brad. I am going to go learn to use SQLx now.
|
| All times are GMT -4. The time now is 22:28. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.