K
K
kharisergey2016-01-23 00:14:43
Database
kharisergey, 2016-01-23 00:14:43

In which database to store large volumes of video?

Hello.
An online video surveillance system is being developed for a secure enterprise. Made as a web portal based on NodeJs in conjunction with licode. Attached to it is another document flow related to the work of security (delivery of shifts, signing protocols, registers, etc.). The document flow is quite small - about 500 thousand documents per year (PDF, mostly), but the video takes up a huge amount of space, because. according to the TK, it must be stored for 1 year. The question arose of which database to choose for the project. The developer insists on PostgreSQL. I read the forums, they praise MongoDB.
Tell me if, in terms of document management, the database will not be loaded at all, in fact, but the video will be stored for tens of terabytes, then will Postgre pull it? Or maybe bring all the functionality of the portal and workflow to Postgre, and put the video separately in Mongo?
I would be grateful for any advice.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dimonchik, 2016-01-23
@dimonchik2013

pull, of course,
you yourself will not store video files in the database

Сергей Протько, 2016-01-23
@Fesor

там хранили в GridFS а не именно в базе, которая в монге позволяет сделать что-то типа распределенного файлового хранилища. Однако я бы не рекомендовал его использовать так как есть более удобные способы организовать хранение файлов на диске. База данных тут не особо влияет.
Если у вас нет экспертизы в этом вопросе, доверьтесь разработчику. MongoDB очень хорошо распиарена и не более, PostgreSQL намного более надежная база данных.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question