Can you give me the difference between duplication and replication? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 8

Can you give me the difference between duplication and replication?

I m working now on mongoDB and I should get this concept

7th May 2017, 9:31 AM
Said BAHAOUARY
Said BAHAOUARY - avatar
7 Answers
+ 2
At your request, Consider a REPLICATION like an exact copy of some thing. For example a painting or a fake item that looks like the original one. But perhaps you could tell me what you try to do. This way I could perhaps give you a more definitive answer or example.
7th May 2017, 10:57 AM
🇺🇸 Anatoli🇧🇪🇪🇺 ,
🇺🇸 Anatoli🇧🇪🇪🇺 , - avatar
+ 8
thank you all I think it's a little bit more obvious now. @Annatoli can you give an other example for replication ? I found this it may be helpful : Database duplication generally refers to restoring a physical backup of a database to a different server (preferably using RMAN). That is normally done periodically to refresh lower environments from production. Database replication generally refers to the process of copying a subset of data from one database to another on an ongoing basis. Replication generally implies that the data is being copied from one production database to another production database (or a test database to a test database, etc.)
7th May 2017, 10:51 AM
Said BAHAOUARY
Said BAHAOUARY - avatar
+ 8
Ok. I m just get started learning mongoDB and I found they use the term of replication and high availability. so I need to know the mean difference between duplication and replication to clarify my research. thank a lot for your assistance @Annotali. it's clear right now
7th May 2017, 11:06 AM
Said BAHAOUARY
Said BAHAOUARY - avatar
+ 7
thank you @seamiki :)
7th May 2017, 10:11 AM
Said BAHAOUARY
Said BAHAOUARY - avatar
+ 3
Sql replication means syncing of data on multiple databases. I'm not sure about duplication but I guess creating a copy of a db without taking care of data sync.
7th May 2017, 10:01 AM
seamiki
seamiki - avatar
+ 2
Said, I need to correct myself. As you speak from DB environment then it shoukd be different in this way : Duplication : Make a copy of a RECORD or a DATABASE of your choice. Replication : In this case will REARANGE an INDEX of your DB so searching for a record will be faster then if the DATABASE remains NOT INDEXED. I hope my previous answer will not confuse you much even considering the example used it is correct too.
7th May 2017, 11:16 AM
🇺🇸 Anatoli🇧🇪🇪🇺 ,
🇺🇸 Anatoli🇧🇪🇪🇺 , - avatar
0
Replication is simply the repetitive action of a same array or coloms of information, while duplication means that each time an array is produced for example each result is identical to the first one. Lets put it in clear perspective : DUPLICATION = make an exact copy of the information provided. REPLICATION = if you generate a random number sequence without the inclusion of an exact random generated algorithm, you will get the same results eachbtime youbrun your random generator with the same seed.
7th May 2017, 10:38 AM
🇺🇸 Anatoli🇧🇪🇪🇺 ,
🇺🇸 Anatoli🇧🇪🇪🇺 , - avatar