<?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 Roshni Kulas on Medium]]></title>
        <description><![CDATA[Stories by Roshni Kulas on Medium]]></description>
        <link>https://medium.com/@rculas17?source=rss-2d14b75fa5b2------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*DZywB7SE3i4a9QAh</url>
            <title>Stories by Roshni Kulas on Medium</title>
            <link>https://medium.com/@rculas17?source=rss-2d14b75fa5b2------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 11:27:58 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@rculas17/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[Types of “Keys” in DBMS.]]></title>
            <link>https://medium.com/@rculas17/lets-we-see-what-is-meant-by-key-f8865e38822d?source=rss-2d14b75fa5b2------2</link>
            <guid isPermaLink="false">https://medium.com/p/f8865e38822d</guid>
            <dc:creator><![CDATA[Roshni Kulas]]></dc:creator>
            <pubDate>Thu, 04 Jan 2024 17:00:08 GMT</pubDate>
            <atom:updated>2024-01-04T17:04:00.629Z</atom:updated>
            <content:encoded><![CDATA[<h4>Let’s we see what is meant by “Key”;</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*DUKxKUNo49gTorNl.jpg" /></figure><p><strong><em>A key is a unique identifier for a row in a database. Keys are necessary for a database because they form the bedrock of relational databases. With keys, rows can easily be picked and separated from others where they can be used for computations.</em></strong></p><p><strong><em>A key refers to an attribute/a set of attributes that help us identify a row (or tuple) uniquely in a table (or relation). A key is also used when we want to establish relationships between the different columns and tables of a relational database. The individual values present in a key are commonly referred to as key values.</em></strong></p><h4>Why do we require “Keys” in DBMS ?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*joRUiBnYNyHz4bQL.jpeg" /></figure><p><em>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.</em></p><p><em>Thus, we need a way in which one can identify all of these records uniquely and separately, i.e., without any duplicates. This hassle is removed with the help of keys.</em></p><p><em>For example, let us consider a database of all the students who are studying in a college. What attribute of all the students, according to you, will identify each of these people uniquely? We can refer to these students by their names, departments, sections, and year. Similarly, we can also mention only the university roll number and fetch all the other details based on that roll number.</em></p><p><em>The keys in DBMS can be a combination of multiple attributes (or columns), or they can be just one single attribute. The primary motive of the keys is to provide every record with a unique identity of its own.</em></p><p><strong>Uses of “Keys” in Relational Model.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/689/0*b204c60NQSoOx5bQ.jpg" /></figure><p><strong><em>In a relational database, there are different types of keys.</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/692/0*jXiH45cvb51vU3Jj.jpg" /></figure><h4><strong>Now we see about the keys one by one.</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/0*fY_LzL0NIFc1zmx3.png" /></figure><ol><li><strong>Primary Key</strong></li></ol><p><em>The primary key refers to a column or a set of columns of a table that helps us identify all the records uniquely present in that table. A table can consist of just one primary key. Also, this primary key cannot consist of the same values reappearing/repeating for any of its rows. All the values of a primary key have to be different, and there should be no repetitions.</em></p><p><em>The PK (PRIMARY KEY) constraint that we put on a column/set of columns won’t allow these to have a null value or a duplicate. Any table can consist of only a single primary key constraint. A foreign key (explained below) that refers to it can never change the values present in the primary key.</em></p><p><strong>2. Super Key</strong></p><p><em>A super key refers to the set of all those keys that help us uniquely identify all the rows present in a table. It means that all of these columns present in a table that can identify the columns of that table uniquely act as the super keys.</em></p><p><em>A super key is a candidate key’s superset (candidate key has been explained below). We need to pick the primary key of any table from the super key’s set so as to make it the table’s identity attribute.</em></p><p><strong>3. Candidate Key</strong></p><p><em>The candidate keys refer to those attributes that identify rows uniquely in a table. In a table, we select the primary key from a candidate key. Thus, a candidate key has similar properties as that of the primary keys that we have explained above. In a table, there can be multiple candidate keys.</em></p><p><strong>4. Alternate Key</strong></p><p><em>As we have stated above, any table can consist of multiple choices for the primary key. But, it can only choose one. Thus, all those keys that did not become a primary key are known as alternate keys.</em></p><p>5. <strong>Foreign Key</strong></p><p><em>We use a foreign key to establish relationships between two available tables. The foreign key would require every value present in a column/set of columns to match the referential table’s primary key. A foreign key helps us to maintain data as well as referential integrity.</em></p><p><strong>6. Composite Key</strong></p><p><em>The composite key refers to a set of multiple attributes that help us uniquely identify every tuple present in a table. The attributes present in a set may not be unique whenever we consider them separately. Thus, when we take them all together, it will ensure total uniqueness.</em></p><p><strong>7. Unique Key</strong></p><p><em>A unique key refers to a column/a set of columns that identify every record uniquely in a table. All the values in this key would have to be unique. Remember that a unique key is different from a primary key. It is because it is only capable of having one null value. A primary key, on the other hand, cannot have a null value.</em></p><p><strong>Let’s see example for understand the all “Keys”;</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vidCuFx5sJwmS0mAQ5OMCQ.png" /></figure><ol><li><strong>Super key</strong></li></ol><p><em>In the table defined above super key would include student_id, (student_id, name), phone etc.</em></p><p><em>Confused? The first one is pretty simple as student_id is unique for every row of data, hence it can be used to identity each row uniquely.</em></p><p><em>Next comes, (student_id, name), now name of two students can be same, but their student_id can&#39;t be same hence this combination can also be a key.</em></p><p><em>Similarly, phone number for every student will be unique, hence again, phone can also be a key.</em></p><p><em>So they all are super keys.</em></p><p>2. <strong>Candidate key</strong></p><p><em>In our example, student_id and phone both are candidate keys for table Student.</em></p><ul><li><em>A candidate key can never be NULL or empty. And its value should be unique.</em></li><li><em>There can be more than one candidate keys for a table.</em></li><li><em>A candidate key can be a combination of more than one columns(attributes).</em></li></ul><p>3. <strong>Primary key</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/650/0*brxGQxaQDl5jMWay.png" /></figure><p><em>For the table Student we can make the student_id column as the primary key.</em></p><p>4. <strong>Composite key</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/650/0*FekgEkwxPs0ppPWm.png" /></figure><p><em>In the above picture we have a Score table which stores the marks scored by a student in a particular subject.</em></p><p><em>In this table student_id and subject_id together will form the primary key, hence it is a composite key.</em></p><p>5. <strong>Alternate Key</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/0*d5-YjuCFsKyJqhY3" /></figure><p>6. <strong>Foreign Key</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*fWT5V8BprQzSagQV.jpg" /></figure><p>7. <strong>Unique Key</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/0*56w7F4K5yTbwXxQo.jpg" /></figure><h3><strong>Different between Primary key and Unique key</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*qZ8lpEMvztYiAVYR" /></figure><p><strong><em>Thank you for your reading ………………………..</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f8865e38822d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Let’s know something about Big Data]]></title>
            <link>https://medium.com/@rculas17/lets-know-something-about-big-data-1cdf09570768?source=rss-2d14b75fa5b2------2</link>
            <guid isPermaLink="false">https://medium.com/p/1cdf09570768</guid>
            <dc:creator><![CDATA[Roshni Kulas]]></dc:creator>
            <pubDate>Wed, 23 Aug 2023 16:38:20 GMT</pubDate>
            <atom:updated>2023-08-23T16:38:20.713Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Big data is data that contains greater variety, arriving in increasing volumes and with more velocity.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/244/1*VGicdti6ZsGhwtz30IyShg.jpeg" /></figure><h4><strong>Characteristics:</strong></h4><ol><li><strong>Volume:</strong><em> Big data is characterized by its massive volume. It includes vast amounts of data that can range from terabytes to exabytes or more. This data can come from various sources, such as sensors, social media, transactions, and more.</em></li><li><strong>Variety:<em> </em></strong><em>Big data is diverse and comes in many forms, including structured, semi-structured, and unstructured data. It can include text, images, videos, audio, log files, social media posts, sensor data, and more.</em></li><li><strong>Velocity:<em> </em></strong><em>Data is generated and collected at an unprecedented speed in the age of big data. This could include real-time data streams from social media, sensors, financial markets, and other sources. The ability to process and analyze data quickly is crucial.</em></li><li><strong>Veracity:<em> </em></strong><em>Big data is often dirty or uncertain, meaning it might contain errors, inconsistencies, or inaccuracies due to various reasons such as human error, data entry problems, or technical glitches.</em></li><li><strong>Value:<em> </em></strong><em>The ultimate goal of analyzing big data is to extract valuable insights, patterns, and knowledge that can lead to better decision-making and strategic business moves.</em></li><li><strong>Variability:<em> </em></strong><em>Data flows can be inconsistent. Some data sources might be intermittent or irregular, causing challenges in processing and analysis.</em></li><li><strong>Complexity:<em> </em></strong><em>The data can be complex in terms of its structure and relationships. Big data analysis often involves dealing with intricate data models, relationships, and hierarchies.</em></li><li><strong>Context:<em> </em></strong><em>Understanding the context in which data is generated and collected is important for proper analysis and interpretation.</em></li><li><strong>Privacy and Security:<em> </em></strong><em>Handling big data often involves sensitive information, so ensuring privacy and security of the data is crucial to prevent unauthorized access and breaches.</em></li></ol><p><strong>Traditional Data:</strong> <em>Big data requires specific tools for storage, processing, and analysis because it exceeds the capacity of regular databases.</em></p><h3><strong>Big Data sources include:</strong></h3><p><em>Facebook interactions<br>IoT device sensor data<br>Transactional history<br>Clickstreams and web logs<br>data created by machines</em></p><h3><strong>Challenges:</strong></h3><p><em>Speed of processing and scalability<br>Integrating and cleansing data<br>Security and privacy issues<br>obtaining insightful conclusions</em></p><h3>Opportunities:</h3><p><em>decision-making that is improved by data-driven insights<br>enhanced client experiences<br>more efficient product development<br>Analytics and predicting for the future</em></p><h3>Technologies and tools:</h3><p><em>Hadoop: A framework for distributed processing and storage<br>Spark: a quick and flexible data processing tool<br>SQL-free databases: efficiently storing unstructured data<br>Algorithms for machine learning Identify patterns in massive data<br>Tools for data visualization: Deliver difficult insights in a clear manner.</em></p><h3>Applications:</h3><p><em>Business analytics and intelligence<br>Optimizing medical diagnosis and treatment</em></p><p><em>Awareness of fraud and cybersecurity<br>Modeling the climate and scientific study</em></p><h3>Upcoming trends</h3><p><em>Edge computing at the data source for real-time processing<br>Continual expansion of data produced by IoT<br>increased attention to data ethics and privacy laws</em></p><h3>Value:</h3><p><em>Big data’s capacity to offer previously inaccessible insights allows for more informed decisions and creative solutions across a range of sectors.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1cdf09570768" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Do you know about DBMS vs RDBMS? , Lets find out that.]]></title>
            <link>https://medium.com/@rculas17/do-you-know-about-dbms-vs-rdbms-lets-find-out-that-b1d25ddf9cae?source=rss-2d14b75fa5b2------2</link>
            <guid isPermaLink="false">https://medium.com/p/b1d25ddf9cae</guid>
            <dc:creator><![CDATA[Roshni Kulas]]></dc:creator>
            <pubDate>Wed, 16 Aug 2023 14:12:46 GMT</pubDate>
            <atom:updated>2023-08-16T14:12:46.623Z</atom:updated>
            <content:encoded><![CDATA[<h4><strong>Do you know about DBMS vs RDBMS? , Lets find out that.</strong></h4><p><strong>Introduction</strong> : In data management, Database Management System (DBMS) and Relational Database Management System (RDBMS) are important roles. These systems are designs for store the data, manage the data brilliant and retrieve the data in data management. These designs are same among them but they have some different between them. Functionality, structure and method use, these are the different between them.</p><ol><li><strong>Database Management System : </strong><em>Data’s are stored in a file system it is like may be in table but there is no relationship between files or tables. Data stored in hierarchical form or a tree form. There is no security transaction.</em></li></ol><p><strong>Examples of RDBMS :</strong></p><ol><li>MariaDB</li><li>Redis</li><li>10 SQLite</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RxfwAlcznehPsping9yWOQ.png" /></figure><p><strong>2. Relational Database Management System : </strong><em>It is mainly contain relationship. This system to maintain data and indexes in a table by creating relationships within tables to ensure data integrity. Data’s are stored in table form. All the table have relationship between them. Relationship are created by means of keys. A. Primary key , B. Foreign key. We have Normalization in RDBMS.</em></p><p><strong>Examples of RDBMS :</strong></p><ol><li>SQL Server</li><li>Oracle</li><li>MySQL</li><li>PostgreSQL</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/604/1*KlKAiu9zYKlncTmjPGMe4Q.png" /></figure><p><strong>RDBMS Components Overview</strong></p><p><strong>Database : </strong><em>Structured data collection organized into the table, which include of rows and columns.</em></p><p><strong>Tables : </strong><em>Each table contain rows and columns. Data stored in tables, which represent different entities in database.</em></p><p><strong>Indexes : </strong><em>Improve data retrieval performance by creating indexes on columns to facilitate quicker searching.</em></p><p><strong>Column : </strong><em>Represents a particular data attribute or field.</em></p><p><strong>Row : </strong><em>It is represent one record or object.</em></p><p><strong>Primary key : </strong><em>It is uniquely identifies every row in a table.</em></p><p><strong>Foreign key : </strong><em>Primary key in another table is known as a foreign key.</em></p><p><strong>Normalization : </strong><em>Process of arranging data in tables to reduce the dependencies.</em></p><p><strong>Different between RDBMS vs DBMS</strong></p><p><strong>RDBMS</strong></p><p>a. Data in tabular form</p><p>b. Have identifier primary key and values are stored in the table form</p><p>c. Fully relationship</p><p>d. Supports distributes database</p><p>e. Handle large amount of data, multiple users</p><p><strong>DBMS</strong></p><p>a. Data as file</p><p>b. Hierarchical form or a navigational form</p><p>c. Normalization is not present in DBMS</p><p>d. Not apply any security</p><p>e. No relation between table</p><p>f. Does not support distributed database</p><p>g. Deal with small data and supports single user</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b1d25ddf9cae" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>