V
V
Vitaly2017-01-02 10:59:48
MongoDB
Vitaly, 2017-01-02 10:59:48

How to set path to mongodb database?

I would like to store files with the database not in the Mongi directory, but each in the folder of its application. Is it possible to specify a separate path for each database?
And immediately the question is off topic: what are the restrictions on the size of the database / collection for 2017?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
L
lega, 2017-01-02
@vitali1995

Run a separate mongo instance with a local directory. Although it is better to use docker for this.

M
malbaron, 2017-01-02
@malbaron

About Mongo limits:
g.zeos.in/?q=MongoDB%20limits

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question