Just to expand..........
TDMs is a flat-file database. Basically a data table with a look-up table (by name, index etc) with no relationship between entries .MySQL, Postgres, SQLite et. al. are relational databases.
A simple way to decide which is preferable for your requirements is to think about what questions you want to ask of the DB.
:
If you just need to look up data based on a single criteria, e.g. channel names. Then TDMS..
If you need to ask "open" questions such as "How many", "What has" or "When did". Then relational database.