My database is a standalone database, which does not hold replication of data.
But when I check the size of the database it shows contradicting information.
Using show databases tells me that my database is of 3.042GB size.
But using db.stats() on the same database shows a data size of 11.31GB.
I am also attaching screenshots to validate the conditions I have explained.
If the data is really getting replicated even if the instance is a standalone instance then How can I use those replicated nodes as my secondary nodes?
Will changing my standalone instance’s status to replica set help me useing those secondary nodes?