<?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"><channel><title><![CDATA[CS614 Assignment No.2 Solution and Discussion]]></title><description><![CDATA[<p dir="auto"><img src="/assets/uploads/files/1559297122096-57dcc8d1-998d-408e-93e3-e66d5d483838-image.png" alt="57dcc8d1-998d-408e-93e3-e66d5d483838-image.png" class=" img-fluid img-markdown" /><br />
Assignment No. 02                         Semester: Spring 2019<br />
CS614: Data Warehousing<br />
Total Marks: 10 Due Date: 30-May-2019</p>
<p dir="auto">Objective:<br />
The objective of this assignment is to enhance the learning capabilities of the students about:<br />
•	De-Normalization<br />
•	Pre-Joining<br />
•	Storage Issues of Pre-joining</p>
<p dir="auto">Instructions:<br />
Please read the following instructions carefully before submitting assignment:<br />
You need to use MS word document to prepare and submit the assignment on VU-LMS.<br />
It should be clear that your assignment will not get any credit if:</p>
<p dir="auto">♣	The assignment is submitted after due date.<br />
♣	The assignment is not in the required format (.doc or docx)<br />
♣	The submitted assignment does not open or file is corrupt.<br />
♣	Assignment is copied(partial or full) from any source (websites, forums, students, etc)<br />
<br />
Assignment</p>
<p dir="auto">Question</p>
<p dir="auto">HyperMart is an online shopping store currently acquiring a large number of customers. To manage some performance issues this online store requires to de-normalize its database for order and Order detail tables.<br />
Normalized table structures are given below:</p>
<p dir="auto"><img src="/assets/uploads/files/1559297224385-1385b3a1-4d68-433e-9617-aaf2ee04e112-image.png" alt="1385b3a1-4d68-433e-9617-aaf2ee04e112-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Table Information</p>
<p dir="auto">•	Assume 1:12 record count ratio between Order master and Order detail for online store’s database<br />
•	Assume 10 million orders (120 million records in order detail).<br />
•	Assume 10 byte Order_ID.<br />
•	Assume 30 byte header for master and 60 byte header for detail tables.</p>
<p dir="auto">Task</p>
<p dir="auto">You are required to perform the following tasks:</p>
<ol>
<li>De-normalize the given tables using Pre-joining technique</li>
<li>Calculate the total space used with normalization</li>
<li>Calculate the total space used after de-normalization</li>
</ol>
<p dir="auto">Best of Luck!</p>
]]></description><link>https://community.secnto.com//topic/74/cs614-assignment-no-2-solution-and-discussion</link><generator>RSS for Node</generator><lastBuildDate>Mon, 08 Jun 2026 19:53:22 GMT</lastBuildDate><atom:link href="https://community.secnto.com//topic/74.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 31 May 2019 10:07:54 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to CS614 Assignment No.2 Solution and Discussion on Fri, 31 May 2019 16:52:41 GMT]]></title><description><![CDATA[<p dir="auto">CS614 Assignment Solution</p>
<p dir="auto">DENORMALIZED Table</p>
<ol>
<li>DE normalization using pre-joining</li>
</ol>
<p dir="auto">In pre-joining all columns are moved from the master table into the detail table</p>
<p dir="auto"><img src="/assets/uploads/files/1559321532563-a84b7c27-f4c1-4db4-8794-16a47960ec01-image.png" alt="a84b7c27-f4c1-4db4-8794-16a47960ec01-image.png" class=" img-fluid img-markdown" /><br />
Detail table<br />
2) Calculate the total space used with normalization</p>
<p dir="auto">SOL:</p>
<p dir="auto">Total space with normalization<br />
= (H.S of master table * records in master table) + (H.S of detail table * records in detail table)<br />
= (30 * 10) + (60 * 120)<br />
= 300 + 7200<br />
= 7.5 GB</p>
<p dir="auto">¥	Calculate the total space used after de-normalization<br />
Total space after de-normalization<br />
= (H.S of detail table + H.S of master table – common join path (orde_id)) * (records in detail table)<br />
= (60 + 30 - 10) * 120<br />
= 80 * 120<br />
=9600<br />
9.6 GB</p>
<p dir="auto"><a href="/assets/uploads/files/1559321464883-cs614-assignment-solution-72g6df.docx">CS614-Assignment-Solution(72G6dF).docx</a></p>
]]></description><link>https://community.secnto.com//post/135</link><guid isPermaLink="true">https://community.secnto.com//post/135</guid><dc:creator><![CDATA[moaaz]]></dc:creator><pubDate>Fri, 31 May 2019 16:52:41 GMT</pubDate></item></channel></rss>