Posts

MongoDB basics and cluster administration

Image
     Introduction We might be so strong and familiar with things while learning. But when we want to put that in practice, we just need a quick reference for confirmation. Been there ? This blog will be a quick brush up on few concepts about MongoDB basics and cluster administration.  Overview In Mongo, the database is referred as  namespace , which stores  collections (tables). The collections store individual record called  documents . We can establish security at various levels. We can either authorize at database level or collection level, but document level authorization is not supported. Schema - Provides list of fields, datatype, summary for range of values for each fields. Can be defined using JSON schema. For detailed overview on schema check  MongoDB schemas . Supported datatypes are String, Integer, Boolean, Double, Min/Max keys, Arrays, Timestamp, Object, Null, Symbol, Date, Object ID, Binary data, Code and Regular expressions. Frequen...