Terminology and Concepts
If you're not familiar with MongoDB, here's a quick translation cheat sheet to get you familiar with the terminology.
| SQL Server | MongoDB |
| Database | Database |
| Table | Collection |
| Index | Index |
| Row | Document |
| Column | Field |
| Joining | Linking & Embedding |
| Partition | Sharding (Range Partition) |
| Replication | ReplSet |
|
RDMS |
MongoDB |
|
Database |
Database |
|
Table |
Collection |
|
Row/Tuple |
Document |
|
Column/Attribute/Variable |
Field |
|
Table Join |
Embedded Documents |
|
Primary Key |
Primary Key(Default
key _id provided b mongodb itself) |
|
Database Server and client |
|
|
Myqsld/Oracle |
Mongod |
|
Mysql/sqlplus |
mongo |
In Mongodb Primary key is mandatory and _id is the field which used for primary key. In RDBMS we can have table with out primary key
Default port fro mongodb is 27017
To start mongodb server use the below command . Below command will have the data path mentioned
mongod -dpath c:\pavan\custom_data
No comments:
Post a Comment