I have an application which populates a text file with information in CSV format. The problem is, the number of columns for each records should be flexible and it's not constant. I am trying to implement the same datastructure but in MySQL for faster reading and parallel writing from many nodes.
Here is a sample taken from my CSV File
like|love|adore|admire
hate|dislike
revive|resurrect
info|information|pieces of information|data
shoot|snipe|kill|hunt
Each record represents words with the same meaning. Later on, I get the synonyms of a word using that CSV file. For example, I get the synonyms for the word hate
which is dislike
using a function in my application that parses the csv file and outputs the matching words.
What options do I have to do the same implementation approach but using MySQL?