<?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 T.N. Jayasundara on Medium]]></title>
        <description><![CDATA[Stories by T.N. Jayasundara on Medium]]></description>
        <link>https://medium.com/@tharindunishshanka21?source=rss-95b7556be9aa------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*Pn-cpCobWlab0qFN</url>
            <title>Stories by T.N. Jayasundara on Medium</title>
            <link>https://medium.com/@tharindunishshanka21?source=rss-95b7556be9aa------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 11:06:59 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@tharindunishshanka21/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[DATABASE KEY TYPES:]]></title>
            <link>https://medium.com/@tharindunishshanka21/database-key-types-b8d11d5f1fe9?source=rss-95b7556be9aa------2</link>
            <guid isPermaLink="false">https://medium.com/p/b8d11d5f1fe9</guid>
            <dc:creator><![CDATA[T.N. Jayasundara]]></dc:creator>
            <pubDate>Fri, 22 Sep 2023 17:42:42 GMT</pubDate>
            <atom:updated>2023-09-22T17:42:42.883Z</atom:updated>
            <content:encoded><![CDATA[<p>DATABASE KEY TYPES:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/296/1*lEa3ClKmc-4PtEXuqCuLHw.jpeg" /></figure><p>What is keys in DBMS?</p><p>In a Database Management System (DBMS), a &quot;key&quot; is a data attribute or a combination of data attributes used to uniquely identify records (rows) within a database table. Keys are fundamental to organizing and managing data efficiently in a relational database. They serve several important purposes:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*5UUpdeenY7E077d21_oxlQ.jpeg" /></figure><p>Super Key:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*3oVfhveXQAcrxB2e2aVmJg.jpeg" /></figure><ul><li>Adding zero or more attributes to the candidate key generates the super key.</li><li>A candidate key is a super key but vice versa is not true.</li><li>Super Key values may also be NULL.</li></ul><p>Candidate Key:</p><ul><li>A candidate key is a column or set of columns that can potentially be used as the primary key.</li><li>It satisfies the uniqueness and non-null requirements.</li><li>A table may have multiple candidate keys.</li></ul><p>Primary Key (PK):</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>Alternate Key:</p><ul><li>All the keys which are not primary keys are called alternate keys.</li><li>It is a secondary key.</li><li>It contains two or more fields to identify two or more records.</li><li>These values are repeated.</li></ul><p>Composite Key:</p><ul><li>It acts as a primary key if there is no primary key in a table</li><li>Two or more attributes are used together to make a composite key.</li><li>Different combinations of attributes may give different accuracy in terms of identifying the rows uniquely.</li></ul><p>Foreign Key (FK):</p><ul><li>It is a key it acts as a primary key in one table and it acts as</li><li>secondary key in another table.</li><li>It combines two or more relations (tables) at a time.</li><li>They act as a cross-reference between the tables.</li></ul><p>Unique key vs Primary key:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/323/1*r3yYmDU1EpnKAhyhVcpuLA.jpeg" /></figure><p>Example for the keys in DBMS:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*2BsLLFPydxMDfJO2s1DPmw.jpeg" /></figure><p>Why do we require Keys in DBMS?</p><p>We use a key for defining various types of integrity constraints in a database. A table, on the other hand, represents a collection of the records of various events for any relation. Now, there might be thousands of these records, and some of these might even be duplicated.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b8d11d5f1fe9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Big data tools and technologies]]></title>
            <link>https://medium.com/@tharindunishshanka21/big-data-tools-and-technologies-e1480b66ffc2?source=rss-95b7556be9aa------2</link>
            <guid isPermaLink="false">https://medium.com/p/e1480b66ffc2</guid>
            <category><![CDATA[big-data]]></category>
            <category><![CDATA[dbms]]></category>
            <category><![CDATA[networking]]></category>
            <dc:creator><![CDATA[T.N. Jayasundara]]></dc:creator>
            <pubDate>Sun, 20 Aug 2023 16:55:30 GMT</pubDate>
            <atom:updated>2023-08-20T16:55:30.981Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*tqfjd1Ryt0roRKYNkqcy2A.png" /></figure><p><strong>B</strong>ig data is a combination of <strong>structured</strong>, <strong>semistructured </strong>and <strong>unstructured</strong> data collected by organizations that can be mined for information and used in machine learning projects, predictive modeling and other advanced analytics applications.</p><p><strong>Why is big data important?</strong></p><p>1. Cost Savings</p><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><p>2. Time-Saving</p><p>Real-time memory analytics help companies gather data from multiple sources. Tools like Hadoop help them analyze data immediately and thus make quick decisions based on learnings.</p><p>3. Understand the market conditions</p><p>Big data analysis helps businesses gain better understanding of market conditions.</p><p>4. Social Media Listening</p><p>Companies can perform sentiment analysis using Big Data tools. These enable them to get feedback about their company</p><p>5. Boost Customer Acquisition and Retention</p><p>Customers are a vital asset on which any business depends on. No single business can achieve its success without building a robust customer base.</p><p>6. The driver of Innovations and Product Development</p><p>Big data makes companies capable to innovate and redevelop their products.</p><p><strong>What are examples of big data?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/475/1*OL5eTJl4Z6V-SZM946g-WQ.png" /></figure><p>· transaction processing systems</p><p>· customer databases</p><p>· documents</p><p>· emails</p><p>· medical records</p><p>· internet clickstream logs</p><p>· mobile apps and social networks</p><p><strong>The six Vs of big data</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*sF4TmId5cKoumYh_EuEYqA.png" /></figure><p>· Volume</p><p>big data is used to refer to enormous amounts of information.</p><p>· Velocity</p><p>Velocity means that big data should be processed fast, in a stream-like manner because it just keeps coming.</p><p>· Variety</p><p>Big data is usually not homogeneous. For example, the data of an enterprise consists of its emails, documentation, support tickets, images, and photos, transaction records, etc</p><p>· Value</p><p>The meaning that you extract from data using special tools must bring real value by serving a specific goal, be it improving customer experience or increasing sales</p><p>· Veracity</p><p>Veracity describes whether the data can be trusted. Hygiene of data in analytics is important because otherwise, you cannot guarantee the accuracy of your results</p><p>· Variability</p><p>Variability describes how fast and to what extent data under investigation is changing.</p><p><strong>Type of big data</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*uNn-Y-MHvTcSRxpw08MJvA.png" /></figure><p><strong>Benefits of big data</strong></p><p>o Customer Acquisition and Retention</p><p>o Focused and Targeted Promotions</p><p>o Potential Risks Identification</p><p>o Innovat</p><p>o Complex Supplier Networks</p><p>o Cost optimization</p><p>o Improve Efficiency</p><p><strong>How to use big data</strong></p><p>o Set a big data strategy</p><p>o Access and analyze the data</p><p>o Make data-driven decisions</p><p><strong>Big data use cases</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/817/1*bh9cgKOYDMoEBW8ltOXKhA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e1480b66ffc2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Database Management System Vs Relational Database Management System]]></title>
            <link>https://medium.com/@tharindunishshanka21/database-management-system-vs-relational-database-management-system-e8e5bb36fe0f?source=rss-95b7556be9aa------2</link>
            <guid isPermaLink="false">https://medium.com/p/e8e5bb36fe0f</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[advanced]]></category>
            <category><![CDATA[creativity]]></category>
            <dc:creator><![CDATA[T.N. Jayasundara]]></dc:creator>
            <pubDate>Wed, 16 Aug 2023 15:13:09 GMT</pubDate>
            <atom:updated>2023-08-16T15:13:09.697Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/570/1*I-mEZ1ZxU2yuD1wbXvEtOw.jpeg" /></figure><p><strong>database management system (DBMS)</strong></p><p><strong>A database management system (DBMS) is</strong> system software for creating and managing databases. A DBMS makes it possible for end users to create, protect, read, update and delete data in a database. The most prevalent type of data management platform, the DBMS essentially serves as an interface between databases and users or application programs, ensuring that data is consistently organized and remains easily accessible</p><p><strong>What does a DBMS do?</strong></p><p>The DBMS manages the data; the database engine allows data to be accessed, locked and modified; and the database schema defines the database’s logical structure. These three foundational elements help provide concurrency, security, data integrity and uniform data administration procedures. The DBMS supports many typical database administration tasks, including change management, performance monitoring and tuning, security, and backup and recovery.</p><p><strong>What are the components of a DBMS?</strong></p><p>A DBMS is a sophisticated piece of system software consisting of multiple integrated components that deliver a consistent, managed environment for creating, accessing and modifying data in databases. These components include the following:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/552/1*x5g3NDYt0LpJADDhR8VQmA.png" /></figure><p>· <strong>Storage Engine</strong></p><p>The underlying software component that a database management system (DBMS) uses to create, read, update and delete (CRUD) data from a database</p><p>· <strong>Metadata catalog</strong></p><p>A set of relational tables that contain information about how to convert data from non-relational to relational formats.</p><p>· <strong>Database access language</strong></p><p>Database Language is a special type of programming language used to define and manipulate a database</p><p>· <strong>Optimization engine</strong></p><p>The process of selecting the most efficient way to execute a SQL statement</p><p>· <strong>Query processor</strong></p><p>After a query is optimized, the DBMS must provide a means for running the query and returning the results.</p><p>· <strong>Lock manager</strong></p><p>This crucial component of the DBMS manages concurrent access to the same data. Locks are required to ensure multiple users aren’t trying to modify the same data simultaneously.</p><p>· <strong>Log manager</strong></p><p>The log manager allows you to filter, sort and browse query logs from each of your monitored DBMS instances.</p><p>· <strong>Data utilities</strong></p><p>reorganization, backup and copy, recover, integrity check, load data, unload data and repair database.</p><p><strong>Types of DBMS Technology ?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/541/1*7Nq04ISIP44xuMamj_heLQ.png" /></figure><p><strong>Most popular database management systems ?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/974/1*ln6QqE_5xPddBUFxOXS-Dg.png" /></figure><p><strong>Advantages of Database Management System ?</strong></p><p><strong>Controls database redundancy</strong>:- It can control data redundancy because it stores all the data in one single database file and that recorded data is placed in the database.</p><p><strong>Data sharing:- </strong>In DBMS, the authorized users of an organization can share the data among multiple users.</p><p><strong>Easily Maintenance:- </strong>It can be easily maintainable due to the centralized nature of the database system.</p><p><strong>Reduce time:- </strong>It reduces development time and maintenance need.</p><p><strong>Backup:- </strong>It provides backup and recovery subsystems which create automatic backup of data from Hardware and Software failures and restores the data if required.</p><p><strong>Multiple user interface:- </strong>It provides different types of user interfaces like graphical user interfaces, application program interfaces</p><p><strong>Relational Database Management System</strong></p><p><strong>What is Relational Database Management System ?</strong></p><p>A relational database management system (RDBMS) is a program that allows you to create, update, and administer a relational database. Most relational database management systems use the SQL language to access the database.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*82-jpI7BdU_HtjM_dEY_pA.png" /></figure><p>Relational Database Management Systems maintains data integrity by simulating the following features:</p><p><strong>Entity Integrity</strong>: No two records of the database table can be completely duplicate.</p><p><strong>Referential Integrity</strong>: Only the rows of those tables can be deleted which are not used by other tables. Otherwise, it may lead to data inconsistency.</p><p><strong>User-defined Integrity</strong>: Rules defined by the users based on confidentiality and access.</p><p><strong>Domain integrity</strong>: The columns of the database tables are enclosed within some structured limits, based on default values, type of data or ranges.</p><p><strong>Popular Relational Database Management Systems ?</strong></p><p>· <strong>Oracle.</strong></p><p>· <strong>MySQL.</strong></p><p>· <strong>SQL Server.</strong></p><p>· <strong>PostgreSQL.</strong></p><p>· <strong>IBM DB2.</strong></p><p>· <strong>Microsoft Access.</strong></p><p>· <strong>SQLite.</strong></p><p>· <strong>MariaDB</strong></p><p><strong>Example of RDBMS</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/630/1*x1c7b2m2rYXl4PkX8s36tw.png" /></figure><p><strong>Introduction to Relational Database Advantages</strong></p><p>· <strong>Simple Model</strong></p><p><em>A Relational Database system is the simplest model, as it does not require complex structuring or querying processes. It doesn’t involve tedious architectural processes like hierarchical database structuring or definition. As the structure is simple, it is sufficient to be handled with simple SQL queries and does not require complex queries to be designed.</em></p><p>· <strong>Data Accuracy</strong></p><p><em>In the relational database system, multiple tables can be related to one another using a primary key and foreign key concepts. This makes the data to be non-repetitive. There is no chance for duplication of data. Hence, the relational database’s data accuracy is higher than in any other database system</em></p><p>· <strong>Easy Access to data</strong></p><p><em>In the Relational Database System, there is no pattern or pathway for accessing the data, as other types of databases can be accessed only by navigating through a tree or a hierarchical model. Anyone who accesses the data can query any table in the relational database.</em></p><p>· <strong>Data Integrity</strong></p><p><em>Data integrity refers to the overall accuracy, completeness, and reliability of data.</em></p><p>· <strong>Flexibility</strong></p><p><em>Organizes data into separate tables, allowing for flexible access and reassembly according to user-defined relational tables.</em></p><p>· <strong>Normalization</strong></p><p><em>Normalization is the process of organizing the data in the database.</em></p><p>· <strong>High Security</strong></p><p><em>An RDBMS includes functions that maintain the security, accuracy, integrity and consistency of the data.</em></p><p>· <strong>Feasible for Future Modifications</strong></p><p><em>the relational database system makes it straightforward to insert, delete, or update records to meet the latest requirements.</em></p><p><strong>Disadvantages of RDBMS ?</strong></p><p><em>➨Software is expensive.</em></p><p><em>➨Complex software refers to expensive hardware and hence increases overall cost to avail the RDBMS service.</em></p><p><em>➨It requires skilled human resources to implement.</em></p><p><em>➨Certain applications are slow in processing.</em></p><p><em>➨It is difficult to recover the lost data.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e8e5bb36fe0f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>