<?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 Nilakshi Miyurangika on Medium]]></title>
        <description><![CDATA[Stories by Nilakshi Miyurangika on Medium]]></description>
        <link>https://medium.com/@nmiyurangika1223?source=rss-5519f38869df------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*-NX0tITyg59tp-aK</url>
            <title>Stories by Nilakshi Miyurangika on Medium</title>
            <link>https://medium.com/@nmiyurangika1223?source=rss-5519f38869df------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 11:34:22 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@nmiyurangika1223/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[Finding records using Keys …]]></title>
            <link>https://medium.com/@nmiyurangika1223/finding-records-using-keys-43e30fa0633?source=rss-5519f38869df------2</link>
            <guid isPermaLink="false">https://medium.com/p/43e30fa0633</guid>
            <dc:creator><![CDATA[Nilakshi Miyurangika]]></dc:creator>
            <pubDate>Tue, 19 Sep 2023 18:04:34 GMT</pubDate>
            <atom:updated>2023-09-19T18:04:34.313Z</atom:updated>
            <content:encoded><![CDATA[<h3>Finding records using Keys …</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/452/1*j9lgumCVKwmPDO_r-qEtDA.jpeg" /></figure><blockquote>The point of a database is to store data to be retrieved easily in the future. During retrieval, it would be convenient to get back relevant data based on as few parameters as possible.</blockquote><blockquote>It’s all to do with convenience. For example, in a database of Students, it would be hard to find a student based on his grades or age. A slightly better method would be to query the student’s name. However, in many cases, more than one student can have the same name. To distinguish between these students, we use the concept of enroll numbers.</blockquote><blockquote>This way, no two students can have the same roll number, which means, we can uniquely identify all students from their enroll numbers.</blockquote><blockquote>A key is an attribute or a set of attributes that can uniquely identify an entire row in a database.<br> In simple databases, one attribute is enough to uniquely identify all rows. However, that’s not always the case.</blockquote><blockquote><strong><em>Super key</em></strong></blockquote><blockquote>* Super key is a set of attributes whose set of values can uniquely identify an entity instance in the entity set.</blockquote><blockquote>* A super key can contain one or more than one attributes.</blockquote><blockquote>* Super key is the broadest definition of unique identifiers of an entity in an entity set.</blockquote><blockquote>* Importance of Super Key</blockquote><blockquote>* We can find the maximum number of super keys using, “2^n -1”, and can get this maximum key when all attributes of table are not duplicate and unique.</blockquote><blockquote>* The main purpose of a super key is just to identify rows in the table. In many cases, you can’t identify a table with any random column, since a column with duplicates will not be able to identify a unique row.</blockquote><blockquote>* Super Keys remove this ambiguity and make data retrieval easy.</blockquote><blockquote><strong><em>Candidate key</em></strong></blockquote><blockquote>* Candidate key is a set of one or more attributes whose set values can uniquely identify an entity instance in the entity set.</blockquote><blockquote>* Any attribute in the candidate key cannot be omitted without destroying the uniqueness property of the Candidate key.</blockquote><blockquote>* It is minimal Super key.</blockquote><blockquote><strong>Super key Vs Candidate key….</strong></blockquote><blockquote><em>Super Key — </em><br> Definition: A set of one or more attributes that can uniquely identify a tuple in a relation. <br> Unique: Yes <br> Minimal: No <br> Purpose: Used for functional dependency determination and normalization.<br> Example: {ID, Name}</blockquote><blockquote><em>Candidate Key — </em><br> Definition: A minimal set of attributes that can uniquely identify a tuple in a relation.<br> Unique: Yes <br> Minimal: Yes<br> Purpose: Used for functional dependency determination and normalization. <br> Example: {ID}</blockquote><blockquote><strong><em>Alternate key</em></strong></blockquote><blockquote>*Alternate Key is the key that has not been selected to be the primary key, but are candidate keys.</blockquote><blockquote>*However, it is considered a candidate key for the primary key.</blockquote><blockquote>*A candidate key not selected as a primary key is called alternate or secondary key. Candidate key is an attribute or set of attributes that you can consider as a Primary key</blockquote><blockquote><strong><em>Unique key</em></strong></blockquote><blockquote>* Unique Key is a column or set of columns that uniquely identify each record in a table.</blockquote><blockquote>* All values will have to be unique in this Key.</blockquote><blockquote>* A unique Key differs from a primary key because it can have only one null value, whereas a primary Key cannot have any null values.</blockquote><blockquote><strong><em>Primary key</em></strong></blockquote><blockquote>* Primary key is a column of a table or a set of columns that helps to identify every record present in that table uniquely.</blockquote><blockquote>* There can be only one primary Key in a table. Also, the primary Key cannot have the same values repeating for any row.</blockquote><blockquote>*Every value of the primary key must be different with no repetitions</blockquote><blockquote>* The PRIMARY KEY (PK) constraint put on a column or set of columns will not allow them to have any null values or any duplicates.</blockquote><blockquote>* One table can have only one primary key constraint.</blockquote><blockquote>* Any value in the primary key cannot be changed by any foreign keys</blockquote><blockquote><strong><em>Composite key</em></strong></blockquote><blockquote>*A composite Key is a set of two or more attributes that help identify each tuple in a table uniquely.</blockquote><blockquote>*The attributes in the set may not be unique when considered separately. However, when taken all together, they will ensure uniqueness.</blockquote><blockquote>*The ‘concatenated key’ is another name for a composite key.</blockquote><blockquote><strong><em>Foreign Key</em></strong></blockquote><blockquote>*Foreign Key is used to establish relationships between two tables.</blockquote><blockquote>* A foreign key will require each value in a column or set of columns to match the Primary Key of the referential table.</blockquote><blockquote>*Foreign keys help to maintain data and referential integrity.</blockquote><blockquote>* Foreign keys are essential for maintaining a difference between two entities that might be linked with the same information but do not share similar information.</blockquote><blockquote>* In such cases, the tables are linked to maintaining a connection but do not entirely work as a replacement for each other.</blockquote><blockquote>* For instance, any individual working for the marketing department might have marketing department information in its employee table, but that does not mean the table can be similar to the department table held by the marketing department.</blockquote><blockquote><strong><em>What is the relationship between these keys?</em></strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*-9nnhF0lwrMZkzJhdXiRlQ.jpeg" /></figure><blockquote>Primary key is subset of Candidate key.</blockquote><blockquote>Candidate key is subset of Super key.</blockquote><h4>Relationship Conclusion</h4><blockquote>Candidate key is not a proper subset of super keys.</blockquote><blockquote>Within candidate keys get only one for primary key and reminders are Alternative keys</blockquote><blockquote>Unique key can be a Primary key but Primary key always not a Unique key.</blockquote><blockquote>Composite key is a primary key when it has more than one attributes.</blockquote><blockquote>Foreign key use for relating two relations (tables).</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*UTBQ00U28VIH_iuzC8noGQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=43e30fa0633" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Behind the scenes of data]]></title>
            <link>https://medium.com/@nmiyurangika1223/behind-the-scenes-of-data-827825e38789?source=rss-5519f38869df------2</link>
            <guid isPermaLink="false">https://medium.com/p/827825e38789</guid>
            <dc:creator><![CDATA[Nilakshi Miyurangika]]></dc:creator>
            <pubDate>Tue, 22 Aug 2023 16:35:31 GMT</pubDate>
            <atom:updated>2023-08-22T16:35:31.231Z</atom:updated>
            <content:encoded><![CDATA[<blockquote><strong>Big data</strong> is a combination of unstructured, semi-unstructured or structured<a href="https://www.techtarget.com/whatis/definition/structured-data"> </a>data collected by organizations. This data can be mined to gain insights and used in machine learning projects, predictive modeling and other advanced analytics applications.</blockquote><blockquote>We allude smart phones, but have you ever wondered how much data it generates in the form of texts phone calls emails photos videos searches and music approximately 40 exabytes of data gets generated every month by a single smart phone user. Now Imagene this number multiplied by 5 billion smartphones users that’s a lot for our mind even process isn’t it in fact this amount of data is quite a lot for traditional computing systems to handling and this massive amount of data is what we term as big data.</blockquote><blockquote>Let’s have a look at the generated per minute on the internet.<br>2.1 million snaps are shared on snapchat.<br>3.8 million search queries are made on google. <br>1 million people log onto Facebook. <br>4.5 million videos are watched on YouTube. <br>188 million emails are sent that’s a lot of data.</blockquote><blockquote>In this situation we should handle data correctly</blockquote><blockquote><strong>Top benefits of big data</strong></blockquote><blockquote>Customer Acquisition and Retention. The digital footprints of customers reveal a lot about their preferences, needs, purchase behavior, etc.</blockquote><blockquote>Focused and Targeted Promotions.</blockquote><blockquote>Potential Risks Identification.</blockquote><blockquote>Innovate.</blockquote><blockquote>Complex Supplier Networks.</blockquote><blockquote>Cost optimization.</blockquote><blockquote>Improve Efficiency</blockquote><blockquote><strong><em>Classification of Big Data</em></strong></blockquote><blockquote>This is possible with the concept of 5V’s.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*IY6neGyCWXNiWECUj82XSg.png" /></figure><blockquote><strong><em>Volume</em></strong></blockquote><blockquote>The volume of data refers to the size of the data sets that need to be analyzed and processed, which are now frequently larger than terabytes and petabytes. The sheer volume of the data requires distinct and different processing technologies than traditional storage and processing capabilities. In other words, this means that the data sets in Big Data are too large to process with a regular laptop or desktop processor. An example of a high-volume data set would be all credit card transactions on a day within Europe.</blockquote><blockquote>Ex : Walmart deals with big data</blockquote><blockquote><strong><em>Velocity</em></strong></blockquote><blockquote>Velocity refers to the speed with which data is generated. High velocity data is generated with such a pace that it requires distinct (distributed) processing techniques. An example of a data that is generated with high velocity would be Twitter messages or Facebook posts.</blockquote><blockquote>Ex : Twitter messages or Facebook posts</blockquote><blockquote><strong><em>Variety</em></strong></blockquote><blockquote>Variety makes Big Data really big. Big Data comes from a great variety of sources and generally is one out of three types.</blockquote><blockquote>* Structured</blockquote><blockquote>* Semi — Structured</blockquote><blockquote>* Unstructured</blockquote><blockquote>The variety in data types frequently requires distinct processing capabilities and specialist algorithms. An example of high variety data sets would be the CCTV audio and video files that are generated at various locations in a city.</blockquote><blockquote>Ex : emails, PDFs, photos, videos, audios, SM posts</blockquote><blockquote><strong><em>Veracity</em></strong></blockquote><blockquote>Veracity refers to the quality of the data that is being analyzed. High veracity data has many records that are valuable to analyze and that contribute in a meaningful way to the overall results. Low veracity data, on the other hand, contains a high percentage of meaningless data. The non-valuable in these data sets is referred to as noise. An example of a high veracity data set would be data from a medical experiment or trial.</blockquote><blockquote>Ex: data from a medical experiment or trial</blockquote><blockquote><strong><em>Value</em></strong></blockquote><blockquote>The last V in the 5V’s of big data is value. This refers to the value that big data can provide, and it relates directly to what organizations can do with that collected data. Being able to pull value from big data is a requirement, as the value of big data increases significantly depending on the insights that can be gained from them.</blockquote><blockquote>Ex: Walmart deals with big data</blockquote><h3><strong><em>Big data analytics</em></strong></h3><blockquote><strong><em>Big data analytics</em></strong></blockquote><blockquote>Big data analytics refers to collecting, processing, cleaning, and analyzing large datasets to help organizations operationalize their big data.</blockquote><blockquote>1. Collect Data</blockquote><blockquote>Data collection looks different for every organization. With today’s technology, organizations can gather both structured and unstructured data from a variety of sources — from cloud storage to mobile applications to in-store IoT sensors and beyond. Some data will be stored in data warehouses where business intelligence tools and solution can access it easily. Raw or unstructured data that is too diverse or complex for a warehouse may be assigned metadata and stored in a data lake.</blockquote><blockquote>2. Process Data</blockquote><blockquote>Once data is collected and stored, it must be organized properly to get accurate results on analytical queries, especially when it’s large and unstructured. Available data is growing exponentially, making data processing a challenge for organizations. One processing option is batch processing, which looks at large data blocks over time. Batch processing is useful when there is a longer turnaround time between collecting and analyzing data. Stream processing looks at small batches of data at once, shortening the delay time between collection and analysis for quicker decision-making. Stream processing is more complex and often more expensive.</blockquote><blockquote>3. Clean Data</blockquote><blockquote>Data big or small requires scrubbing to improve data quality and get stronger results; all data must be formatted correctly, and any duplicative or irrelevant data must be eliminated or accounted for. Dirty data can obscure and mislead, creating flawed insights.</blockquote><blockquote>4. Analyze Data</blockquote><blockquote>Getting big data into a usable state takes time. Once it’s ready, advanced analytics processes can turn big data into big insights. Some of these big data analysis methods include:</blockquote><blockquote><strong>Data mining</strong> sorts through large datasets to identify patterns and relationships by identifying anomalies and creating data clusters.</blockquote><blockquote><strong>Predictive analytics</strong> uses an organization’s historical data to make predictions about the future, identifying upcoming risks and opportunities.</blockquote><blockquote><strong>Deep learning</strong> imitates human learning patterns by using artificial intelligence and machine learning to layer algorithms and find patterns in the most complex and abstract data.</blockquote><blockquote><strong>Big data analytics tools and technologies</strong></blockquote><blockquote>* Hadoop</blockquote><blockquote>* NoSQL databases</blockquote><blockquote>* MapReduce</blockquote><blockquote>* YARN</blockquote><blockquote>* Spark</blockquote><blockquote>* Tableau</blockquote><blockquote><strong>Benefits of big data analytics</strong></blockquote><blockquote>Cost reduction: - big data can reduce costs in storing all business data in one place. Tracking analytics also helps companies find ways to work more efficiently to cut costs wherever possible.</blockquote><blockquote>Product development: - Developing and marketing new products, services, or brands is much easier when based on data collected from customers’ needs and wants. Big data analytics also helps businesses understand product viability and to keep up with trends.</blockquote><blockquote>Strategic business decisions: - The ability to constantly analyze data helps businesses make better and faster decisions, such as cost and supply chain optimization.</blockquote><blockquote>Customer experience: - Data-driven algorithms help marketing efforts (targeted ads, for example) and increase customer satisfaction by delivering an enhanced customer experience.</blockquote><blockquote>Risk management:- Businesses can identify risks by analyzing data patterns and developing solutions for managing those risks.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=827825e38789" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Confidential property of RDMS and DBMS terminology]]></title>
            <link>https://medium.com/@nmiyurangika1223/confidential-property-of-rdms-and-dbms-terminology-74e9a2e00514?source=rss-5519f38869df------2</link>
            <guid isPermaLink="false">https://medium.com/p/74e9a2e00514</guid>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[product-management]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Nilakshi Miyurangika]]></dc:creator>
            <pubDate>Mon, 14 Aug 2023 19:59:43 GMT</pubDate>
            <atom:updated>2023-08-14T19:59:43.976Z</atom:updated>
            <content:encoded><![CDATA[<p><strong><em>DBMS (Database Management System)</em></strong></p><blockquote>A database management system (or DBMS) is nothing more than a computerized data keeping system. Users of the system are facilitated to perform several types of operations in such a system to manipulate the data in the database or manage the database structure. Database management systems (DBMSs) are classified according to their data structures or types.</blockquote><blockquote>There are several types of databases that can be used in a mainframe to exploit inverted list, hierarchy, grid, or relation.</blockquote><blockquote>Mainframe sites tend to use a hierarchical model when the data structure (not data values) of the data required by an application is relatively static. For example, a Bill of Materials (BOM) database structure always has a top-level assembly part number and several component levels with subcomponents. The structure usually has component forecast, cost and price data etc. The structure of the data for a BOM application rarely changes and new data elements (not values) are rarely identified. An application usually starts at the top with the assembly part number and goes down to the detail components.DBMS is a software program that allows user to interact with database in order to store, retrieve, and manipulate (insert, update, delete, view, backup) data. The DBMS servers as an interface between the database and the users or application programs. It introduced during 1960’s. There are mainly five types in DBMS. They are <strong>Navigational, Hierarchical DBMS, Network DBMS, OODBMS, ORDBMS</strong>.</blockquote><blockquote>In the Database Management System, data is stored as file system and data represented or access in hierarchical form or navigation from. There is no relationship between data and normalization is not available. It doesn’t support distributed database but can handle small data. It may have limited query capabilities. DBMS supports to single user at a time. It doesn’t support client server architecture and ACID property. Low software and hardware needs. Data redundancy problem exist.<br>Ex: File system, XML, FoxPro, MS Access</blockquote><blockquote><strong>Advantages of DBMS___</strong></blockquote><blockquote>1) Improves data sharing<br> 2) Reduces data redundancy<br> 3) Proper data integration<br> 4) Maintain data consistency<br> 5) Data security<br> 6)Maintains privacy<br> 7) Increase end-user productivity<br> 8) Data backup and recovery</blockquote><blockquote><strong>Disadvantages of DBMS___</strong></blockquote><blockquote>1) High cost of DBMS<br> 2) Higher hardware cost<br> 3) Appointing technical staff<br> 4) Cost of staff training<br> 5) Problems in wrong database environment<br> 6) Need of data dictionary</blockquote><blockquote><strong>RDBMS (Relational Database Management System)</strong></blockquote><blockquote>Relational databases include the following structures:</blockquote><blockquote><strong>Database :- </strong><br>A database is a logical group of data. It contains a set of related tablespaces and indexspaces. Generally, a database contains all the data associated with a single application or a group of related applications. For example, you might have a payroll database or an inventory database.</blockquote><blockquote><strong>Table :- </strong><br>A table is a logical structure consisting of rows and columns. The rows have no fixed order, so you may need to sort the data if you are retrieving the data. Column order is the order specified by the database administrator when the table was created. At the intersection of each column and row there is a specific data item called a value, or, more precisely, an atomic value. A table is named with the top-level qualifier of the owner’s user ID, followed by the table name, for example TEST.DEPT or PROD.DEPT. There are three types of tables:<br>1. A base table from which persistent data is created<br>2. A temporary table that stores intermediate query results<br>3. A table of results returned when you query tables.Indicators<br>An index is an ordered set of indexes for the rows of a table. Unlike the rows of a table in which there is no specified order, an index must always be maintained in order by DB2. An index is used for two purposes:<br>For performance, to get data values faster<br>For uniqueness.<br>By creating an index on the employee’s name, that employee’s data can be retrieved faster than scanning the entire table. Also, by creating a unique index on an employee number, DB2 will enforce the uniqueness of each value. The only way DB2 can enforce uniqueness is with a unique index.</blockquote><blockquote>Creating an index automatically creates the index space, the data set containing the index.</blockquote><blockquote>RDBMS is specific type of DBMS that uses the relational modal to store and manage data. It introduced during 1970’s. It uses the <strong>primary keys, foreign keys and indexes</strong> for create relations. In the RDBMS, records can’t be duplicate, and all records follow same format. All attributes should have name and the unique attribute must be primary key to the records. Field is intersection of record and attribute.</blockquote><blockquote>Keys :- <br>A key is one or more columns identified when creating a table or index or when defining referential integrity.</blockquote><blockquote><strong>Primary key</strong> :<br>A table can have only one primary key, so it defines the object. A primary key has two requirements:<br>It must have a value, i.e. it cannot be null.<br>It must be unique, that is, it must have a unique index defined on it.</blockquote><blockquote><strong>Unique key</strong> :<br>We already know that a primary key must be unique, but a table can have more than one unique key. In our EMP table example, the employee number is defined as the primary key and is therefore unique. If our table has a social security value, hopefully that value will be unique. To ensure this, you can create a unique index in the Social Security column.</blockquote><blockquote><strong>Foreign key :</strong><br>A foreign key is a key specified in a referential integrity constraint that depends for its existence on a primary or unique key (parent key) in another table.<br>The example given is the employee’s work department number relative to the primary key defined in the department number of the DEPT table. This constraint is part of the definition of the table.</blockquote><blockquote>In RDMS you can store data in a tabular form. Data is representing in tables. Relationship between data is also reparented in tables. Here we can apply normalization. It supports distributed database.It have the baility to handle complex queries and join multiple tables to recived data. RDMS can handle large amount of data and it supports multiple users at a time. It supports client server architecture and ACID property. Higher software and hardware needs. Data redundancy problem does not exist.<br>Ex: MYSQL, SQL, SQL Server, Oracle</blockquote><blockquote><strong>Advantages of RDBMS___</strong></blockquote><blockquote>1) Easy to use<br> 2) Secure<br> 3) Data manipulation<br> 4) Limit redundancy or replication of data<br> 5) Better integrity<br> 6) Provide physical data independence<br> 7) Better backup and recovery procedures <br> 8) Provides multiple interfaces</blockquote><blockquote><strong>Disadvantages of RDBMS___</strong></blockquote><blockquote>1) Software is expensive<br> 2) Complex software means expensive hardware<br> 3) Requires skilled knowledge to implement<br> 4) Certain applications are slower processing <br> 5) More difficult to recover if data is lost<br> 6) Seen as a poor representation of the real world</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*d3PxrapfjNIxI2iwLBzhqQ.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=74e9a2e00514" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>