Tuesday, June 25, 2019


Mongo Database  Installation on linux OS and configuration file option for startup 

This is one of the best document database I am using since last six years . I started my journey with Mongo version 2.6 and  now we reached version 4.  If you have worked on any relational database before then this  will be one of the easiest database to manage and administer .

Since I started using Mongo it has changed lot , Mongo team is making this database similar to Oracle.

As in Oracle we are using pfile ( parameter file ) here we are using configuration file which includes the basic parameter like db data path , port on which mongo db is listening  this config file uses YAML format so be careful about spaces and tabs(not supported)  while editing the config file .

Here I am giving some simple things to start with Mongo DB


Mongo DB installation .

Down load the mongo DB binary file as per your OS release . Simply unzip it after downloading to the directory you have created for it  as an eg . /db/data/MongoInstanceName

Edit the configuration file and add all the parameters like

net :
    port : 27017   (defauly port but you can use different port) 
storage:
    dbPath: /db/data/MongoInstanceName
    journal:
      enabled:true     ==>  This one is same like redo log of oracle , mongo will write ahead logging                                    the changes to journal files.
   engine: "wiredTiger"
      wiredTiger:   
processManagement:
     fork: true   ==> so will run the mongo process in background 
security:
     authorization: enabled   ==> This is for secured login if enabled will ask username and password
systemLog:
    destination: file
    path: "/db/data/log/mongod.log"


That's it and you are ready to start using mongo db .




Saturday, June 01, 2019

Future of Oracle RDBMS



Oracle is in the market since last four decades and still running fine without much loss .
But days are here Amazon has changed everything you go to market place and like buying vegetables you have options to choose DB's . This is warning for Oracle as most of the customer are going away from Oracle and moving towards lucrative business of Amazon.

Once a time  Oracle was the leader in RDBMS  but looks like near future this position is going to slip away from Oracle . The reason behind is too much excessive licensing cost for Oracle products .

No doubt Oracle produces stands out in database market but  business leaders think on price and that's  the point where Oracle loosing its base . If you are getting all the features in Postgres RDBMS why one will  go to expensive software of Oracle .

No doubt I still love to work on Oracle database , its fun to work with Oracle databases .
Oracle decades long experience give you the feeling superiority than other databases .

Another database is picking up and that is Mongo DB , this one is no SQL database and easy to manage  and lots of features as document database .

Who ever has worked on Mongo db must have enjoyed it , as it comes with at rest encryption , replication , sharding  and that's why in less time its been used heavily in the industry .

Thursday, October 18, 2012

What you feel from the political happenings in the country , How can we believe any party when the opposition and ruling party going hand in hand and making scams . Now a days  I think we are used to such scams even I feel peoples reading these stories just as an ascertainment. But then how are we going to bring the change which will stop all this .Only JanLok Pal will not solve all the issues , we need stricter rules which are there in western countries but for that also we need to start from grass root . Start applying strict fines like who ever is breaking  traffic rules or any rules  and also who ever is trying to give bribes . Bribe is the main thing which is cause everything . Maintain  history of fines and failures to follow the rules so history of that person can be tracked and more severe  punishment can be given to him . Step by step we need to follows these tactics any way we cant bring the revolution in one day . So we have to go slowly and watch the out comes of these reforms . Western countries also not got this things in one day.