Consider a sales data store with the following data structure,where all values are either integer or real. Each record consistsof eight attributes; the set of allowable values of the attributesand format are specified in the description (metadata).
Order No Integer
Product No Integer
Price Price of each product (Real/Float)
Quantity Integer
Sales Real/Float
MonthId Integer (1-12)
YearId Integer
Sample records are included in the following table. You caninclude additional records to illustrate the solution
2. Assuming that the data is too large to be processed in acentralised manner in a relational database, and that it is storedin an ordinary file, produce a decentralised solution which appliesMapReduce to the data processing. Justify your decisions and allthe steps of your solution. Use diagrams if required.
\begin{tabular}{|l|l|l|l|l|l|l|} \hline OrderNo & ProductNo & Price & Quantity & Sales & Monthld & Yearld \\ \hline 10107 & 2 & 95.7 & 30 & 2871 & 2 & 2003 \\ \hline 10107 & 5 & 99.91 & 39 & 3896.49 & 2 & 2003 \\ \hline 10110 & 9 & 86.13 & 29 & 2497.77 & 2 & 2003 \\ \hline 10121 & 5 & 81.35 & 34 & 2765.9 & 11 & 2003 \\ \hline 10134 & 2 & 94.74 & 41 & 3884.34 & 7 & 2004 \\ \hline 10134 & 5 & 100 & 27 & 3307.77 & 7 & 2004 \\ \hline 10159 & 14 & 100 & 49 & 5205.27 & 10 & 2005 \\ \hline 10161 & 9 & 86.13 & 29 & 2497.77 & 10 & 2005 \\ \hline 10163 & 14 & 100 & 20 & 2000 & 10 & 2005 \\ \hline 10168 & 1 & 96.66 & 36 & 3479.76 & 10 & 2006 \\ \hline 10180 & 12 & 100 & 42 & 4695.6 & 11 & 2006 \\ \hline & & & & & & \\ \hline… & … & … & … & … & … & … \\ \hline & & & & & & \\ \hline \end{tabular}
Consider a sales data store with the following data structure, where all values are either integer or real. Each record
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Consider a sales data store with the following data structure, where all values are either integer or real. Each record
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!