Closed behroozomidvar closed 3 years ago
@behroozomidvar according to "DeepFace" documentation, to be able to apply face recognition we have to pass the path of the directory where we stored our images. By having in this mind, I wonder if we really need a DBMS. What is your opinion (or solution) in this regard?
DBs are not only for storing images but also for user sessions and login info. Also, image meta-data is not limited to its address but we might want to enrich it with other stuff as well. Anyhow DBs are not necessary for short-scale projects, and they're inevitable for medium to large ones.
@behroozomidvar according to our needs, a single tabular DBMS can fulfill us. In other words, I think we won't need NoSQL DBMSs.
@behroozomidvar after a brief search, I found out that PostgreSQL
can be one of our probable choices, cause:
JSON
which can simplify our further works in many termsMariaDB
which fairly fast and stable.I've worked with Postgres
before, and I'll definitely approve. Not sure about MariaDB
.
Also, have you checked MySQL
and SQLite
options?
@behroozomidvar that's great!
I've also worked with SQLite
, but I really adore trying new stuff, but it's a good choice.
Frankly, I didn't check MySQL
because among all the DBMSs I checked I found Postgres
much interesting and handy so I didn't keep on searching.
It makes perfect sense @behzadshomali. Hands down when it comes to Postgres
. The two others are often synonyms to fast or dirty coding. Hence let's go with the former.
In terms of DB attributes I found following properties but I'm sure that these are not all the attributes we should care about:
@behroozomidvar what's your opinion? what other attributes should be considered?
Let's play incremental. For now, all is good. 👍