D
D
dmasloff2021-06-30 00:37:55
SQLite
dmasloff, 2021-06-30 00:37:55

What is the best way to store large lists in SQLite?

Tell me, how is it better to store a long list of lines of 10-20 characters in a SQLite database (some reach a length of about 1500 such lines) as a BLOB object, or is it better to create a second table in the database and systematize it inside it by linking both tables?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vasily Bannikov, 2021-06-30
@vabka

Depends on how you are going to work with this data.
If they are always stupidly read as a whole, then it is possible in blobs.
If they participate in WHERE, or sometimes it is necessary to pull out only a part, then it is better to a new table

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question