Skip to content

Conversation

iliaross
Copy link
Collaborator

Hey Jamie!

This PR will optimize getting table index structure on the huge databases.

It was tested with TikiWiki database which over 400 tables and indexes.

The performace boost is around 500%.

@iliaross
Copy link
Collaborator Author

@marclaporte Thanks for reporting this issue in the first place.

If you have Webmin 2.200+ installed, you can apply this patch to run tests as simply as:

webmin patch https://github.com/webmin/webmin/commit/b03f1

To be clear, for me, the load time dropped from 9.5 seconds to 1.5 seconds.

@marclaporte
Copy link
Contributor

huge databases.

It was tested with TikiWiki database which over 400 tables and indexes.

Yes, Tiki is good to push limits :-)

All Tiki's features are built-in, so it's big on a fresh install (mostly empty tables) but the number of tables doesn't grow after. It's quite the opposite model to other plugin/module centric systems like WordPress/Drupal/Joomla!/...

@iliaross
Copy link
Collaborator Author

Marc, did you manage to apply the patch and see how much faster it gets for you?

@marclaporte
Copy link
Contributor

marclaporte commented Jul 26, 2024

@iliaross I didn't try yet, but I am sure it's going to be great now!

@jcameron jcameron merged commit c51cc8f into master Jul 26, 2024
@iliaross iliaross deleted the dev/mysql-improve-operations-with-large-dbs branch July 26, 2024 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants