<?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 Naweeth on Medium]]></title>
        <description><![CDATA[Stories by Naweeth on Medium]]></description>
        <link>https://medium.com/@naweeth26?source=rss-4965dcbafc1e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*JO0o1d20EqQT8ilC</url>
            <title>Stories by Naweeth on Medium</title>
            <link>https://medium.com/@naweeth26?source=rss-4965dcbafc1e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 11:32:08 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@naweeth26/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/@naweeth26/7-types-of-keys-in-dbms-f4a7953e7649?source=rss-4965dcbafc1e------2</link>
            <guid isPermaLink="false">https://medium.com/p/f4a7953e7649</guid>
            <dc:creator><![CDATA[Naweeth]]></dc:creator>
            <pubDate>Fri, 22 Sep 2023 16:32:00 GMT</pubDate>
            <atom:updated>2023-09-22T16:48:29.555Z</atom:updated>
            <content:encoded><![CDATA[<h3>Keys</h3><ul><li>Keys play an important role in the relational database.</li><li>It is used to uniquely identify any record or row of data from the table. It is also used to establish and identify relationships between tables.</li></ul><p><strong>For example,</strong> ID is used as a key in the Student table because it is unique for each student. In the PERSON table, passport_Number, license_Number, SSN are keys since they are unique for each person.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*t0IkLX6twPkKTklq.png" /></figure><h3>Types of keys</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NOzmG3EsiwXprmsAqa5sew.png" /></figure><h3>1. Primary key</h3><ul><li>It is the first key used to identify one and only one instance of an entity uniquely. An entity can contain multiple keys, as we saw in the PERSON table. The key which is most suitable from those lists becomes a primary key.</li><li>In the EMPLOYEE table, ID can be the primary key since it is unique for each employee. In the EMPLOYEE table, we can even select License_Number and Passport_Number as primary keys since they are also unique.</li><li>For each entity, the primary key selection is based on requirements and developers.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*XKbVH2f2tH0isMGH.png" /></figure><h3>2. Candidate key</h3><ul><li>A candidate key is an attribute or set of attributes that can uniquely identify a tuple.</li><li>Except for the primary key, the remaining attributes are considered a candidate key. The candidate keys are as strong as the primary key.</li></ul><p><strong>For example:</strong> In the EMPLOYEE table, id is best suited for the primary key. The rest of the attributes, like SSN, Passport_Number , License_Number, etc., are considered a candidate key.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/450/0*LcIJz8ojYOE4YGg8.png" /></figure><h3>3. Super Key</h3><p>Super key is an attribute set that can uniquely identify a tuple. A super key is a superset of a candidate key.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/450/0*mnTZtI_vrADFa35T.png" /></figure><p><strong>For example:</strong> In the above EMPLOYEE table, for(EMPLOEE_ID, EMPLOYEE_NAME), the name of two employees can be the same, but their EMPLYEE_ID can’t be the same. Hence, this combination can also be a key.</p><p>The super key would be EMPLOYEE-ID (EMPLOYEE_ID, EMPLOYEE-NAME), etc.</p><h3><strong>4. Foreign key</strong></h3><ul><li>Foreign keys are the column of the table used to point to the primary key of another table.</li><li>Every employee works in a specific department in a company, and employee and department are two different entities. So we can’t store the department’s information in the employee table. That’s why we link these two tables through the primary key of one table.</li><li>We add the primary key of the DEPARTMENT table, Department_Id, as a new attribute in the EMPLOYEE table.</li><li>In the EMPLOYEE table, Department_Id is the foreign key, and both the tables are related.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*cTQAOe3UQvLNgCRL.png" /></figure><h3>5. Alternate key</h3><p>There may be one or more attributes or a combination of attributes that uniquely identify each tuple in a relation. These attributes or combinations of the attributes are called the candidate keys. One key is chosen as the primary key from these candidate keys, and the remaining candidate key, if it exists, is termed the alternate key. <strong>In other words,</strong> the total number of the alternate keys is the total number of candidate keys minus the primary key. The alternate key may or may not exist. If there is only one candidate key in a relation, it does not have an alternate key.</p><p><strong>For example,</strong> employee relation has two attributes, Employee_Id and PAN_No, that act as candidate keys. In this relation, Employee_Id is chosen as the primary key, so the other candidate key, PAN_No, acts as the Alternate key.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*f_8Yk3YvPlkAxa_Q.png" /></figure><h3>6. Composite key</h3><p>Whenever a primary key consists of more than one attribute, it is known as a composite key. This key is also known as Concatenated Key.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/550/0*CrQ8FhsRA84jwQNq.png" /></figure><p><strong>For example,</strong> in employee relations, we assume that an employee may be assigned multiple roles, and an employee may work on multiple projects simultaneously. So the primary key will be composed of all three attributes, namely Emp_ID, Emp_role, and Proj_ID in combination. So these attributes act as a composite key since the primary key comprises more than one attribute.</p><h3>7. Artificial key</h3><p>The key created using arbitrarily assigned data are known as artificial keys. These keys are created when a primary key is large and complex and has no relationship with many other relations. The data values of the artificial keys are usually numbered in a serial order.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/450/0*7KlqouK6HM9DnMKB.png" /></figure><p><strong>For example,</strong> the primary key, which is composed of Emp_ID, Emp_role, and Proj_ID, is large in employee relations. So it would be better to add a new virtual attribute to identify each tuple in the relation uniquely.</p><h3>Conclusion</h3><p>Keys and functional dependencies play a very vital role in designing a database. These concepts also help to find the difference between good and bad database design. The final process of removing redundancies and making the database efficient is normalization, which uses all concepts mentioned in this article.</p><p>Keys’ characteristics of establishing integrity and identifying the relationship between two tables are their most vital feature, allowing users to edit data with precision while maintaining uniqueness. From alternate keys to composite, the goal is to separate the identity of each record through unique keys defining separate qualities</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f4a7953e7649" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[BIG DATA MANAGEMENT]]></title>
            <link>https://medium.com/@naweeth26/big-data-management-ec9d8ca3e338?source=rss-4965dcbafc1e------2</link>
            <guid isPermaLink="false">https://medium.com/p/ec9d8ca3e338</guid>
            <dc:creator><![CDATA[Naweeth]]></dc:creator>
            <pubDate>Wed, 23 Aug 2023 16:00:22 GMT</pubDate>
            <atom:updated>2023-10-01T16:13:37.752Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>What is big data?</strong></h3><p>Big data is a combination of structured, semi structured and unstructured 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>Systems that process and store big data have become a common component of data management architectures in organizations, combined with tools that support big data analytics uses. Big data is often characterized by the three V’s:</p><p>.The large volume of data in many environments.</p><p>· The wide variety of data types frequently stored in big data systems.</p><p>· The velocity at which much of the data is generated, collected and processed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/411/1*uGJeByLQ_mLKwdipY4a0UQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RMJn0CCuOmyNcj_T-rc_WQ.jpeg" /></figure><h3>Why is big data important?</h3><p>Companies use big data in their systems to improve operations, provide better customer service, create personalized marketing campaigns and take other actions that, ultimately, can increase revenue and profits. Businesses that use it effectively hold a potential competitive advantage over those that don’t because they’re able to make faster and more informed business decisions.</p><p>For example, big data provides valuable insights into customers that companies can use to refine their marketing, advertising and promotions in order to increase customer engagement and conversion rates. Both historical and real-time data can be analyzed to assess the evolving preferences of consumers or corporate buyers, enabling businesses to become more responsive to customer wants and needs.</p><p>Big data is also used by medical researchers to identify disease signs and risk factors and by doctors to help diagnose illnesses and medical conditions in patients. In addition, a combination of data from electronic health records, social media sites, the web and other sources gives healthcare organizations and government agencies up-to-date information on infectious disease threats or outbreaks.</p><h3>Benefits and Advantages of Big Data Analytics</h3><h4>. Risk Management</h4><p>Banco de Oro, a Philippine banking company, uses Big Data analytics to identify fraudulent activities and discrepancies. The organization leverages it to narrow down a list of suspects or root causes of problems.</p><h4>. Product Development and Innovations</h4><p>Rolls-Royce, one of the largest manufacturers of jet engines for airlines and armed forces across the globe, uses Big Data analytics to analyze how efficient the engine designs are and if there is any need for improvements.</p><h4>. Quicker and Better Decision Making Within Organizations</h4><p>Starbucks uses Big Data analytics to make strategic decisions. For example, the company leverages it to decide if a particular location would be suitable for a new outlet or not. They will analyze several different factors, such as population, demographics, accessibility of the location, and more.</p><h4>. Improve Customer Experience</h4><p>Delta Air Lines uses Big Data analysis to improve customer experiences. They monitor tweets to find out their customers’ experience regarding their journeys, delays, and so on. The airline identifies negative tweets and does what’s necessary to remedy the situation. By publicly addressing these issues and offering solutions, it helps the airline build good customer relations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/575/1*hcDSnW-wh3KRI8SkQ-ecCA.png" /></figure><h3><strong>Big Data Analytics Tools</strong></h3><p>· Hadoop — helps in storing and analyzing data</p><p>· MongoDB — used on datasets that change frequently</p><p>· Talen — used for data integration and management</p><p>· Cassandra — a distributed database used to handle chunks of data</p><p>· Spark — used for real-time processing and analyzing large amounts of data</p><p>· STORM — an open-source real-time computational system</p><p>· Kafka — a distributed streaming platform that is used for fault-tolerant storage</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NwMdkOah6jTtSGtC1DeDag.png" /></figure><h3><strong>The Lifecycle Phases of Big Data Analytics</strong></h3><p>Now, let’s review how Big Data analytics works:</p><p>· Stage 1 — Business case evaluation — The Big Data analytics lifecycle begins with a business case, which defines the reason and goal behind the analysis.</p><p>· Stage 2 — Identification of data — Here, a broad variety of data sources are identified.</p><p>· Stage 3 — Data filtering — All of the identified data from the previous stage is filtered here to remove corrupt data.</p><p>· Stage 4 — Data extraction — Data that is not compatible with the tool is extracted and then transformed into a compatible form.</p><p>· Stage 5 — Data aggregation — In this stage, data with the same fields across different datasets are integrated.</p><p>· Stage 6 — Data analysis — Data is evaluated using analytical and statistical tools to discover useful information.</p><p>· Stage 7 — Visualization of data — With tools like Tableau, Power BI, and QlikView, Big Data analysts can produce graphic visualizations of the analysis.</p><p>Stage 8 — Final analysis result — This is the last step of the Big Data analytics lifecycle, where the final results of the analysis are made available to business stakeholders who will take action.</p><h3>Keys to an effective big data strategy</h3><p>In an organization, developing a big data strategy requires an understanding of business goals and the data that’s currently available to use, plus an assessment of the need for additional data to help meet the objectives. The next steps to take include the following:</p><p>· prioritizing planned use cases and applications.</p><p>· identifying new systems and tools that are needed.</p><p>· creating a deployment roadmap.</p><p>· evaluating internal skills to see if retraining or hiring are required.</p><p>To ensure that sets of big data are clean, consistent and used properly, a data governance program and associated data quality management processes also must be priorities. Other best practices for managing and analyzing big data include focusing on business needs for information over the available technologies and using data visualization to aid in data discovery and analysis.</p><h3>Summing up</h3><p>In this blog, an overview of big data’s content, scope, samples, methods, advantages and challenges and discusses privacy concern have been reviewed. The results have shown that even if available data, tools and techniques available in the literature, there are many points to be considered, discussed, improved, developed, analyzed, etc. Besides, the critical issue of privacy and security of the big data is the big issue will be discussed more in future. Although this blog clearly has not resolved the entire subject about this substantial topic, hopefully it has provided some useful discussion for researchers.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ec9d8ca3e338" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[12+ Difference Between DBMS and RDBMS]]></title>
            <link>https://medium.com/@naweeth26/12-difference-between-dbms-and-rdbms-c44ec6107dc2?source=rss-4965dcbafc1e------2</link>
            <guid isPermaLink="false">https://medium.com/p/c44ec6107dc2</guid>
            <dc:creator><![CDATA[Naweeth]]></dc:creator>
            <pubDate>Wed, 16 Aug 2023 16:09:27 GMT</pubDate>
            <atom:updated>2023-08-16T16:37:58.401Z</atom:updated>
            <content:encoded><![CDATA[<p>We’re constantly looking for new ways to store data, whether it be in hard copies or virtual clouds. However, it’s important to be able to access the information, add new data, and modify the information in addition to simply storing it. A database also needs to have all of these features. All of this and more is done by DBMS in a database.</p><p>A software program called a database management system (DBMS) is used to store a lot of data in databases. A DBMS offers a platform for effective data management and upkeep. Microsoft Access is a common illustration of such a system .In this article, we will discuss the difference between DBMS and RDBMS .Database Management Systems and Relational Database Management Systems.</p><p>In short, they’re similar but not identical. There’s a lot of overlap between them — most people would say that any modern relational database can be considered a “database management system”. But let’s see in detail what is the difference between them and why RDBMS is called an advanced version of DBMS.</p><h3>What is a Database?</h3><p>To understand a Database, it is very important to know about Data first. Data is something that we use in our day-to-day life without even noticing it. Your mobile phone’s phone book contains all of the saved phone numbers, and it is specifically structured data. These data are organized and stored in a way that makes it simple to access and edit the names, phone numbers, and email addresses that are connected to one another. A database is all that is used to organize these data.</p><p>A database is an organized collection of structured information, or data, typically stored electronically in a computer system.</p><p>key features of the database are:</p><ol><li>A database contains records that contain columns.</li><li>Each record has one primary key field. This key uniquely identifies every row within the table consisting of different values.</li><li>Every column stores a specific type of value like text, number, etc.</li><li>There may be multiple tables linked together using foreign keys.</li><li>Tables have relationships among them through foreign keys.</li></ol><h3><strong>What is Database Management System (DBMS)?</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/866/1*3ZTuqx7De04j4X4__uKT9Q.png" /></figure><p>DBMS is a collection of programs that enables user to create and maintain a database. A DBMS is a collection of programs that manages the database structure and controls access to the data stored in the database. Let’s first understand what is the need for DBMS before understanding what is DBMS.</p><h3><strong>What is the need for DBMS?</strong></h3><p>Imagine you want to add more contact numbers to your mobile phone, combine two contacts that are already there, or remove the contact numbers that are currently stored there. We might even consider doing this manually given the small amount of data involved. But if we take a really large database, having records in millions, it’d be stupid of us to even think about doing these operations manually.</p><p>DBMS was first introduced in the 1960s. Today, most of the giant companies have their own Database Management Systems or database software to manage their database which is also available in the market. A popular example of DBMS is the Oracle database version 19c used by Oracle.</p><h3><strong>What is Relational Database Management System (RDBMS)?</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/788/1*Vny6GOSW6Q_5n2qfFujZzA.png" /></figure><p>In a database management system, the data is kept in either a hierarchical or navigational form. Because of this, it is difficult to manipulate or even use basic operations on it. Because it stores data in the form of tables or relational schema, users prefer relational database management systems to database management systems. Accessing, retrieving, or viewing data in tabular form is made simple by RDBMS.RDBMS is the advanced version of DBMS.</p><p>The database management system software known as RDBMS, or Relational Database Management System, is used to manage and maintain data in table format. In tables with specific column names, the database for RDMS stores all the related data. RDBMS offers a selection of tools for SQL relation manipulation. So basically, RDBMS allows you to query and modify data from a single source instead of accessing several sources separately. RDBMS even supports complex queries and retrieves data in a single go. A common example of RDBMS is DB2 used by IBM, or MySQL developed by Oracle.</p><p>RDBMS supports ACID property while performing different operations. The ACID property provides a mechanism to ensure the correctness and consistency of a database. Although the ACID property is supported by both RDBMS and DBMS, RDBMS is still more durable due to its Relational Schema storing feature.</p><p>The ACID property stands for Atomicity, Consistency, Isolation, and Durability. A database’s ACID property essentially rates a variety of features like security, consistency, and redundancy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/783/1*j1mxx_Y57G0-6jOaK5tgog.png" /></figure><h3>DBMS vs RDBMS: Key Differences</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/980/1*3MpnSVZ_dFhTYSxLuijrBQ.png" /></figure><h3><strong>Common Questions Asked on DBMS and RDBMS</strong></h3><p>1. What’s the key difference between DBMS, RDBMS, and SQL?</p><p>In RDBMS and DBMS major difference is in the database structure. RDBMS stores data in tabular structure whereas the latter stores in a file format. Additionally, while DBMS follows a hierarchical model for data organization, RDBMS uses a relational model.</p><p>2. Which is better DBMS or RDBMS?</p><p>It is very much clear after reading the above key differences between both that RDBMS is way better than DBMS because of integrity constraints at the schema level and differences in formats of their data storage.</p><p>3. What are the types of DBMS?</p><ul><li>Hierarchical database</li><li>Network database</li><li>Relational database</li><li>Object-Oriented database</li></ul><h3><strong>Summing up</strong></h3><p>RDBMS is an advanced form of DBMS that supports a number of features like data integrity, which makes sure that there is no data redundancy or inconsistency. It is much simpler to manage and update because RDBMS support normalization. RDBMS has a higher data access speed than DBMS because there is no data duplication.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c44ec6107dc2" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>