On Tue, January 15, 2008 14:19, Daevid Vincent wrote: >> -----Original Message----- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On Behalf Of Baron Schwartz >> Sent: Tuesday, January 15, 2008 1:49 PM >> To: Daevid Vincent >> Cc: mysql@lists.mysql.com >> Subject: Re: does 'disable networking' make mySQL faster? >> >> > > On Jan 14, 2008 7:00 AM, Daevid Vincent < >> [EMAIL PROTECTED]> wrote: >> > > >> > >> I saw this on the PHP list and was wondering if there is >> any merit to >> > it?! >> > >> I would be surprised if disabling networking made a >> difference. I'm only >> > >> concerned about the added speed. I get the security >> benefit of course. >> > >> >> > >> > >>> From: Manuel Lemos [mailto:[EMAIL PROTECTED] >> > >>> Sent: Saturday, January 12, 2008 12:57 PM >> > >>> To: [EMAIL PROTECTED] >> > >>> Subject: Re: [PHP] Re: SMTP vs mail() >> > >>> >> > >>> Every time I install MySQL on the same machine as the >> Web server, I >> > >>> disable networking to make it use Unix domain sockets, >> for either >> > >>> greater speed and security. >> >> Why don't you ask the author of the original post to explain or >> justify his opinion on faster performance, instead of asking people >> who didn't make that claim? > > Uh... Because it's a MYSQL question and not a PHP question for one. > > For two, there have been a couple people on THIS list who have suggested > it > is true, and there are a few more who (like me) are hard pressed to > believe > they are correct (or that mySQL would be written so poorly if that is > true). > > Three, I have my doubts the original author knows what the hell he's > talking > about, and therefore asking him to justify would just give me more > questionable results. > > d > I think I remember a README file in 3.23 that said something like this. If its still true it may be because if the server knows it doesn't need to deal with networking it can skip a whole bunch of tests like is this connection over a network. Using sockets involves less work than going through the TCP/IP stack, even if mysql itself doesn't take more time the OS will. Note, my information is dated.
Bill -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]