<?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 Hasarinda Wishvajith Dissanayaka on Medium]]></title>
        <description><![CDATA[Stories by Hasarinda Wishvajith Dissanayaka on Medium]]></description>
        <link>https://medium.com/@hasiwishvagith2000?source=rss-6cec2e6c3c6------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*PmQd4qklCLxW23Uoz15New.jpeg</url>
            <title>Stories by Hasarinda Wishvajith Dissanayaka on Medium</title>
            <link>https://medium.com/@hasiwishvagith2000?source=rss-6cec2e6c3c6------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 11:28:56 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@hasiwishvagith2000/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[Best practices for using DBMS keys...]]></title>
            <link>https://medium.com/@hasiwishvagith2000/best-practices-for-using-dbms-keys-966e98cf0bba?source=rss-6cec2e6c3c6------2</link>
            <guid isPermaLink="false">https://medium.com/p/966e98cf0bba</guid>
            <dc:creator><![CDATA[Hasarinda Wishvajith Dissanayaka]]></dc:creator>
            <pubDate>Wed, 27 Sep 2023 18:43:08 GMT</pubDate>
            <atom:updated>2023-09-27T18:43:08.880Z</atom:updated>
            <content:encoded><![CDATA[<h4>A database management system (DBMS) key is a fundamental concept in the context of database design and management. It refers to a set of one or more attributes within a database table that is used to uniquely identify and access individual records or rows in that table. Keys are critical for maintaining data integrity, enforcing data constraints, and establishing relationships between tables.</h4><h4>There are different types of keys in a DBMS, each with its own purpose:</h4><ul><li><strong>Primary Key</strong>: A primary key is a unique identifier for each record in a table. It ensures that no two rows in the table have the same values for the primary key attributes. It is a crucial component for data integrity and is often used to link tables through foreign keys.</li><li><strong>Unique Key</strong>: A unique key is similar to a primary key but allows for one null value. It enforces the uniqueness of values in the specified columns.</li><li><strong>Foreign Key</strong>: A foreign key is a set of attributes in one table that refers to the primary key of another table. It establishes relationships between tables, enabling the enforcement of referential integrity.</li><li><strong>Composite Key</strong>: A composite key is a key composed of multiple attributes, and together, they must be unique within the table. It is used when a single attribute cannot provide the necessary uniqueness.</li><li><strong>Super Key</strong>: A super key is a set of attributes that can be used to identify a unique row within a table. It may contain more attributes than are required for a primary key.</li><li><strong>Candidate Key</strong>: Candidate keys are minimal super keys, meaning they are the smallest set of attributes that can uniquely identify rows in a table. From these, one is chosen as the primary key.</li><li><strong>Alternate Key</strong>: An alternate key is a candidate key that is not selected as the primary key.</li><li><strong>Natural Key</strong>: A natural key is a key that is based on existing attributes in the data, such as a government-issued identification number.</li><li><strong>Surrogate Key</strong>: A surrogate key is an artificially generated key, often an integer, used as the primary key when a suitable natural key is unavailable.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*cae2_B5lK81evZnoIyYeJQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*6ERBodIOI_CVqXkJ1M_lWQ.png" /></figure><h3>Why are DBMS keys important?</h3><p><em>DBMS keys are crucial for a variety of reasons, such as:</em></p><ul><li><strong>Data integrity</strong>: keys help to ensure that data in a database is accurate and consistent. For example, a primary key can be used to prevent duplicate rows from being inserted into a table.</li><li><strong>Relationships between tables</strong>: Keys can be used to establish relationships between tables. This allows database administrators and developers to create complex databases that model real-world entities and their interactions.</li><li><strong>Database queries</strong>: Keys can be used to optimize database queries. For example, a foreign key can be used to quickly find all of the rows in one table that are related to a specific row in another table.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_Wm1NtZLqIe3fVIE9qeaUA.jpeg" /></figure><h3><strong><em>Examples of DBMS keys</em></strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/267/1*px_ZDb4ztPSmyI3-HmhuZw.jpeg" /></figure><p><em>Here are some examples of how DBMS keys are used in real-world databases:</em></p><ul><li><strong>E-commerce database</strong>: The primary key of the customer’s table in an e-commerce database might be the customer ID column. This column uniquely identifies each customer in the database. The foreign key of the orders table in the same database might be the customer ID column. This foreign key links each order to a specific customer.</li><li><strong>Social networking database:</strong> The primary key of the user’s table in a social networking database might be the user ID column. This column uniquely identifies each user in the database. The foreign key of the posts table in the same database might be the user ID column. This foreign key links each post to a specific user.</li><li><strong>Library database:</strong> The primary key of the books table in a library database might be the book ISBN column. This column uniquely identifies each book in the database. The foreign key of the checkouts table in the same database might be the book ISBN column. This foreign key links each checkout to a specific book.</li></ul><h3><strong><em>How to use DBMS keys effectively</em></strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*hsUTCp-hYnJbAbrzLDoiPw.jpeg" /></figure><p><em>When designing a relational database, it is important to use DBMS keys effectively. Here are a few tips:</em></p><ul><li><strong>Choose the right primary key</strong>: The primary key should be a column or set of columns that is unique and will never change. For example, a customer ID column would be a good primary key for a customer table, but a customer name column would not be a good primary key because customer names can change.</li><li><strong>Use foreign keys to establish relationships between tables.</strong> Foreign keys are essential for creating complex databases that model real-world entities and their interactions. For example, a foreign key can be used to link the orders table to the customer’s table in an e-commerce database.</li><li><strong>Use indexes to optimize database queries.</strong> Indexes can be used to speed up database queries that involve keys. For example, an index can be created on the customer ID column in the customer’s table to speed up queries that filter or sort customers by ID.</li></ul><p><strong>DBMS keys are an essential part of relational database design. By understanding how to use keys effectively, you can create databases that are accurate, consistent, efficient, and easy to maintain.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=966e98cf0bba" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[“Sculpting Success with Big Data: Carving a Path to Smarter Decisions”]]></title>
            <link>https://medium.com/@hasiwishvagith2000/sculpting-success-with-big-data-carving-a-path-to-smarter-decisions-20bbf6607da0?source=rss-6cec2e6c3c6------2</link>
            <guid isPermaLink="false">https://medium.com/p/20bbf6607da0</guid>
            <dc:creator><![CDATA[Hasarinda Wishvajith Dissanayaka]]></dc:creator>
            <pubDate>Wed, 23 Aug 2023 17:18:35 GMT</pubDate>
            <atom:updated>2023-08-23T17:18:35.693Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/267/1*XAgytQ_8zh_-lU-gndBfYQ.png" /></figure><p><strong>Introduction</strong></p><p>The monarch of today’s world is data. Every day, a ton of data is produced by businesses, governments, and people. This information can be utilized to enhance decision-making, spot trends, and address issues.<br>This vast volume of data is referred to as “big data.” It is frequently too big and complicated to be examined by conventional means. However, it is now possible to examine massive amounts of data and get important insights thanks to modern technology.</p><p>In this essay, we’ll talk about how big data can help us make better decisions. The difficulties of employing big data and the necessary ethical issues will also be covered.</p><p><strong>Big data is</strong></p><p>Big data is best defined as a data set that is too huge and complex to manage or analyze using conventional data processing techniques. Big data has more qualities than just the three Vs, while they are a useful framework for thinking about it. Additionally, factors like authenticity, complexity, and expense should be taken into account.</p><p>Big data needs to be defined clearly in order to be distinguished from other types of data, hence, this definition is crucial. Big data is not only about size; it’s also about complexity and the difficulties it presents for managing and analyzing data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EPnPPXX8_Of8qrQxDXYpRQ.jpeg" /></figure><p><strong>The Promise of Big Data</strong></p><p>Big data has the potential to revolutionize decision-making in several ways. For example, it can be used to:</p><p>· Identify patterns and trends that would be invisible to the naked eye.</p><p>· Make predictions about future events.</p><p>· Personalize products and services.</p><p>· Improve customer service.</p><p>· Reduce costs.</p><p>· Increase efficiency.</p><p>· Improve safety.</p><p>Big data can also be used to solve previously intractable problems. For example, it can be used to:</p><p>· Predict natural disasters.</p><p>· Track the spread of diseases.</p><p>· Combat terrorism.</p><p>· Improve education.</p><p>· Reduce poverty.</p><p>The possibilities are endless.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/576/1*BlOLEvmYpt_d1Bf6QTHTJw.jpeg" /></figure><p><strong>The Problems with Big Data</strong></p><p>Despite the potential of big data, there are a number of obstacles that must be addressed in order to utilize it properly. These difficulties include:</p><p>• The enormous amount of data. Terabyte, petabyte, and even exabyte-sized big data collections are possible. As a result, managing, storing, and analyzing the data may be challenging and expensive.</p><p>• The data’s intricacy. Big data frequently consists of a wide range of distinct kinds of data, including structured, unstructured, and semi-structured data. The data may be challenging to combine and evaluate as a result.</p><p>• A lack of resources and expertise. Big data analysis tools and methods are still not widely available. As a result, it could be challenging to draw useful conclusions from the data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/308/1*GBuB06M6JBVfmE-Had12Eg.jpeg" /></figure><p><strong>The Future of Big Data</strong></p><p>The prospects for big data are promising. The need for big data solutions will increase along with the volume and complexity of data. All parties involved—businesses, governments, and people — must figure out how to benefit from the use of big data.<br>But there are some moral issues that need to be taken into account. How, for instance, can we guarantee that big data is utilized responsibly? How can we safeguard people’s privacy? These are only a few of the inquiries that must be addressed as big data becomes increasingly common.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/815/1*5OT1r2GL8nKu1gV8eUlVKg.jpeg" /></figure><p><strong>How to Use Big Data to Make Smarter Decisions</strong></p><p><em>There are several ways to use big data to make smarter decisions. Here are a few examples:</em></p><p>· Customer segmentation: Big data can be used to segment customers into groups based on their demographics, interests, and purchase behavior. This information can then be used to target marketing campaigns and products more effectively.</p><p>· Fraud detection: Big data can be used to detect fraudulent activity, such as credit card fraud and insurance fraud. This can help businesses to protect themselves from financial losses.</p><p>· Risk assessment: Big data can be used to assess risk, such as the risk of a customer defaulting on a loan or the risk of a natural disaster occurring. This information can then be used to make decisions about lending, insurance, and disaster preparedness.</p><p>· Product development: Big data can be used to develop new products and services that meet the needs of customers. For example, Netflix uses big data to recommend movies and TV shows to its users.</p><p>· Operations optimization: Big data can be used to optimize operations, such as supply chain management and manufacturing. This can help businesses to reduce costs and improve efficiency.</p><p>These are just a few examples of how big data can be used to make smarter decisions. As big data becomes more prevalent, we can expect to see even more innovative ways to use it to improve our lives.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/306/1*us4C6eOGU-VvEzogeiE52A.png" /></figure><p><strong>Conclusion</strong></p><p>Big data is a powerful tool that can be used to improve decision-making in a variety of ways. However, it is important to be aware of the challenges and ethical considerations that need to be taken into account. By using big data responsibly,</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=20bbf6607da0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Choosing the Right Database A Comprehensive Look at RDBMS vs DBMS]]></title>
            <link>https://medium.com/@hasiwishvagith2000/choosing-the-right-database-a-comprehensive-look-at-rdbms-vs-dbms-32ee679f7e8?source=rss-6cec2e6c3c6------2</link>
            <guid isPermaLink="false">https://medium.com/p/32ee679f7e8</guid>
            <dc:creator><![CDATA[Hasarinda Wishvajith Dissanayaka]]></dc:creator>
            <pubDate>Wed, 16 Aug 2023 16:49:06 GMT</pubDate>
            <atom:updated>2023-08-16T16:49:06.312Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>A database management system (DBMS) </strong>is a piece of software that enables users to interact with, arrange, store, retrieve, and manage data in an effective and structured way. It offers a foundation for building, changing, and using databases, which makes it simpler to store and operate massive volumes of data. A DBMS acts as a bridge between the user, the applications, and the actual data storage.</p><p>Data definition (the definition of the database’s structure), data manipulation (inserting, updating, and deleting data), data retrieval (querying data), data security, concurrency control (managing multiple users accessing data concurrently), and data integrity (maintaining the accuracy and consistency of data) are just a few of the features that DBMSs offer. There are numerous varieties of DBMS, including Relational DBMS (RDBMS), NoSQL DBMS, Object-Oriented DBMS, and more, all of which were created for particular use cases and data formats.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*k84XP-_SFF88DN2cnC4Z6A.jpeg" /></figure><p><strong>A relational database management system is referred to as an RDBMS</strong>. It’s a kind of database management system that arranges data into tables with rows and columns to make it easier to store, retrieve, and manipulate structured data with the help of a standard query language, usually SQL (Structured Query Language). RDBMSs like MySQL, PostgreSQL, Oracle Database, and Microsoft SQL Server are typical examples.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*ARMjYuAe83Nab3RXCsXVvQ.png" /></figure><p>The benefits and drawbacks of database management systems (DBMS) and relational database management systems (RDBMS) are listed below.</p><p><strong><em>Advantages:</em></strong></p><p><strong>Data Centralization</strong>: The centralization of data storage by DBMS facilitates better management and access to data from a single source.</p><p><strong>Data Integrity:</strong> By using constraints and validation criteria, DBMS enforces data integrity, lowering the possibility of having incorrect data.</p><p><strong>Data security</strong> is improved by a DBMS, which offers access control techniques to guarantee that only authorized users can access and edit data.</p><p><strong>Data Abstraction:</strong> A database management system (DBMS) abstracts the underlying data structures so that users can interact with the data in a higher-level language without having to be tech-savvy.</p><p><strong>Data sharing:</strong> DBMS permits numerous users and applications to view and modify the data concurrently, promoting cooperation and effective resource use.</p><p><strong>Data Independence:</strong> A DBMS allows changes to the database structure without affecting applications since it separates the logical data structure from the physical storage details.</p><p><strong>Data backup and recovery</strong> are made possible by DBMS, guaranteeing that data is not lost in the event of hardware failure, software crashes, or other problems.</p><p><strong>Query Language:</strong> Database management systems (DBMS) provide query languages (such as SQL) that let users retrieve, modify, and analyze data in a structured way.</p><p><strong>Scalability:</strong> By enabling effective expansion of hardware and resources, DBMS can handle vast amounts of data and meet expanding needs.</p><p><strong>Reduced Data Redundancy:</strong> A DBMS reduces data duplication by normalizing the data, which lowers storage costs and ensures consistency.</p><p><strong><em>Disadvantages:</em></strong></p><p><strong>Complexity:</strong> Setting up and maintaining a DBMS can be challenging and call for specialized knowledge and abilities.</p><p>Costs associated with licensing, hardware, and staffing can make setting up and maintaining a DBMS prohibitively expensive.</p><p><strong>Performance Overhead:</strong> Since DBMSs must process and manage data, this can result in performance overhead.</p><p>Vendor lock-in may result from using a certain DBMS, making it challenging to move to another one in the future.</p><p><strong>Learning curve:</strong> Users and developers must become familiar with the query languages and DBMS concepts, which might take time and effort.</p><p>Single Point of Failure: If the DBMS fails, access to all the data may be disrupted, potentially resulting in lengthy downtime.</p><p><strong>Challenges with data migration: </strong>Changing DBMS systems or versions can be difficult and time-consuming.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/298/1*iKwjVREVtW3kv4pF6-sZag.png" /></figure><p><em>The best database for you will depend on your unique demands. While Database Management Systems (DBMS) cover a variety of data models, Relational Database Management Systems (RDBMS) are organized systems based on tables that provide data integrity. When selecting a choice, take into account elements like data complexity, scalability, and application needs. Feel free to inquire further about particular aspects or their particular needs.</em></p><p><strong>Take into account the following factors while deciding between a Relational Database Management System (RDBMS) and a Database Management System (DBMS):</strong></p><p><strong>Data Model and Structure:</strong></p><p>An organized tabular model with predetermined relationships and schema is used by the RDBMS.<br>Although DBMSs offer flexibility and handle a wide range of data formats, including hierarchical, network, object-oriented, and more, they cannot provide as much data integrity.</p><p><strong>Data Complicatency</strong></p><p>For structured data with clear linkages and consistent schemas, an RDBMS is appropriate.<br>Because DBMSs can better manage complex and unstructured data, they are appropriate for applications with a variety of data types.</p><p><strong>Data consistency and integrity</strong></p><p>RDBMS ensures trustworthy transactions by enforcing stringent data integrity through ACID (Atomicity, Consistency, Isolation, and Durability) compliance.<br>Database management systems (DBMS) could offer looser consistency models and might not always ensure ACID compliance.</p><p><strong>Scalability:</strong></p><p>Because RDBMS have inflexible schema architectures, scaling horizontally might be difficult.<br>A DBMS can handle huge amounts of data, and horizontal scaling is more adaptable.</p><p><strong>Question Language</strong></p><p>SQL (Structured Query Language) is frequently used by RDBMS for querying.<br>Depending on the data model, DBMS may utilize various query languages (e.g., NoSQL databases frequently employ their own query languages).</p><p><strong>Cases of Use</strong></p><p>Applications like banking systems that require strict data integrity can benefit from RDBMS.<br>Applications with dynamic or unstructured data, like social media platforms, are well suited for DBMS.</p><p><strong>Performance:</strong></p><p>RDBMS are excellent at efficiently processing structured data and challenging queries.<br>When processing vast amounts of data and specific kinds of queries, a DBMS can execute more quickly.</p><p><strong>Licensing and Cost:</strong></p><p>RDBMS products sold commercially can come with licensing fees.<br>Both open-source and for-profit DBMS choices are available, which could result in cost reductions.</p><p><strong>Developmental Pace</strong></p><p>RDBMS can need more planning and schema design.<br>For applications that change quickly, a DBMS might provide quicker development cycles.</p><p><em>Keep in mind that your individual project needs, data characteristics, and growth objectives will determine the database management system you use. Consider each aspect carefully to decide which choice best satisfies the requirements of your application.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=32ee679f7e8" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>