AB-348: Make the musicbrainz import more efficient #281
paramsingh left a comment
Let's add more documentation as to what parameters these functions take.
This looks okay to me, but we still need to spend some time finding inefficiencies and removing them.
Data import was pretty fast, but data insertion was taking much time as there were a lot of duplications in the data fetched from many tables. So, I have again included the DISTINCT keyword in the queries. And also improved some queries to get all the data from MusicBrainz db as the number of rows in some tables are less than 20.
…emove distinct from query
… query for gender function