<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Ubirunthan on Medium]]></title>
        <description><![CDATA[Stories by Ubirunthan on Medium]]></description>
        <link>https://medium.com/@ubirunthan77?source=rss-db8742cd8a79------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*3AardYZlK2omO6Xt</url>
            <title>Stories by Ubirunthan on Medium</title>
            <link>https://medium.com/@ubirunthan77?source=rss-db8742cd8a79------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 14:31:23 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ubirunthan77/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[MongoDB]]></title>
            <link>https://medium.com/@ubirunthan77/mongodb-c9ec9989ceb6?source=rss-db8742cd8a79------2</link>
            <guid isPermaLink="false">https://medium.com/p/c9ec9989ceb6</guid>
            <dc:creator><![CDATA[Ubirunthan]]></dc:creator>
            <pubDate>Sun, 12 Jun 2022 08:27:55 GMT</pubDate>
            <atom:updated>2022-06-12T08:27:55.706Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*CR1vgQJTXWdVTK9Lb4R8xw.jpeg" /></figure><h3>In this article, we will discuss NoSQL, the basics of mongoDB</h3><p>What is NoSQL</p><p>NoSQL databases <strong>store data in documents rather than relational tables</strong>. Accordingly, we classify them as “not only SQL” and subdivide them by a variety of flexible data models. Types of NoSQL databases include pure document databases, key-value stores, wide-column databases, and graph databases.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/760/1*aft5e_gFeDW4DQ8tayEsrA.png" /></figure><p><strong>Advantages of NoSQL Databases</strong></p><ul><li>Handle large volumes of data at high speed with a scale-out architecture.</li><li>Store unstructured, semi-structured, or structured data.</li><li>Enable easy updates to schemas and fields.</li><li>Be developer-friendly.</li><li>Take full advantage of the cloud to deliver zero downtime.</li></ul><p><strong>Disadvantages of NoSQL databases</strong></p><ul><li>Not all NoSQL databases contemplate the atomicity of instructions and the integrity of the data. They withstand what’s known as eventual consistency.</li><li>Compatibility issues with SQL instructions. …</li><li>Lack of standardization. …</li><li>Cross-platform support. …</li><li>Poor usability.</li></ul><p><strong>What is MongoDB?</strong></p><p><strong>MongoDB</strong> is a document-oriented NoSQL database used for high volume data storage. Instead of using tables and rows as in the traditional relational databases, MongoDB makes use of collections and documents. Documents consist of key-value pairs which are the basic unit of data in MongoDB. Collections contain sets of documents and function which is the equivalent of relational database tables. MongoDB is a database that came into light around the mid-2000s.</p><h3>MongoDB Features</h3><ol><li>The document structure is more in line with how developers construct their classes and objects in their respective programming languages. Developers will often say that their classes are not rows and columns but have a clear structure with key-value pairs.</li><li>The rows (or documents as called in MongoDB) don’t need to have a schema defined beforehand. Instead, the fields can be created on the fly.</li><li>The data model available within MongoDB allows you to represent hierarchical relationships, store arrays, and other more complex structures more easily.</li><li>Scalability — MongoDB environments are very scalable. Companies across the world have defined clusters with some of them running 100+ nodes with around millions of documents within the database</li></ol><h3>MongoDB Example</h3><p>The below example shows how a document can be modeled in MongoDB.</p><ol><li>The _id field is added by MongoDB to uniquely identify the document in the collection.</li><li>What you can note is that the Order Data (OrderID, Product, and Quantity ) which in RDBMS will normally be stored in a separate table, while in MongoDB it is actually stored as an embedded document in the collection itself. This is one of the key differences in how data is modeled in MongoDB.</li></ol><h3>Key Components of MongoDB Architecture</h3><p>Below are a few of the common terms used in MongoDB</p><ol><li><strong>_id</strong> — This is a field required in every MongoDB document. The _id field represents a unique value in the MongoDB document. The _id field is like the document’s primary key. If you create a new document without an _id field, MongoDB will automatically create the field. So for example, if we see the example of the above customer table, Mongo DB will add a 24 digit unique identifier to each document in the collection.</li></ol><p>_IdCustomerIDCustomerNameOrderID563479cc8a8a4246bd27d78411Guru99111563479cc7a8a4246bd47d78422Trevor Smith222563479cc9a8a4246bd57d78433Nicole333</p><ol><li><strong>Collection</strong> — This is a grouping of MongoDB documents. A collection is the equivalent of a table which is created in any other RDMS such as Oracle or MS SQL. A collection exists within a single database. As seen from the introduction collections don’t enforce any sort of structure.</li><li><strong>Cursor</strong> — This is a pointer to the result set of a query. Clients can iterate through a cursor to retrieve results.</li><li><strong>Database</strong> — This is a container for collections like in RDMS wherein it is a container for tables. Each database gets its own set of files on the file system. A MongoDB server can store multiple databases.</li><li><strong>Document</strong> — A record in a MongoDB collection is basically called a document. The document, in turn, will consist of field name and values.</li><li><strong>Field</strong> — A name-value pair in a document. A document has zero or more fields. Fields are analogous to columns in relational databases.The following diagram shows an example of Fields with Key value pairs. So in the example below CustomerID and 11 is one of the key value pair’s defined in the document.</li></ol><h3>Data Modelling in MongoDB</h3><p>As we have seen from the Introduction section, the data in MongoDB has a flexible schema. Unlike in<a href="https://www.guru99.com/sql.html"> SQL </a>databases, where you must have a table’s schema declared before inserting data, MongoDB’s collections do not enforce document structure. This sort of flexibility is what makes MongoDB so powerful.</p><p>When modeling data in Mongo, keep the following things in mind</p><ol><li>What are the needs of the application — Look at the business needs of the application and see what data and the type of data needed for the application. Based on this, ensure that the structure of the document is decided accordingly.</li><li>What are data retrieval patterns — If you foresee a heavy query usage then consider the use of indexes in your data model to improve the efficiency of queries.</li><li>Are frequent inserts, updates and removals happening in the database? Reconsider the use of indexes or incorporate sharding if required in your data modeling design to improve the efficiency of your overall MongoDB environment.</li></ol><h3>Why use MongoDB</h3><p>Using MongoDB can provide many benefits to a software development team. <strong>Its flexible schema makes it easy to evolve and store data in a way that is easy for programmers to work with</strong>. MongoDB is also built to scale up quickly and supports all the main features of modern databases such as transactions.</p><p>Thank you so much for reading my article and I hope you have a better idea from this article.</p><p>Thank you.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c9ec9989ceb6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[DataBase]]></title>
            <link>https://medium.com/@ubirunthan77/what-is-data-28295c70bb?source=rss-db8742cd8a79------2</link>
            <guid isPermaLink="false">https://medium.com/p/28295c70bb</guid>
            <dc:creator><![CDATA[Ubirunthan]]></dc:creator>
            <pubDate>Sun, 12 Jun 2022 07:55:04 GMT</pubDate>
            <atom:updated>2022-06-12T08:09:46.175Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/580/1*vbPI1YD9MJ_lUNtOLODQig.png" /></figure><h3>What is Data?</h3><p>In simple words, data can be facts related to any object in consideration. For example, your name, age, height, weight, etc. are some data related to you. A picture, image, file, pdf, etc. can also be considered data.</p><h3>What is Database?</h3><p>A database is a systematic collection of data. They support electronic storage and manipulation of data. Databases make data management easy.</p><p>Let us discuss a database example: An online telephone directory uses a database to store data of people, phone numbers, and other contact details. Your electricity service provider uses a database to manage billing, client-related issues, handle fault data, etc.</p><p>Let us also consider Facebook. It needs to store, manipulate, and present data related to members, their friends, member activities, messages, advertisements, and a lot more. We can provide a countless number of examples for the usage of databases.</p><h3>Types of Databases</h3><p>Here are some popular types of databases.</p><h3>Distributed databases:</h3><p>A distributed database is a type of database that has contributions from the common database and information captured by local computers. In this type of database system, the data is not in one place and is distributed at various organizations.</p><h3>Relational databases:</h3><p>This type of database defines database relationships in the form of tables. It is also called Relational DBMS, which is the most popular DBMS type in the market. Database example of the RDBMS system include MySQL, Oracle, and Microsoft SQL Server database.</p><h3>Object-oriented databases:</h3><p>This type of computers database supports the storage of all data types. The data is stored in the form of objects. The objects to be held in the database have attributes and methods that define what to do with the data. PostgreSQL is an example of an object-oriented relational DBMS.</p><h3>Centralized database:</h3><p>It is a centralized location, and users from different backgrounds can access this data. This type of computers databases store application procedures that help users access the data even from a remote location.</p><h3>Open-source databases:</h3><p>This kind of database stored information related to operations. It is mainly used in the field of marketing, employee relations, customer service, of databases.</p><h3>Database Components</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/416/0*PsX7FzZpxjJ5sYqM.jpg" /></figure><p>There are five main components of a database:</p><h3>Hardware:</h3><p>The hardware consists of physical, and electronic devices like computers, I/O devices, storage devices, etc. This offers the interface between computers and real-world systems.</p><h3>Software:</h3><p>This is a set of programs used to manage and control the overall database. This includes the database software itself, the Operating System, the network software used to share the data among users, and the application programs for accessing data in the database.</p><h3>Data:</h3><p>Data is a raw and unorganized fact that is required to be processed to make it meaningful. Data can be simple at the same time unorganized unless it is organized. Generally, data comprises facts, observations, perceptions, numbers, characters, symbols, images, etc.</p><h3>Procedure:</h3><p>A procedure is a set of instructions and rules that help you to use the DBMS. It is designing and running the database using documented methods, which allows you to guide the users who operate and manage it.</p><h3>Database Access Language:</h3><p>Database Access language is used to access the data to and from the database, enter new data, update already existing data, or retrieve required data from DBMS. The user writes some specific commands in a database access language and submits these to the database.</p><h3>Advantages of DBMS</h3><ul><li>DBMS offers a variety of techniques to store &amp; retrieve data.</li><li>DBMS serves as an efficient handler to balance the needs of multiple applications using the same data.</li><li>Uniform administration procedures for data.</li><li>Application programmers never exposed to details of data representation and storage.</li><li>A DBMS uses various powerful functions to store and retrieve data efficiently.</li><li>Offers Data Integrity and Security.</li><li>The DBMS implies integrity constraints to get a high level of protection against prohibited access to data.</li><li>A DBMS schedules concurrent access to the data in such a manner that only one user can access the same data at a time.</li><li>Reduced Application Development Time.</li></ul><h3>Disadvantage of DBMS</h3><p>DBMS may offer plenty of advantages but, it has certain flaws-</p><ul><li>The cost of Hardware and Software of a DBMS is quite high which increases the budget of your organization.</li><li>Most database management systems are often complex systems, so training for users to use the DBMS is required.</li><li>In some organizations, all data is integrated into a single database which can be damaged because of electric failure or the database is corrupted on the storage media.</li><li>Use of the same program at a time by many users sometimes lead to the loss of some data.</li><li>DBMS can’t perform sophisticated calculations.</li></ul><p><strong>Conclusions</strong></p><p>In conclusion, a database is a far more efficient mechanism to store and organize data than spreadsheets, it allows for a centralized facility that can easily be modified and quickly shared among multiple users. Having a web based front end removes the requirement of users having to understand and use a database directly, and allows users to connect from anywhere with an internet connection and a basic web browser. It also allows the possibility of queries to obtain information for various surveys.</p><p>If you have any questions or suggestions, please send me your comment.</p><p>Thank you.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=28295c70bb" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>