Wordpress - Plesk - Mysql , strange setups and versions, huge bottleneck - mysql

I'm writing this after about 3 days of researches without ending in a solution that has sense.
I had several setups to host Wordpress sites, using Apache directly and using Plesk, everything hosted on AWS. Recently I setup a new Plesk installation on a m5a.xlarge instance, and things started behaving strange.
Basically the performances on this new instances, profiling the TTFB of the wp-login.php are unacceptable. We are talking about 2.0 secs in comparison of the old setup.
To make the thing short, I made tons of tests and the results are the following:
TTFB 0.3-0.4 on Apache AWS Linux 2 with Mariadb 10.2, t3.medium
TTGB 0.3-0.4 on Plesk t3.medium running Mariadb 5.5
TTGB 1.8-2.2 on Plesk m5a.xlarge running Mariabdb 10.5 (the last one).
Final test, bring up a new machine m5a.xlarge and installed another plesk, TTFB 0.2-0.5 but plesk installed Mariadb 5.5
Now first of all I did not understand why plesk intalled 5.5 twice and 10.4 on one instance. There's no choice during the installation.
I made every kind of test, I have the sensation that there's something about encoding and collations, but also running a mysql benchmark from withing WP, no differences are shown and the results are pretty much the same.
So anyone can show the light what's going one there ? Mariadb 10.5 ? Or is it possibile a faulty disk ? Ever happened ? (I also detached the disk and tried on another instance, no difference, so faulty instance is out of scope).
Thanks !

To anyone that may experience a foolish problem like mine, basically when I did the installation of the faulty server, I updated MariaDB to 10.5. The problem was there, it does not play nice with Wordpress, that's all. I found a lot of people reporting performances regression with Wordpress and even this sounds weird, that's the problem. I've rebuilt a server, kept MariaDB 5.X and everything is going smooth.
BTW Plesk support has been totally useless keeping uninstalling my plugins and telling me that the problem was in the plugins.. :/

Related

MySQL local network query issue

I work with a software developed in Visual Basic 6 which MySQL is the database. Our application works in a local network and always worked fine, but just one costumer is having an issue. The question is when the consultant does something in our application the MySQL database takes too much time to search or stops to work, but when I'm on the machine that is installed MySQL (5.5) it is working.
I already have tried some tips, changing my.ini file lines, grant all command, reinstallation and etc.
Maybe the problem could be the local network? Any advice?
I have to apologize for my english if something don't look right,
Regards.
Well, I solved my problem, It was easier than I thought.
I had to go in Performance Options from Windows and change the Virtual Memory, just this.

Is There A Difference Between WAMP and MYSQL

This is my first post on Stack overlow
I'm a computer Engineer, but i'm relatively New to MYSQL
also i love using CLI
Backround info :
I Initially Installed MYSQL on my computer on IIS7 Virtual Server
Then Seperately installed PHP My Admin
when i did that it installed components such as MYSQL Workbench and Connectors and so on
i like the installed components but didn't use them frequently,
i only found myself using the Console and the Workbench
Now. the workbench has been replaced by PHP MyAdmin
at that time my database had only a few entries
after more research i learnt about WAMP, LAMP etc..
I'm now using the WAMP Stack
MY QUESTION IS THIS..
Other than the obvious fact that WAMP Uses Apache and i was using IIS7
is there any real difference between installing WAMP as a package
or installing all the components seperately
i would think not, but, what i did notice before i installed WAMP, was that i was always having to alter directory locations to enable new features
i find in WAMP that i'm doing that so much
In Giving me an answer
i would like it to be considered that ..
- I'm pretty much doing standard Data entry
- Running Queries
- i would like to have the ability to Backup the data file locations without any issues
- i would like to have the ability to Import and Export a table to another table if i see fit
eg.
if i created a table in a database called (for example) stock_my
and then i populated that with about 100 entries for example
and then i decided to rename the table my_stock
i would like to be able to export the data from stock_my to a .sql file
and then to be able to Import the data to the new table
Lastly , i would like Upgrading to newer versions of MySql or PHP My Admin to be relatively painless
THAT'S IT
SORRY ABOUT THE LONG POST
Any Comments are appreciated ahead of time
and i'd like to say , it's a pleasure to NOW be part of the community
sincerely
Martin Kuliza
The only difference is that Wamp installs those products already configured to work together and tuned up for a development environment, which means putting minimal footprint on your computer resources so you can work normally in the same machine you have the servers installed.
Installing them separately would only mean you would have to configure all that yourself, but essentually you would be installing the same things.

MySQL Server vs XAMPP

I just migrated my table to MySQL Server 5.6 in order to get full use of my system memory since XAMPP doesn't allow you to do so because its MySQL is based on a 32-bit arch. I also downloaded MySQL Workbench to control my server. HOWEVER, all of my queries take almost 2 seconds longer than when I had my server running on XAMPP profile. I activate my old server and everything is back to normal...
I checked all of the configuration variables and have set them exactly the same and still nothing changes.
Is there something I'm not seeing understanding here?
Which engines do you use?
How large are your tables?
Maybe this helps
When should database indexes be rebuilt?

Sphinx searchd issues when running on Windows Server

I am using sphinx to index my content. I used it in my development environment (xampp) and it worked fine. Now I took it to the server (same config file), and it is giving me trouble.
I have a VPS Windows 2008 server with Plesk panel. I am the administrator. the problem is that when i run the indexer tool, it tells me that it found 0 docs and indexing 0 docs. So it seems like it is working fine as far as accessing the database, but it just doesn't find any docs. Does anyone have any ideas, I spent a whole day playing with the configuration and database with no success.
Thanks.
Well maybe the database table that sphinx is trying to index is empty?
Either way would suggest adding debug command line switches when you run indexer. Eg --verbose, --print-queries etc. They will probably give you a better clue where the problem lies.

Xeround vs ClearDB hosted MySQL pros and cons?

We are currently on RDS for hosted MySQL but are considering moving to one of the fault tolerant MySQL addons for heroku. The two main ones seem to be xeround and ClearDB, but I'm having a hard time determining the differences between them. We're mainly interested in fault tolerance, consistent and fast performance and UTF8 charset support. Any experiences with either welcome. There doesn't seem to be much discussion of either out there.
I struggled with Xeround. We had an app built for none heroku environment that we migrated to Heroku. We tried Xeround but there was some problems with some of our queries for some reason when run against Xeround. Drastic but we ended running a Slicehost mySQL instance. We've recently re-reviewed and found ClearDB to work much better for us so we're now running on that Db.
I have to say that I totally agree with Jhon. I had the same issues.
I was running my app [play + heroku + xeround ] but some queries where giving me no results, so I switched to clearDB and everything went fine.