mamp-mysql | Update selected Bash scripts shipped with MAMP to reflect | Script Programming library
kandi X-RAY | mamp-mysql Summary
kandi X-RAY | mamp-mysql Summary
Changing or re-setting the password for MAMP's MySQL root user necessitates updating hard-coded references to the old password in several Bash scripts shipped with MAMP for macOS.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of mamp-mysql
mamp-mysql Key Features
mamp-mysql Examples and Code Snippets
Community Discussions
Trending Discussions on mamp-mysql
QUESTION
I have just moved from running my local MySQL database from using MAMP-supported MYSQL v5.7.30 to a "normal" local MySQL installation of v8.0.22. While the reason for the switch was that I wanted to use CTEs, I was also hoping for a performance increase, as is frequently reported.
While the performance ist slightly better (10-20%) for most of my queries, the performance for a simple SELECT count(*) from mytable;
takes about twice as long: 3.8s on MAMP-MySQL 5.7.30 vs. 7.5s on MySQL 8.0.22. This is on a table with 15m rows and 12 columns, 1 PK, 1 indexed column (besides the PK), no FK.
The tables should be exactly the same as I migrated them using the MySQL Workbench Migration Wizard.
Searching Stackoverflow for possible performance tweaks it looks like the usual suspects may not be set to ideal values (using the out-of-the-box settings of MySQL), but they are at least identical between my two databases:
...ANSWER
Answered 2020-Dec-20 at 13:15TL;DR: That's just how it is.
Long answer: As pointed out in the modified version of the question, I have found out that all queries I've tried are, in fact, FASTER on 8.0 than they are on 5.7 - as it should be be. The only exception seems to be SELECT COUNT(*)
queries, which inexplicably are slower. But given that things are faster overall I can live with that.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install mamp-mysql
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page