Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mariadb is very slow with large database compared to mysql (Drupal 8) #15

Open
Asterovim opened this issue Nov 10, 2022 · 2 comments
Open

Comments

@Asterovim
Copy link

  • Windows 11
  • Ubuntu 22.04.1 LTS (WSL)
  • Lando 3.6.4
  • Docker 20.10.21
  • Drupal 8 (composer)

I have also try with Ubuntu 22.04 (direct install into a fresh computer) and i have the same problem.

Mariadb is very very slow with large database (more than 5gb) and my website is currently unusable.

My .lando.yml :

name: mywebsitename
recipe: drupal8
excludes:
  - dump
config:
  php: "7.3"
  drush: "*"
  via: nginx
  webroot: web
  database: mariadb:10.4
  composer_version: "1.10.17"

If i replace mariadb by mysql :
My .lando.yml :

name: mywebsitename
recipe: drupal8
excludes:
  - dump
config:
  php: "7.3"
  drush: "*"
  via: nginx
  webroot: web
  database: mysql
  composer_version: "1.10.17"

i didn't have any problem with mysql and my website is very fast.

Any idea about this bug with mariadb ?

@rtfm-47 rtfm-47 transferred this issue from lando/lando Nov 10, 2022
@sinnbeck
Copy link

I had some problems with it being slow due to query caching being disabled in the image it uses. After enabling it, it runs great

query_cache_type=1

@pirog
Copy link
Sponsor Member

pirog commented Oct 20, 2023

@reynoldsalec this might be worth investigating?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

4 participants