RE: [PHP] Stressing out db connections

From: Date: Sun, 06 Aug 2000 16:06:20 +0000
Subject: RE: [PHP] Stressing out db connections
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-10336@lists.php.net to get a copy of this message
I'd recommend taking the oracle route. There is currently no good connection pooling for MySQL, you'll be limited at least initially to 1000 connections, or 4 web servers... You can patch the source of a bunch of libraries and begin to expand that, but you'll begin to run into problems as your key cache gets larger (I can't safely bump mine beyond 256MB) and we at least experience index corruption pretty regularly though this may be our situation alone which under MySQL requires a DB shutdown to fix. Many users have reported solid reliability. I suspect some of it ties to the fact that we run pretty high loads under SMP, MySQL was rock solid stable for us at the 100 query per second range. One issue you need to look at his how well the DB can scale. If you are extremely successful, and it sounds like you will be, you won't care as much about how fast it is at small workloads, but would willing pay a little to have to handle the higher loads. If you go with Oracle I'd love to hear your experiences with it. Once nice thing sticking with MySQL (and sending some of that Oracle money to the developers) is that it is GPL, something that is fun and improves the world for everyone, including those of us who can't afford oracle servers yet. I don't know of any MySQL showcase installations on the higher end (10,000 connections, 10,000 queries/second) but they are getting there. Finally, there are some interesting contenders out there in Postgre and Interbase, though no one has published good comparisons of them yet. Here's hoping. Interbase can run in SuperServer mode where it doesn't suck up a lot of processes to handle the connections. August -----Original Message----- From: Jonathan Chum [mailto:jchum@techdevelopers.com] Sent: Sunday, August 06, 2000 9:49 AM To: php-general@lists.php.net Subject: [PHP] Stressing out db connections I have worked on many small sites and now time is calling me for a high-usage site. Right now, we have a PII 400 with 64 MB PC133 RAM on Redhat 6.2 which will be used to jump start the site. What I want to know is how much connections to the database can be handled at once on the server, or perhaps some tips with the hardware architecture or software architecture would be much grateful. The site is a forum based site with over 1 million members at the start and increasing rapidly. What I also want to know what DB would be more suitable for the job, Oracle or MySQL? I have both and have written much of the forum software in MySQL which I don't think will be a big tuffy to convert over to Oracle. I hear that Oracle takes a great amount of RAM though just for the installation. Yet, in the long run, will Oracle should be my choice to power multiple boards with multiple users connected to a database simultaneously? Thanks for any help or insights you can give to me. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#10336) next »