I
I
Ivan Yakushenko2019-03-29 20:05:10
Python
Ivan Yakushenko, 2019-03-29 20:05:10

Does CSV make sense with a large amount of data?

For example, there are several tens of thousands of lines, each of which has cells like 'title', 'description', 'name', 'year' and others.
Does it make sense to store this in CSV for further use of this data? They will not be processed and changed, only some columns will be read by key.
Or is it better to use a database like MySQL?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
sim3x, 2019-03-29
@kshnkvn

It makes sense, especially if it's good to zip the file
It makes sense to store it in postgres if there is an active selection, filtering, etc.

tens of thousands of lines
are not large

R
Roman Mirilaczvili, 2019-03-30
@2ord

CSV is good as a data transport mechanism. For example, upload a database dump somewhere, some kind of report, etc. It is more compact than JSON for tabular data.
And it is better to store the data in a DBMS. This is a good case for using SQLite.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question