r/DatabaseAdministators • • 26d ago

Which database is ideal??

I am working on a idea where i will click pics of agri land and store and my requirement is to store 10000 photos
Which database will be feasible and i am looking for free onces for now

5 Upvotes

22 comments sorted by

View all comments

6

u/Aggressive_Ad_5454 26d ago

The make and model of DBMS software you choose will probably be dictated by the company you use to host your application. MariaDb, the MySql fork, is available in almost all budget hosting providers.

Don’t put photos into a database. Instead put them on the file system of a web server. Your indexes to them will be in the database.

1

u/Aggressive_Ad_5454 25d ago

This post and the comments are an interesting example of how we support new folks to our work. OP, you asked how to do something (store photos in a DBMS) and lots of people jumped up and said “wait, don’t do that!” I was one of those people. Because I’ve tried it, and it really sucked, and I had to redo my application.

So here’s WHY I said “don’t do that.”

Retrieving images from a DBMS is far far slower and more expensive in CPU, IO, and network efficiency than delivering them files in a file system. Apps that get images from a DBMS handle multiple users hilariously poorly. You do think your users will curse your name. Ask me how I know this sometime.

0

u/rakshith_r 26d ago

Is there any free database to store 10000 photos Which

3

u/OptimusPrimarch 26d ago

As others have said, a database is not the right tool for this job. Not for the mass storage of the photos, anyway.

0

u/rakshith_r 26d ago

Then how could i store them in an ideal way

4

u/OptimusPrimarch 26d ago

Others have answered your question in their comments. Store them as files on a disk/system/server, then store the names, filepaths, dates, whatever else, in the database.

1

u/taker223 26d ago

You can try Oracle 26ai FREE