<?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 Kavishka Gavindi on Medium]]></title>
        <description><![CDATA[Stories by Kavishka Gavindi on Medium]]></description>
        <link>https://medium.com/@kaviliyanwala?source=rss-140b3452dbb5------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*LV-D5Tf5YnWciOur9RMuyg.jpeg</url>
            <title>Stories by Kavishka Gavindi on Medium</title>
            <link>https://medium.com/@kaviliyanwala?source=rss-140b3452dbb5------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 10:56:13 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@kaviliyanwala/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[7 Types Of Keys in DBMS:]]></title>
            <link>https://medium.com/@kaviliyanwala/7-types-of-keys-in-dbms-7ae5024425c6?source=rss-140b3452dbb5------2</link>
            <guid isPermaLink="false">https://medium.com/p/7ae5024425c6</guid>
            <category><![CDATA[types-of-keys-in-dbms]]></category>
            <dc:creator><![CDATA[Kavishka Gavindi]]></dc:creator>
            <pubDate>Fri, 22 Sep 2023 16:30:31 GMT</pubDate>
            <atom:updated>2023-09-22T16:30:31.479Z</atom:updated>
            <content:encoded><![CDATA[<p>The key in DBMS are one of the basic requirements of a relational database model. Keys are used to establish relationships between the different tables and columns of a relational database is widely used to identify the tuples(rows) uniquely in the table. Individual values in a key are called key values.</p><p>There are 7 main type of keys in relational model :-</p><p><strong>1. Primary Key</strong></p><p><strong>2. Candidate Key</strong></p><p><strong>3. Composite key</strong></p><p><strong>4. Super Key</strong></p><p><strong>5. Foreign Key</strong></p><p><strong>6. Alternate Key</strong></p><p><strong>7. Unique Key</strong></p><h3><strong>1. Primary Key</strong></h3><p>Primary key is a set of attributes (or attribute) which uniquely identify the tuples in relation or table. The primary key is a minimal super key, sothere is only one primary key in any relationship.</p><ul><li>A primary key is a unique identifier for each record (row) in a table.</li><li>It ensures that there are no duplicate rows in the table.</li><li>Every table should have a primary key.</li><li>It can consist of one or more columns.</li><li>A primary key column cannot contain NULL values.</li></ul><p>example:-</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*34XBRytvtrvfc43tNy4v-Q.png" /></figure><h3><strong>2. Candidate Key</strong></h3><p>s a set of attributes (or attribute) which uniquely identify the tuples in relation or table. As we know that Primary key is a minimal super key, so there is one and only one primary key in any relationship but there is more than one candidate key can take place. Candidate key’s attributes can contain a NULL value which opposes to the primary key.</p><p>· A candidate key is a column or set of columns that can potentially be used as the primary key.</p><p>· It satisfies the uniqueness and non-null requirements.</p><p>· A table may have multiple candidate keys.</p><p>example:-</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/819/1*_Ko_BOdAB1by5AohBZPFOA.jpeg" /></figure><h3><strong>3. Composite key</strong></h3><p>a table might not have a single column/attribute that uniquely identifies all the records of a table. To uniquely identify rows of a table, a combination of two or more columns/attributes can be used. It still can give duplicate values in rare cases. So, we need to find the optimal set of attributes that can uniquely identify rows in a table.</p><p>· A composite key is a primary key that consists of more than one column.</p><p>· Together, these columns uniquely identify records, but individually they may not.</p><p>example:-</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/321/1*1iTxGN-t8a_KQFvCoUhzzg.jpeg" /></figure><h3><strong>4. Super Key</strong></h3><p>The set of attributes that can uniquely identify a tuple is known as Super Key. . A super key is a group of single or multiple keys that identifies rows in a table. It supports NULL values.</p><p>· A super key is a set of one or more columns that can be used to uniquely identify records in a table.</p><p>· It may contain more columns than necessary to form a minimal super key.</p><p>· Super keys are used primarily for theoretical discussions and are not typically used as primary keys in practice.</p><p>example:-</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/715/1*_62hOon5mEZLdq-SXTQVxg.jpeg" /></figure><h3><strong>5. Foreign Key</strong></h3><p>· A foreign key is a column or set of columns in one table that refers to the primary key of another table.</p><p>· It establishes relationships between tables and enforces referential integrity.</p><p>· It ensures that the values in the foreign key column(s) match the values in the primary key of the referenced table.</p><p>example:-</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*A3KK89By-Z8X8-Uzw3w3xg.png" /></figure><h3><strong>6. Alternate Key</strong></h3><p>The candidate key other than the primary key is called an alternate key.</p><p>· An alternate key is a candidate key that was not chosen as the primary key.</p><p>· It can be used to uniquely identify records but is not the primary means of identification.</p><h3><strong>7. Unique Key</strong></h3><ul><li>A unique key is a constraint that enforces uniqueness on a column or set of columns.</li><li>It allows NULL values but ensures that non-NULL values are unique.</li></ul><h3>Summary of keys in DBMS:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*UTBQ00U28VIH_iuzC8noGQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7ae5024425c6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Big Data:]]></title>
            <link>https://medium.com/@kaviliyanwala/big-data-dc2d76461c8c?source=rss-140b3452dbb5------2</link>
            <guid isPermaLink="false">https://medium.com/p/dc2d76461c8c</guid>
            <category><![CDATA[big-data]]></category>
            <dc:creator><![CDATA[Kavishka Gavindi]]></dc:creator>
            <pubDate>Mon, 21 Aug 2023 12:11:31 GMT</pubDate>
            <atom:updated>2023-08-21T14:09:20.750Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/982/1*Ug_e1TEwtbvrHjIFQ7TJFA.png" /></figure><p>Big Data refers to extremely large and complex data sets that are too large to be easily processed and analyzed using traditional data processing methods. These data sets can come from various sources such as social media, sensors, devices, transactions, and more.</p><h3><strong>Types of Big Data</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/275/1*U1qBhEPS2fgIGtOJF-ZPiA.jpeg" /><figcaption>types of big data</figcaption></figure><ul><li><strong>Structured big data:</strong> It is highly organized and follows a pre-defined schema or format. It is typically stored in spreadsheets or relational databases. Each data element has a specific data type and is associated with predefined fields and tables. Structured data is characterized by its consistency and uniformity, which makes it easier to query, analyze and process using traditional database management systems.</li><li><strong>Unstructured big data:</strong> It does not have a predefined structure and may or may not establish clear relationships between different data entities. Identifying patterns, sentiments, relationships, and relevant information within unstructured data typically requires advanced AI tools such as natural language processing(NLP), natural language understanding(NLU), and computer vision.</li><li><strong>Semi-structured big data:</strong> contains elements of both structured and unstructured data. It possesses a partial organizational structure, such as XML or JSON files, and may include log files, sensor data with timestamps, and metadata.</li></ul><h3><strong>Examples and Application of Big Data in Real Life</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/589/1*dRkzyj5jKiyp6S08CMQdSA.png" /><figcaption>applications of big data</figcaption></figure><p>Big data applications can help companies to make better business decisions by analyzing large volumes of data and discovering hidden patterns. These data sets might be from social media, data captured by sensors, website logs, customer feedbacks, etc.</p><p>Now a day’s companies use Big Data to make business more informative and allows to take business decisions by enabling data scientists, analytical modelers and other professionals to analyses large volume of transactional data. Big data is the valuable and powerful fuel that drives large IT industries of the 21st century. Big data is a spreading technology used in each business sector.</p><ol><li><strong>Marketing: forecast customer behavior and product strategies.</strong></li></ol><p>· Amazon</p><p>· McDonald’s</p><p>· Oracle</p><p>· Splunk Technology</p><p>2. <strong>Transportation: assist in GPS navigation, traffic and weather alerts.</strong></p><p>· Uber</p><p>· Vizion</p><p>· Fourkites</p><p>3. <strong>Government and public administration: track tax, defense and public health data.</strong></p><p>· RapidDeploy</p><p>· RapidSOS</p><p>4.<strong> Business: streamline management operations and optimize costs.</strong></p><p>· Netflix</p><p>· Forge</p><p>· Skupos</p><p>· Salesforce</p><p>5.<strong> Healthcare: access medical records and accelerate treatment development.</strong></p><p>· Tempus</p><p>· SOPHiA GENETICS</p><p>· Innoplexus</p><p>6. <strong>Cybersecurity: detect system vulnerabilities and cyber threats.</strong></p><p>· Exabeam</p><p>· Splunk</p><p>· OwnBackup</p><p>· Arista Neyworks</p><p>· Exterro Inc.</p><h3><strong>Characteristics of Big Data</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/850/1*atrsJVnNpQE_KyIPsP25IA.png" /></figure><h3><strong>Importance of Big Data</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/802/0*-hPREuKLhQ_0liRT.jpg" /><figcaption>importance of big data</figcaption></figure><h4>1. Cost Savings</h4><p>Big Data tools like Apache Hadoop, Spark, etc. bring cost-saving benefits to businesses when they have to store large amounts of data. These tools help organizations in identifying more effective ways of doing business.</p><h4>2. Time-Saving</h4><p>Real-time in-memory analytics helps companies to collect data from various sources. Tools like Hadoop help them to analyze data immediately thus helping in making quick decisions based on the learnings.</p><h4>3. Social Media Listening</h4><p>Companies can perform sentiment analysis using Big Data tools. These enable them to get feedback about their company, that is, who is saying what about the company.</p><p>Companies can use Big data tools to improve their online presence.</p><h4>4.Customer Acquisition</h4><p>Big Data analysis helps businesses to get a better understanding of market situations.</p><p>For example, analysis of customer purchasing behavior helps companies to identify the products sold most and thus produces those products accordingly. This helps companies to get ahead of their competitors.</p><h4>5.Marketing Insights</h4><p>Big data analytics shapes all business operations. It enables companies to fulfill customer expectations. Big data analytics helps in changing the company’s product line. It ensures powerful marketing campaigns.</p><h4>6.Innovation</h4><p>Big data makes companies capable to innovate and redevelop their products.</p><h3><strong>Advantages of Big Data</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IV4jdJUwPruw8Gf7vc9suw.png" /><figcaption>advantages of big data</figcaption></figure><ol><li><strong>Easier to identify potential risks</strong></li></ol><p><strong>2. Increased productivity</strong></p><p><strong>3. Low cost</strong></p><p><strong>4. Better decision making</strong></p><p><strong>5. Data-driven innovation</strong></p><p><strong>6. Market knowledge</strong></p><h3><strong>Disadvantages of Big Data</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RsTCJlozE7LZj4ajjxHEDg.png" /><figcaption>disadvantages of big data</figcaption></figure><ol><li><strong>Expenses</strong></li></ol><p><strong>2.Tech resources</strong></p><p><strong>3.Low Quality</strong></p><p><strong>4.Culture</strong></p><p><strong>5.Privacy</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dc2d76461c8c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ARE DBMS AND RDBMS DIFFERENT?]]></title>
            <link>https://medium.com/@kaviliyanwala/are-dbms-and-rdbms-different-41635e817c83?source=rss-140b3452dbb5------2</link>
            <guid isPermaLink="false">https://medium.com/p/41635e817c83</guid>
            <dc:creator><![CDATA[Kavishka Gavindi]]></dc:creator>
            <pubDate>Tue, 15 Aug 2023 20:01:27 GMT</pubDate>
            <atom:updated>2023-08-15T20:21:52.451Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*b66yF6PyQ6Tyzdpi6x2u9g.png" /></figure><h3><strong>DBMS(Database Management System)</strong></h3><p>A database management system (DBMS) is a software tool that enables users to manage a database easily. DBMS provides many operations like creating database, storing database, update database, delete database. DBMS also provides security to the database.</p><p>Examples:</p><p>· Oracle</p><p>· MySQL</p><p>· Microsoft SQL Server</p><p>· MongoDB</p><p>· Redis</p><p>· IBM DB2</p><p>· PostgreSQL</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/598/1*KoyVnW8m9mVU3hfOMG_5Qw.png" /></figure><h4><strong>Characteristics of DBMS</strong></h4><ul><li>It uses a digital repository established on a server to store and manage the information.</li><li>It can provide a clear and logical view of the process that manipulates data.</li><li>DBMS contains automatic backup and recovery procedures.</li><li>It contains ACID properties which maintain data in a healthy state in case of failure.</li><li>It can reduce the complex relationship between data.</li><li>It is used to support manipulation and processing of data.</li><li>It is used to provide security of data.</li><li>It can view the database from different viewpoints according to the requirements of the user.</li></ul><h4><strong>Types of DBMS</strong></h4><h4>The Relational database.</h4><p>A relational database management system (RDBMS) is a system where data is organized in two-dimensional tables using rows and columns.</p><p>This is one of the most popular data models which is used in industries. It is based on SQL.</p><p>Every table in a database has a key field which uniquely identifies each record.</p><p>This type of system is the most widely used DBMS.</p><p>ex: Oracle Database, MySQL, Microsoft SQL Server</p><h4>· <strong>Object oriented database.</strong></h4><p>It is a system where information or data is represented in the form of objects which is used in object-oriented programming.</p><ul><li>It is a combination of relational database concepts and object-oriented principles.</li><li>Relational database concepts are concurrency control, transactions, etc.</li><li>OOPs principles are data encapsulation, inheritance, and polymorphism.</li><li>It requires less code and is easy to maintain.</li></ul><p>ex: object DB software</p><h4><strong>· Hierarchical database.</strong></h4><p>It is a system where the data elements have a one to many relationship (1: N). Here data is organized like a tree which is similar to a folder structure in your computer system.</p><ul><li>The hierarchy starts from the root node, connecting all the child nodes to the parent node.</li><li>It is used in industry on mainframe platforms.</li></ul><p>ex: IMS(IBM), Windows registry (Microsoft)</p><h4><strong>· Network database.</strong></h4><p>A Network database management system is a system where the data elements maintain one to one relationship (1: 1) or many to many relationship (N: N).</p><p>It also has a hierarchical structure, but the data is organized like a graph and it is allowed to have more than one parent for one child record.</p><p><strong>Advantages in DBMS</strong></p><p>· Better use of data or information</p><p>· Secured Data</p><p>· Reduces Data inconsistency and redundancy</p><p>· Better recovery and backups</p><p>· Fast data sharing</p><p>· Helps in decision making</p><p>· Increases privacy</p><p>· User friendly</p><p>· Data abstraction</p><p><strong>Disadvantages in DBMS</strong></p><p>· Increases cost</p><p>· Complexity</p><p>· Huge size</p><p>· Performance</p><p>· Frequent updates</p><p>· Database failure</p><p><strong>Applications of DBMS</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/833/1*d_cwnH-CHYvLuid2QCJW_g.png" /><figcaption>applications of DBMS</figcaption></figure><h3><strong>RDMS(Relational Database Management System)</strong></h3><p>A relational database is a collection of information that organizes data in predefined relationships where data is stored in one or more tables.</p><p>Relationships are a logic connection between different tables, established on the basis of interaction among these tables.</p><p>RDBMS provides an interface between users and application the database, as well as administrative functions for managing data storage access and performance.</p><p>RDBMS uses SQL queries to access the data in the database.</p><p>Example:</p><p>· Oracle</p><p>· MySQL</p><p>· Microsoft SQL Server</p><p>· PostgreSQL</p><p>· DB2</p><p><strong>Advantages in RDBMS</strong></p><p>· Easy to use</p><p>· Secured in nature</p><p>· Multiple interfaces</p><p>· Data manipulate can be done</p><p>· Multiple users can access the database</p><p>· Provide better physical data independence</p><p>· Flexibility</p><p><strong>Disadvantages in RDBMS</strong></p><p>· Software is expensive</p><p>· Certain applications are slow in processing</p><p>· Difficult to recover if the data is lost</p><p>· Requires skilled human resources to implement</p><h3><strong>Main differences DBMS and RDBMS</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/947/1*Mp3uJWkt0TZV_BquQlItDA.png" /><figcaption>DBMS vs RDBMS</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=41635e817c83" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>