MySQL Forums
Forum List  »  PHP

Re: charset / collation
Posted by: Andreas Schnederle-Wagner
Date: October 17, 2016 09:23AM

Hi Rick,
we are speaking about a 10 year old lagacy CMS System with over 1 Million PHP Files - so absolutely no - swapping mysql_* Interface is no option! ;-)
(I wish I could swap it ... for several reasons ...)

This CMS is running fine for 10 years now - but I try to tune some parts of it for better performance until a complete rewrite is done.
It's running fine with "SET NAMES" Query.

As you say - it's only called once per connection - but still is responsible for about ~11% of all Queries sent to MySQL Server. (See http://temp.in.futureweb.at/option.jpg) - I know it's a minimal thing - but if I could get rid of this Query it still would be about 50+ Queries per Second less sent to MySQL ...

So my Question still stands ... it's not about "best practices" or how the CMS in general could/should be made better ... it's simply "can i configure MySQL Server so that it behaves 100% the same way as if i sent SET NAMES to it - without actually sending it ..."

Thx
Andreas

Options: ReplyQuote


Subject
Written By
Posted
October 13, 2016 09:32AM
October 13, 2016 12:12PM
October 14, 2016 09:17AM
October 14, 2016 02:58AM
October 17, 2016 04:21PM
October 18, 2016 09:41AM
October 18, 2016 11:22AM
October 16, 2016 04:03PM
Re: charset / collation
October 17, 2016 09:23AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.