Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Feb 2002
Posts: 1
Lurker
Lurker
Offline
Joined: Feb 2002
Posts: 1
In reply to:


Persistent database connections put a lot of demands on memory... generally not worth the small speed improvement.





I don't think so.
Persistents databases connections are very important for MySQL. Some benchamarks have been done and all have the same results: MySQL is very very slow when it have many concurrent acces. It's often the slowest database after 30 concurrent connections.
But, it's still on of the fastest linux database if you are using persistent connections. Of course, you need a lot of memory, but all big databases, with many concurrents acces, need memory.

"Use persistent connections to the database to avoid the connection overhead" is the first tip of "Optimisation Tips" from MySQL manual:
http://www.mysql.com/doc/T/i/Tips.html

If you want to see benchmark about MySQL persistent/non-persistant connections, read this benchmark (in french but you have graphics):
http://www.devparadise.com/technoweb/sys/bench/d55a446.asp

Renaud



Sponsored Links
Entire Thread
Subject Posted By Posted
MySQL optimization Max Fisch 02/01/2002 5:27 AM
Re: MySQL optimization Renaud 02/03/2002 5:41 AM
Re: MySQL optimization AllenAyres 02/03/2002 8:35 AM
Re: MySQL optimization Max Fisch 02/08/2002 1:42 PM
Re: MySQL optimization The Team 04/08/2002 1:46 AM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
• Shock Hosting
• Stable Host
• bluehost
• InterServer
Visit us on Facebook
Member Spotlight
Zarzal
Zarzal
Berlin, Germany
Posts: 808
Joined: July 2001
Forum Statistics
Forums63
Topics37,583
Posts293,957
Members13,826
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 75951
Topics Created 0
Posts Made 0
Users Online 1
Birthdays 2
Top Posters
AllenAyres 21,080
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2026 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20261026)