Runtime Database Configuration
414 views
Oct 24, 2024
Runtime Database Configuration Watch more Videos at https://www.tutorialspoint.com/videotutorials/index.htm Lecture By: Mr. Arnab Chakraborty, Tutorials Point India Private Limited
View Video Transcript
0:00
In this video we are discussing runtime database configuration
0:05
So this runtime database configuration can be done in two different ways, either using
0:10
common line or using configuration files. So let us go for further discussion on it
0:18
So the runtime configuration can be done either by using the command line method or by using
0:24
the configuration files. So configuration files means we'll be having some set of configuration files
0:29
the help of which you can do the respective runtime database configurations
0:35
So, MongoDB uses the init script to initialize the configuration settings while it starts
0:42
So, that means this is the init script, that is the initialization script
0:46
So, init script is there to initialize the configuration settings when it will start
0:52
We can set the configuration files by using this command. So that is the MongoD, then we're having the options
0:59
slash ETC slash MongoD.com. So, this is a configuration file name. Another one is the MongoD
1:06
minus F the option is there, then slash ETC slash MongoD.com. So these are the configuration
1:14
files with the help of which we can do runtime database configuration. Now the questions
1:20
are coming in mind that what are the different sections which will be deciding in this configuration
1:26
files So let us go for that case study In the configuration files there are mainly three sections three parts are there The first one is the database configuration next one is the security consideration and the
1:40
last one is the replication and sharding configuration. So, first one is the database configuration
1:46
So let us have some discussion on it. In this section, the database path, file destination, the IP port, all information are probably
1:55
are provided to set the configuration. So, in the database configuration section, we are having multiple detail
2:03
So, there are the file destination, the IP, the port, the all information are provided
2:08
for the configuration purpose. Next one is the security consideration. Security related data and authorization information are stored here
2:17
So, what are the different authorization permissions are given to multiple different
2:22
users so all those details and security related data will be kept in this security consideration
2:29
Let us go for the last part. That is a replication and sharding configuration
2:35
Here the information about the number of replications, that means how many number of
2:39
replications we are allowing and sharding information, how the data will get the database
2:45
will get divided into multiple different chunks in different shards and locations, ports are defined
2:51
in this replication and sharding configuration part. So these are the main three sections and parts in the configuration file
3:01
Thanks for watching this video
#Programming