<?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 Lasith chamuditha on Medium]]></title>
        <description><![CDATA[Stories by Lasith chamuditha on Medium]]></description>
        <link>https://medium.com/@lasithchamuditha336?source=rss-cfd1d9909a40------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*sAziEjodAieYqiP-</url>
            <title>Stories by Lasith chamuditha on Medium</title>
            <link>https://medium.com/@lasithchamuditha336?source=rss-cfd1d9909a40------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 10:22:49 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@lasithchamuditha336/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[Type of DBMS keys]]></title>
            <link>https://medium.com/@lasithchamuditha336/type-of-dbms-keys-877d07682c36?source=rss-cfd1d9909a40------2</link>
            <guid isPermaLink="false">https://medium.com/p/877d07682c36</guid>
            <dc:creator><![CDATA[Lasith chamuditha]]></dc:creator>
            <pubDate>Sun, 24 Sep 2023 04:44:41 GMT</pubDate>
            <atom:updated>2023-09-24T04:44:41.756Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*hsJzNQXBcXPYvkoioOsTGQ.png" /></figure><p>A key in DBMS is an attribute or a set of attributes that help to uniquely identify a tuple (or row) in a relation.key are also used to establish relationships between the different table and coloums of a relational database.individual values in a key are called key value.</p><p><strong>Data base have 7 types of keys</strong></p><p>1. Primary key</p><p>2. Super key</p><p>3. Candidate key</p><p>4. Alternative key</p><p>5. Foreign key</p><p>6. Composite key</p><p>7. Unique key</p><p>Let’s look at each of them separately.</p><p><strong>primary key</strong></p><p>A primary key is a unique identifier for each record or row in a database table.it ensures that each record can be uniquely identified.Typically primary keys are used to link tables together and enforce data integrity. A table cannot have more than one primary key.<br>A primary key’s main features are:</p><p>· It must contain a unique value for each row of data.</p><p>· It cannot contain null values.</p><p>· Every row must have a primary key value.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*K8H18PALiE9hdrMSthgHfw.png" /></figure><p>This table named <strong>STUDENT_DETAILS</strong>, where Roll_no, Name, and Marks are the specified attributes of it. three attributes, the Roll_no attribute is the one that can uniquely identify other two attributes of the table as each student is provided with a unique roll number in every organization. So, we can set the primary key constraint on the Roll_no column.</p><p><strong>Super key</strong></p><p>A super key is a set of one or more attributes (columns), which can uniquely identify a row in a table.</p><p><strong>Candidate key</strong></p><p>a candidate key is a set of one or more attributes (columns) within a table that can uniquely identify each row (tuple) in that table. Each candidate key is a potential candidate for being selected as the primary key for that table.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/934/1*7rwzxOyjcIt8JbbU9Pmq0A.png" /></figure><p><strong>Alternative key</strong></p><p>alternate is a secondary candidate key that is capable of identifying a row uniquely. However, such a key is not used as a primary key because, as we have discussed in our previous section that out of all the generated candidate keys, only one key is selected as the primary key. Thus, the other remaining keys are known as <strong>Alternate Keys</strong> or <strong>Secondary Keys</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*XcpynvlC3g3lt3RhNV8Y5g.png" /></figure><p><strong>Foreign key</strong></p><p>A foreign key is the one that is used to link two tables together via the primary key. It means the columns of one table points to the primary key attribute of the other table. It further means that if any attribute is set as a primary key attribute will work in another table as a foreign key attribute. But one should know that a foreign key has nothing to do with the primary key.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*gJ98AgfMcOl6kvXxf1Sasw.png" /></figure><p><strong>Composite key</strong></p><p>A composite key in SQL can be defined as a combination of multiple columns, and these columns are used to identify all the rows that are involved uniquely. Even though a single column can’t identify any row uniquely, a combination of over one column can uniquely identify any record.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*r6jSS9EQBG1EZUa43S-fYw.png" /></figure><p>From the table, found that no attribute is available that alone can identify a record in the table and can become a <a href="https://www.javatpoint.com/primary-key-in-dbms">p</a>rimary key. However, the combination of some attributes can form a key and can identify a tuple in the table. In the above example, <strong>Cust_Id</strong> and <strong>Prod_code</strong> can together form a primary key because they alone are not able to identify a tuple, but together they can do so.</p><p><strong>Unique key</strong></p><p>A unique key is a set of one or more than one fields/columns of a table that uniquely identify a record in a database table. a <strong>unique key</strong> is a <a href="https://en.wikipedia.org/wiki/Candidate_key">c</a>andidate key. All the candidate keys of a relation can uniquely identify the records of the relation, but only one of them is used as the primary key of the relation. The remaining candidate keys are called unique keys because they can uniquely identify a record in a relation. Unique keys can consist of multiple columns. Unique keys are also called <a href="https://en.wikipedia.org/wiki/Alternate_key">a</a>lternative key.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=877d07682c36" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[BIG DATA]]></title>
            <link>https://medium.com/@lasithchamuditha336/big-data-375ad7c290b0?source=rss-cfd1d9909a40------2</link>
            <guid isPermaLink="false">https://medium.com/p/375ad7c290b0</guid>
            <category><![CDATA[big-data]]></category>
            <dc:creator><![CDATA[Lasith chamuditha]]></dc:creator>
            <pubDate>Sat, 26 Aug 2023 16:05:58 GMT</pubDate>
            <atom:updated>2023-08-26T16:05:58.823Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/695/1*JIKN8U-9V4AQFdpIJe2DrQ.png" /></figure><h3><strong>what is the big data?</strong></h3><p>Big data refers to large, diverse sets of data that are beyond the ability of traditional relational databases to capture, manage, and process the data with low latency.</p><p>This data that contains greater variety, arriving in increasing volumes and with more velocity.</p><h3><strong>How is big data used?</strong></h3><p>The diversity of big data makes it inherently complex, resulting in the need for systems capable of processing its various structural and semantic differences.Big data requires specialized NoSQL databases that can store the data in a way that doesn’t require strict adherence to a particular model. This provides the flexibility needed to cohesively analyze seemingly disparate sources of information to gain a holistic view of what is happening, how to act and when to act.</p><p>When aggregating, processing and analyzing big data, it is often classified as either operational or analytical data and stored accordingly.Operational systems serve large batches of data across multiple servers and include such input as inventory, customer data and purchases — the day-to-day information within an organization.</p><p>Analytical systems are more sophisticated than their operational counterparts, capable of handling complex data analysis and providing businesses with decision-making insights. These systems will often be integrated into existing processes and infrastructure to maximize the collection and use of data.Regardless of how it is classified, data is everywhere. Our phones, credit cards,software applications, vehicles, records, websites and the majority of “things” in our world are capable of transmitting vast amounts of data, and this information is incredibly valuable.</p><p>Big data analytics is used in nearly every industry to identify patterns and trends,answer questions, gain insights into customers and tackle complex problems.Companies and organizations use the information for a multitude of reasons like growing their businesses, understanding customer decisions, enhancing research,making forecasts and targeting key audiences for advertising.</p><h3><strong>Types Of Big Data</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/627/1*IzN8uOUFplvjk2FFfvsmJA.png" /></figure><p>Big data can be categorized into three primary types based on their characteristics:structured, semi-structured, and unstructured data. These types of data are defined by their format and level of organization:</p><p><strong>Structured</strong></p><p><strong>Unstructured</strong></p><p><strong>Semi-structured</strong></p><p><strong><em>Structured Data:</em></strong></p><p>Definition: Structured data refers to well-organized data with a clear format. It is highly organized and typically fits neatly into tables or relational databases.</p><p>Examples:Traditional relational database data, like customer information in a CRM system.Sales transactions in an e-commerce system.Stock market data with clearly defined fields (e.g., stock symbol, price, date).</p><p><strong><em>Semi-Structured Data:</em></strong></p><p>Definition: Semi-structured data is somewhat organized but doesn’t conform to a rigid structure like structured data. It often contains tags, markers, or hierarchies to define elements within the data.</p><p>Examples:JSON (JavaScript Object Notation) and XML (eXtensible Markup Language) files.Log files that record events in a system, which may have varying formats.NoSQL database entries with flexible schemas.</p><p><strong><em>Unstructured Data:</em></strong></p><p>Definition: Unstructured data lacks a predefined structure or format. It’s often human-generated and doesn’t fit neatly into rows and columns like structured data.</p><p>Examples:Textual data: Social media posts, emails, articles, and documents.Multimedia data: Images, audio files, and videos.Sensor data: Raw data from IoT (Internet of Things) devices, often in the form of streams.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/748/1*INAFU7Wn2xuRcVMJBdb7AQ.png" /></figure><h3><strong>Characteristics Of Big Data</strong></h3><p><strong>Volume</strong>: Volume refers to the sheer amount of data generated or collected. Big data often involves data sets that are too large to be comfortably handled by traditional database systems</p><p><strong>Velocity:</strong> Velocity represents the speed at which data is generated, processed, and made available for analysis. Big data often involves high-velocity data streams that require real-time or near-real-time processing.</p><p><strong>Variety:</strong>Variety refers to the diversity of data types and sources. Big data encompasses structured, semi-structured, and unstructured data from a wide range of sources and in various formats.</p><p><strong>Veracity:</strong> Veracity relates to the quality and reliability of the data. Big data can be messy, containing inaccuracies, inconsistencies, and errors, which can impact analysis and decision-making.</p><h3><strong>Advantages of Big data</strong></h3><p><strong>Informed Decision-Making:</strong></p><p>Big data analytics enable organizations to make data-driven decisions. By analyzing vast datasets, businesses can gain valuable insights into customer behavior, market trends, and operational efficiency, leading to more informed and strategic decision-making.</p><p><strong>Improved Customer Understanding:</strong></p><p>Big data allows organizations to gain a deeper understanding of their customers. Analyzing customer data helps in personalization, customer segmentation, and the delivery of tailored products and services, leading to improved customer satisfaction and loyalty.</p><p><strong>Enhanced Operational Efficiency:</strong></p><p>Big data analytics can identify inefficiencies in processes and operations. This leads to process optimization, cost reduction, and improved resource allocation. For example, predictive maintenance using IoT data can reduce downtime and maintenance costs.</p><p><strong>Competitive Advantage:</strong></p><p>Organizations that effectively harness big data can gain a competitive edge. They can respond quickly to market changes, identify emerging trends, and develop innovative products or services ahead of competitors.</p><p><strong>Risk Management:</strong></p><p>Big data analytics can help in risk assessment and management. This is particularly valuable in industries like finance and insurance, where data analysis can identify fraudulent activities or assess credit risk more accurately.</p><p><strong>Healthcare Advancements:</strong></p><p>Big data is transforming healthcare by enabling personalized medicine, early disease detection, and improved patient outcomes. It allows healthcare providers to analyze patient records, genomic data, and medical images for better diagnosis and treatment.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=375ad7c290b0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Differences in Data Management Paradigms]]></title>
            <link>https://medium.com/@lasithchamuditha336/differences-in-data-management-paradigms-68ee1ae7ebc6?source=rss-cfd1d9909a40------2</link>
            <guid isPermaLink="false">https://medium.com/p/68ee1ae7ebc6</guid>
            <dc:creator><![CDATA[Lasith chamuditha]]></dc:creator>
            <pubDate>Wed, 16 Aug 2023 16:13:41 GMT</pubDate>
            <atom:updated>2023-08-16T16:17:43.881Z</atom:updated>
            <content:encoded><![CDATA[<p>in the world of data management, the terms DBMS and RDBMS are often used interchangeably, but they represent two distinct paradigms that play a critical role in shaping how data is organized, stored, and retrieved. This will discuss the differences between DBMS (Database Management System) and RDBMS (Relational Database Management System).</p><p>Here, in this article, we have classified database management methods that include:</p><p>o Database Management System (DBMS)</p><p>o Relational Database Management System (RDBMS)</p><p><strong>What is a Database Management System(DBMS)?</strong></p><p>Database Management System (DBMS) is software used to identify,manage, and create a database that provides administered access to the data.</p><p>A DBMS, short for Database Management System, is a software system that facilitates the management of data. It acts as an intermediary between users and the database, providing a set of tools and utilities to perform various operations on the data. A DBMS is responsible for tasks such as data storage, data retrieval, data modification, and ensuring data integrity. It abstracts the underlying complexities of data storage and management, allowing users to interact with the data in a more user-friendly and efficient manner.</p><p><strong>Key Features of DBMS:</strong></p><p>Data Model Flexibility: DBMS can support a variety of data models, including hierarchical, network, and object-oriented models, making it suitable for various types of applications.</p><p><strong>Relationship Handling:</strong> Depending on the data model, DBMS can manage relationships in different ways, such as using pointers in hierarchical databases or graphs in network databases.</p><p><strong>Customization:</strong> DBMS offers flexibility in terms of data organization,which can be tailored to specific application needs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*uWebohAXKXU_25FJHZDXgA.png" /></figure><p><strong>examples of DBMS</strong></p><p>· <strong>Oracle Database:</strong>Oracle database is a multi-model DBMS (Database Management System). It is written in C, Assembly, and C++ languages. It is a powerful database that stores a large amount of data. It organizes structured data or information in the computer system.</p><p>· <strong>MS Access :</strong>MS Access is a type of Database Management System (DBMS), which is software developed by Microsoft.</p><p><strong>What is a Relational Database Management System (RDBMS)?</strong></p><p>Relational Database Management System (RDBMS) is a more advanced version of a DBMS system that allows access to data in a more efficient way. It is used to store or manage only the data that are in the form of tables.</p><p>An RDBMS, or Relational Database Management System, is a specializedform of DBMS that adheres to the relational data model. This model organizes data into structured tables, where each table represents an entity, and the relationships between entities are established using keys. RDBMS focuses on data integrity, efficient data retrieval,and the enforcement of relationships between tables through mechanisms like primary keys and foreign keys.</p><p><strong>Key Features of RDBMS:</strong></p><p><strong>*</strong> <strong>Tabular Structure:</strong> RDBMS stores data in tables consisting of rows (tuples) and columns (attributes), fostering a structured approach to data management.</p><p><strong>*</strong> <strong>Data Integrity:</strong> RDBMS enforces data integrity through normalization techniques, reducing data redundancy and anomalies.</p><ul><li><strong>Relationship Management:</strong> RDBMS employs primary keys and foreign keys to establish and maintain relationships between tables,ensuring referential integrity.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*QVW9MQ-T65-e98AryUPKsw.png" /></figure><p><strong>examples of RDBMS</strong></p><p>· <strong>MySQL Database:</strong> MySQL is a type of RDBMS (Relational Database Management System) that is free and open-source. The data or information stored in the MySQL software is relational, meaning the data is related.</p><p>· <strong>PostgreSQL Database :</strong> PostgreSQL is an object-relational database management system. It is the most advanced, modern, free, and open-source database. It is also called Postgres. It provides features like consistency, atomicity, triggers, durability, foreign keys, isolation, and more. It supports many operating systems, including Linux, OpenBSD, Windows, macOS, and FreeBSD. It is very popular and reliable, so many new start-ups use PostgreSQL.</p><p><strong>What is the Difference between DBMS and RDBMS?</strong></p><p>DBMS stands for Database Management System, and RDBMS is the acronym for the Relational Database Management system. In DBMS, the data is stored as a file, whereas in RDBMS, data is stored in the form of tables. To know what is the difference between RDBMS and DBMS, check out the table below.</p><ul><li><strong>Data Model:</strong> One of the primary distinctions between DBMS and RDBMS lies in their data models. While DBMS supports various data models, RDBMS exclusively adheres to the relational model.</li><li><strong>Data Relationships:</strong> DBMS handles relationships differently based on the chosen data model, whereas RDBMS enforces relationships through primary and foreign keys.</li><li><strong>Flexibility:</strong> DBMS offers more flexibility in terms of data modeling due to its support for multiple data models. RDBMS, on the other hand, provides a standardized approach based on the relational model.</li><li><strong>Normalization:</strong> While data normalization might not be a primary concern for all DBMS applications, RDBMS emphasizes normalization to ensure data integrity and reduce redundancy.</li><li><strong>Scalability and Performance:</strong> RDBMS is often optimized for performance and scalability, making it suitable for handling large-scale data and complex queries.</li><li><strong>Data Structure:</strong> DBMS: In a DBMS, data may be organized in various ways, and relationships between data might not be strictly defined.RDBMS: In an RDBMS, data is structured in a tabular format where each table consists of rows and columns. The relationships between tables are established through keys and referential integrity.</li><li><strong>Data Integrity:</strong>DBMS: Data integrity enforcement might be limited or left to the application layer.RDBMS: RDBMS ensures data integrity through features like primary keys, foreign keys, and constraints, maintaining the accuracy and consistency of data.</li><li><strong>Query Language:</strong>DBMS: Different DBMS might use different query languages, often tailored to the specific data model they use.RDBMS: RDBMS uses SQL (Structured Query Language) for querying and manipulating data. SQL is a standardized language for interacting with relational databases.</li><li><strong>Example:</strong>DBMS: File systems, hierarchical databases, network databases are examples of DBMS.RDBMS: MySQL, PostgreSQL, Oracle Database, Microsoft SQL Server are examples of RDBMS.</li></ul><h3><strong>Conclusion</strong></h3><p>In the realm of data management, both DBMS and RDBMS serve crucial roles, but they cater to different needs and scenarios. DBMS offers versatility in data modeling and relationships, making it suitable for a wide range of applications. RDBMS, with its adherence to the relational model, excels in data integrity, efficient retrieval, and managing complex data relationships. By understanding the nuances of these two paradigms, you can make informed decisions when choosing the right data management solution for your specific requirements.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=68ee1ae7ebc6" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>