Question: why sql instead of csv?
Answer: There are a couple ways an SQL database can perform faster than CSV files. Caching. RAM is far faster than accessing the file system. An SQL database will keep a lot of its data in RAM and read from file system only when necessary.