-
Notifications
You must be signed in to change notification settings - Fork 8
New data structure #63
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
base: develop
Are you sure you want to change the base?
Conversation
|
Test on Playground |
|
I have tested migrating data with 52707 tracked options, all were migrated in single page load without any issues. |
|
I have done a few more tests here and made a few adjustments. Based on the tests I have further improved the migration with:
This should be enough to handle migration even on the slowest hosts. One thing to note is that SQLite works noticeably slower than MySQL, which is understandable but with larger data sets (on my local extremely larger) it might fail to load results for some tables. I think this is an edge case, but if we do get related reports then we would need to refactor endpoints (most likely The refactor should go into direction of replacing loading all tracked and autoloaded options with a custom MySQL query (couple of JOIN statements most likely), so the filtering (heavy lifting part) is done on the DB level instead by PHP. |

Spin off from #61, custom DB table to store tracked options.