jorainer / ensembldb

This is the ensembldb development repository.
https://jorainer.github.io/ensembldb
33 stars 10 forks source link

Improve MySQL performance #83

Closed jorainer closed 5 years ago

jorainer commented 5 years ago

Using EnsDb databases in a MySQL server has currently some performance issues. The reason are the indices and identifiers that are character. SQLite has no problem with that, MySQL struggles when it comes to join tables.

Needed changes:

Why not introducing internal IDs also for the SQLite backend: no performance difference between character and integer-based indices/columns in SQLite. Including them would only blow the database up.