Some times we need to take backups or we need to copy databases to another server for administrative purposes. But sometimes just copying files is not enough. In MongoDB Shell, they support to copy the database from remote instance to the current one with a single command. ( :D Just like Single Click in Windows )For this demo, I made ...
I really suffered while using MongoDB Shell because auto completing was not there. I was very hard to type collection and database names correctly. I wished IntelliSense to get into there. I’m tough Microsoft User. Because of that I love IntelliSense a lot. And there was no any other solution to me to make done MongoDB things easier. Because available ...
For some cases we may have access to database instance of MongoDB as DBA. But we may not have access to Linux or Windows box to shutdown the MongoDB service or MongoDB instance. To Shutdown the MongoDB instance you should be able to log in to “admin” database. If your MongoDB instance is running with “auth” mode you really need ...
Some times we need to take backups or we need to copy databases to another servers for administrative purposes. But sometimes just copying files is not enough. In MongoDB Shell they support to copy database from remote instance to current one with a single command. ( Just like Single Click in Windows ) For this demo I made alive two ...
If you are new to MongoDB you may need to discover the databases and collections (basically objects) on your MongoDB instance. For this easily you can use a GUI tool like MongoVUE. But in this blog post, I’m not going to describe GUI tools. I’m going to explain about MongoShell to navigate through database objects.I can remember the first day ...
If you are new to MongoDB you may need to discover the databases and collections (basically objects) on your MongoDB instance. For this easily you can use a GUI tool like MongoVUE. But in this blog post, I’m not going to describe GUI tools. I’m going to explain about MongoShell to navigate through database objects.I can remember the first day ...
If you are new to MongoDB you may need to discover the databases and collections (basically objects) on your MongoDB instance. For this easily you can use a GUI tool like MongoVUE. But in this blog post I’m not going to describe about GUI tools. I’m going to explain about MongoShell to navigate through database objects. I can remember the ...
In SQLCMD and Powershell I wanted to take the list of databases. In MySQL “show databases” command was there. But in SQLCMD I was unable to find such a command.--Stored ProcedureEXEC sp_databasesGO --SELECT StatementSELECT Name FROM master.dbo.sysdatabasesGO You can use the above commands in SSMS (if you are lazy to move your mouse to object explorer) and SQLCMD. Also, you ...
In SQLCMD and Powershell I wanted to take the list of databases. In MySQL “show databases” command was there. But in SQLCMD I was unable to find such a command.--Stored ProcedureEXEC sp_databasesGO --SELECT StatementSELECT Name FROM master.dbo.sysdatabasesGO You can use the above commands in SSMS (if you are lazy to move your mouse to object explorer) and SQLCMD. Also, you ...
In SQLCMD and Powershell I wanted to take the list of databases. In MySQL “show databases” command was there. But in SQLCMD I was unable to find such a command. --Stored Procedure EXEC sp_databasesGO --SELECT Statement SELECT Name FROM master.dbo.sysdatabasesGO You can use above commands in SSMS (if you are lazy to move your mouse to object explorer) and SQLCMD. ...
If you have so many documents in your collection in MongoDB database. Sometimes you may want to retrieve a few documents. But if we run find() we can't have nice output. You may need to have a nice indentation and line breaks. You may want results in a more readable way. Then you can use pretty().Who can read this??If you use pretty() you can take nice output with Mongo Shell.
If you have so many documents in your collection in MongoDB database. Sometimes you may want to retrieve a few documents. But if we run find() we can't have nice output. You may need to have a nice indentation and line breaks. You may want results in a more readable way. Then you can use pretty().Who can read this??If you use pretty() you can take nice output with Mongo Shell.
If you have so many documents in your collection in MongoDB database. Sometimes you may want to retrieve few documents. But if we run find() we cant have nice output. You may need to have nice indentation and line breaks. You may want results in more readable way. Then you can use pretty(). Who can read this?? If you use pretty() you can take nice output with Mongo Shell.
Secret Messages!! I was always amazed by secret messages and Cryptography is the science applied for this. Modern cryptography has gone to a high standard as it’s bonded with mathematics, computer science and electrical engineering. I thought of giving a basic idea about classic cryptography for a change.There are three methods in classic cryptography. concealed messages (Steganography) – These hidden ...
At the first date I heard about NoSQL DBMS, I felt insane. Then I got eager to learn. But I didn’t pay any attention to learn. Later I got to know that MongoDB is a scalable one. Then I got a chance to follow free MongoDB course. Although I registered to both Developer and DBA courses I had no time ...
At the first date I heard about NoSQL DBMS, I felt insane. Then I got eager to learn. But I didn’t pay any attention to learn. Later I got to know that MongoDB is a scalable one. Then I got a chance to follow free MongoDB course. Although I registered to both Developer and DBA courses I had no time ...
At the first date I heard about NoSQL DBMS, I felt insane. Then I got an eager to learn. But I didn’t pay any attention to learn. Later I got to know that MongoDB is a scalable one. Then I got a chance to follow free MongoDB course. Although I registered to both Developer and DBA courses I had no ...