I
I
Ivan Antonov2015-04-23 12:41:59
Database
Ivan Antonov, 2015-04-23 12:41:59

Do I need to create a table in the database for files?

Store in a table: folder name, file name, file type, file size, file dimensions. Does it make sense to store this information in a separate table, since they can be obtained by querying the file system?
In other tables, store only the ID per field in the file table.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
denis_koronets, 2015-04-23
@antonowano

I think it makes sense to store them in the database when you need the maximum performance of a web application (highload), otherwise I don’t see a particular need for this.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question