Anonymous Asked in Cars &Transportation · 2 weeks ago

Is it better to store images in database or filesystem?

Generally databases are best for data and the file system is best for files. It depends what you're planning to do with the image though. If you're storing images for a web page then it's best to store them as a file on the server. The web server will very quickly find an image file and send it to a visitor. 3 янв. 2016 г.


Is it good idea to store image in database?

Storing images in a database table is not recommended. There are too many disadvantages to this approach. Storing the image data in the table requires the database server to process and traffic huge amounts of data that could be better spent on processing it is best suited to.

Which database is best for storing images?

There are basically two types SQL and NoSQL. I would suggest go for NoSQL for storing large data of videos and images. Encrypt these data and save in database and since NoSQL is much faster than SQL, so data is fetched very fast. So mongodb is best according to me.

Which is better database or file system?

Database Management System is basically software that manages the collection of related data. It is used for storing data and retrieving the data effectively when it is needed. ... Difference between File System and DBMS:BasisFile SystemDBMSQuery processingThere is no efficient query processing in the file system.Efficient query processing is there in DBMS.

Why is storing images in database bad?

The problem with storing only filepaths to images in a database is that the database's integrity can no longer be forced. If the actual image pointed to by the filepath becomes unavailable, the database unwittingly has an integrity error.

Related Questions

Relevance
Write us your question, the answer will be received in 24 hours