umami v2 converted numeric IDs to VARCHAR(36) on MySQL (bad idea?) #2013
juangacovas
started this conversation in
General
Replies: 1 comment 2 replies
-
The new data structure uses UUIDs (like postgres) as |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Loving version 2 after migrating, but noticed that some sites with +2M hits started to give errors when loading stats.
Queries would take some seconds on v1 but longer and longer under v2, hitting errors (unable to load). Even trying to delete or reset website data hangs. My setup is MariaDB 10.11.2
Then noticed the table structured changed numeric INTs for VARCHAR(36) on all ID columns! Properly indexed but... perhaps this is fine in PostgreSQL with special columns that are internally numeric, but... really? IDs should be numeric for performance
Any thoughts?
Beta Was this translation helpful? Give feedback.
All reactions