SlideShare a Scribd company logo
1 of 10
llr+ cHApTEFt s Database Processing
(2) Doe's this design eliminate the potential for data integ-
rity problems that occur in the spreadsheet? lVhy or
whynot?
(3) Design a database for the data model that uses Izfork_
Version2. Speciff key and foreign key columns.
(4) Design a database for the data models that uses Work_
Version3. Specify key and foreign key columns.
(S) Is the design virrth Work_Version2 better than the de-
sign for Work_Version3? Mhy or why not?
d. Figure 5-30c shows a third alternative data model for the
sheet-music-tracking problem. In this data model, use
eilher Work_Version2
thinkis better.
(l) Select identifiers for each entity in your data model.
fustifuyour selection.
(Z) Summarize the differences between this data model
and that in Figure 5-30b. .4rhich data model is better?
whv?
(3) Design a database for this data model. Speciff key and
foreign key columns.
e. Which of the three data models is the best? ]ustify your
answer-
or Work_Version3, whichever you,i[]
Fait Away with Dynamo, Bigtabtq and Cassandra
As you learned in Case Study 1, Amazo4.com processed more
than 306 order items per second on its peak day of the 20L2
holiday sales season. To do that, it processed customer trans-
actions on tens of thousands of servers. With that many com_
puters, failure is inevitable. Even if the probability of any one
server failing is .0001, the likelihood that not one out of 10,000
of them fails is .9999 raised to the 10,000 powe6 which is about
.37. Thus, for these assumptions the likelihood of at least one
failure is 63 percent. For reasons that go beyond'the scope
of this discussion, the likelihood of failure is actually much
greater.
Amazon.com must be able to thrive, even in the presence
of such constant failure. Or, as Arriazon.com engineers stated:
"Customers should be able to .i"rar and add items to their
shopping cart even if disks are failing, network routes are flap-
ping, or data centers are being destroyed by tornados.,,e
The onlyway to deal with such failure is to replicate the data
on multiple servers. rwhen a customer stores a Wish List, for
example, that Wish List needs to be stored on different, geo_
graphically separated servers. Then, when (notice when, not
fl a server with one copy of the Wsh List fails, Amazon.com
applications obtain it from another server.
Such data replication solves one problem but introduces
another. Suppose that the customer's Wish List is stored on
servers A, B, and C and server A fails. yry'hile server A is
dolvn,
server B or C can provide a copy of the Wish List, but if the
customer changes it, that Wish List can only be rewritten to
servers B and C. It cannot be written to A, because A is not
running. Mhen server A comes back into service, it will have
the old copy of the Wish List. The nefi day, when the customer
reopens his or her Wish List, two different versions exist:
the most recent one on servers B and C and an older one on
server A. The customer wants the most current one. How can
Amazon.com ensure rhat it will be delivered? Keep in mind
that 15.6 million orders are being shipped while this goes on.
None of the current relational DBMS productS#as designed
for problems like this. Consequently, Amazon.com engineers
developed Dlmamo, a specialized data store for reliably pro_
cessing massive amounts of data on tens of thousands of serv_
ers. Dlmamo provides an always-open experience forAmazon.
com's retail customers; Amazon.com also sells Dlnamo store
services to others via its 53 Web Services product offering.
Meanwhile, Google was encountering similar problems
that could not be met by commercially available relational
DBMS products. In response, Google created Bigtable, a data
store for processing petabltes of data on hundreds of thou-
sands of servers.l0 Bigtable supports a richer data model than
Dlmamo, which means that it can store a greater variety of data
structures.
Both Dgramo and Bigtable are designed to be elastic; this
teim means ttrat the number of servers can dynamically in_
crease and decrease without disrupting performance.
sDecandi4
et al', "Dy'namo: Amazon's HighlyAvailable Key-value Store,"
Proceedings of the 2lstACM Symposium on operating systems
principles,Stevenson, WA, October 2007.
l0Fay Chang, Ieffrey Dean, san;'ay Ghemawat, wilson c. Hsieh,
Deborah A. wallach, Mike Burrows, Tushar chandra, Andrew
Fikes, and Robert E. Gruber,"BiSable: A Distributed storage
system for Structured Data,' osot.z.ooa,
_se1t"ni syiportu* on operating system Design and
Implementation, seattle,WA, last modified November 2006,
http://labs.google.com/papers/bigtable.htmt.
ln 2007, Facebook encountered similar data storag.e prob-
lems: Massive amounts of data, the need to be elastically scal-
able, tens of thousands of servers, and high volumes of traffic.
In response to this need, Facebook began development on
Cassandra, a data store that provides storage capabilities like
Dlmamo with a richer data model like Bigtable.ll'l2 Initially,
Facebook used Cassandra to power its Inbox Search. By 2008,
Facebook realized that it had a bigger project on its hands than
it wanted and gave the gource code to the open source com-
munity. As of 2012, Cassandra is used by Facebook, Twitter,
Digg, Reddit, Cisco, and many others.
Cassandra, by the way, is a fascinating name for a data store'
In Greek mythology, Cassandra was so beautiful that Apollo
fell in love with her and gav€ her the power to see the future.
Alas, Apoilo's love was unrequited and he cursed her so that no
one would ever believe her predictions. The name was appar-
ently a slam at Oracle.
Cassandra is elastic and fault-toleranq it supports mas-
sive amounts of data on thousands of servers and provides
durability, meaning that once data is committed to the data
store, it won't be lost, even in the presence of failure. One of
the most interesting characteristics of Cassandra is that clients
(meaning the programs that run Facebook, Twitter, etc') can
select the level of consistency that they need. If a client re-
quests that all servers always be current, Cassandrawill ensure
that that happens, but performance will be slow. At the other
end of the trade-off spectrum, clients can require no consis-
tency, whereby perform_ance is maximized. In between, clients
can require that a majority of the servers that store a data item
be consistent
Case Study 5 195
Cassandrafs performance is vastly superior to relational
DBMS products. In one comparison, Cassandra was found to
be 2,500 times faster than MySQL for write operations and 23
times faster for read operationsr3 on madsive amounts of data
on hundreds of thousands of possibly failing computers!
OIJEEiT!clNEi
5-5. Ctearly, Dynamo, Bigtable, and Cassandra are critical tech-
nology to the companies that created them. 'Vhy did they
allow their employees to publish academic papers about
them? Why did they not keep them as proprietary secrets?
5-6. lVhat do you think this movement means to the existing
DBMSvendors? How t"iiort is the NoSQL threat? lustiff
your answer. dhat responses by existing DBMS vendors
would he sensible?
5-7. Is it a waste of your time to learn about the relational
model and Microsoft Access? Why or why not?
5-8. Given what you know about AIlRoad Parts, should it use a
relational DBMS, such as Oracle Database or MySQL, or
should it use Cassandra?
5-9. Suppose that AllRoad decides to use a NoSQL solution,
but a battle emerges among the employees in the IT
department. One faction wants to use Cassandra, but
another faction wants to use a different NoSQL data stqre,
named MongoDB (www.mongodb.org). Assume that
you're Kelly, and Lucas asks for your opinion about how
he should proceed. How do you respond?
i
x1*Welcome to Apache Cassandrai' The Apache Software
Foundation, accessed Iune 201 1, http://cassandra.apache.org.
E The Cassandr; Distributed D atabasel' Parleys, accessed fuly I
6,2013, http://www.parleys.corn/#st=5&id=1866&sl=20.
x3'The Cassandra Distributed Database," Slide 2r.
Using Your Knowledge 191
Access' 166
Attributes l7s
BigData t8s
Bigtable 184
B)rte 160
Cassandra IB4
Columns 160
Crow's feet I77
Crow's-footdiagram ITT
Dataintegrityproblem lZ9
Data model 175
Database 160
Databaseadministration l68
Databaseapplication 168
Database management system
(DBMS) 166
DBz 166
Durability 195
Dl,namo 184
Elastic 194
Entity 175
Entity-relationship (E-R) data
model 175
Entity-relationship (E-R)
qragrams I / /
Fields 160
File 160
Foreign keys .163
Graphicalqueries 172
Identifier 175
Key 162
Lost-updateproblem 174
Many-to-many(N:M)
relationships 177
Maximumcardinality IZB
Metadata 163
Minimumcardinality l7g
MongoDB 184
Multi-userprocessing lZ4
MySQL 166
Normal forms 180
Normalization IZB
NoSQLdatabases lB4
One-to-many (l:N)
relationships l7z
Oracle Database 166
Primarykey 162
Records 160
Relation I63
Relationaldatabases 163
Relationships 176
Rows 160
SQL Server 166
Structured QueryLanguage (SeL) t6B
Table 160
Unifi ed Modeling Language
(UML) t7s
MyMlSLab
Go to mymislab.com to complete the probrems marked with this
icon e.
5-1. Draw an entity-relationship diagram that shows the rela_
tionships among a database, database applications, and
users.
5-2. Consider the relationship between Aduiser and Studentin
Figure 5-21. Explain what it means if the maximum cardi_
nality of this relationship is:
a. N:I
b. 1:1
c. 5:l
d. 1:5
5-3. Identiff two entities in the data entry form in Figure 5-28.
Mhat attributes are shown for each? What do you think
are the identifiers?
5-4. Visit www.acxiom.com. Naiigate the site to answer the
following questions.
a. According to the Web site, what is Acxiorns privacy
policy? Are you reassured by its policy? Ahy or why not?
b. Make a list of 10 different products that Acxiorn
provides.
c. Describe Acxiom's top customers.
d. Examine your answers in parts b and c and describe,
in general terms, the kinds of data that Acxiom must
be collecting to be able to provide those products to
those customers.
e. A/hat is the funcdon of InfoBase?
f. lVhat is the function of personicX?
g. In what ways might cornpanies like Acxiom need to
limit their marketing so as to avoid a privacy outcry
from the public?
h. Should there be laws that govern companies like
Acxiom? 4/hy or why not?
i. Should there be laws that govern the types of data
services that governmental agencies can buy from
companies like Acxiom? Allry or whynot?

More Related Content

Similar to llr+ cHApTEFt s Database Processing(2) Does this design e.docx

Prepare Your Data For The Cloud
Prepare Your Data For The CloudPrepare Your Data For The Cloud
Prepare Your Data For The CloudIndicThreads
 
Mongo Internal Training session by Soner Altin
Mongo Internal Training session by Soner AltinMongo Internal Training session by Soner Altin
Mongo Internal Training session by Soner Altinmustafa sarac
 
Big Data using NoSQL Technologies
Big Data using NoSQL TechnologiesBig Data using NoSQL Technologies
Big Data using NoSQL TechnologiesAmit Singh
 
Ethopian Database Management system as a Cloud Service: Limitations and advan...
Ethopian Database Management system as a Cloud Service: Limitations and advan...Ethopian Database Management system as a Cloud Service: Limitations and advan...
Ethopian Database Management system as a Cloud Service: Limitations and advan...IOSR Journals
 
AWS Database and Analytics State of the Union
AWS Database and Analytics State of the UnionAWS Database and Analytics State of the Union
AWS Database and Analytics State of the UnionAmazon Web Services
 
Building a Modern Data Platform on AWS. Public Sector Summit Brussels 2019
Building a Modern Data Platform on AWS. Public Sector Summit Brussels 2019Building a Modern Data Platform on AWS. Public Sector Summit Brussels 2019
Building a Modern Data Platform on AWS. Public Sector Summit Brussels 2019javier ramirez
 
Big Data - Need of Converged Data Platform
Big Data - Need of Converged Data PlatformBig Data - Need of Converged Data Platform
Big Data - Need of Converged Data PlatformGeekNightHyderabad
 
Implementing a Data Warehouse on AWS in a Hybrid Environment
Implementing a Data Warehouse on AWS in a Hybrid EnvironmentImplementing a Data Warehouse on AWS in a Hybrid Environment
Implementing a Data Warehouse on AWS in a Hybrid EnvironmentAmazon Web Services
 
Introduction to Big Data and Hadoop
Introduction to Big Data and HadoopIntroduction to Big Data and Hadoop
Introduction to Big Data and HadoopEdureka!
 
Unstructured Datasets Analysis: Thesaurus Model
Unstructured Datasets Analysis: Thesaurus ModelUnstructured Datasets Analysis: Thesaurus Model
Unstructured Datasets Analysis: Thesaurus ModelEditor IJCATR
 
Introduction to Big Data & Hadoop
Introduction to Big Data & HadoopIntroduction to Big Data & Hadoop
Introduction to Big Data & HadoopEdureka!
 
History of NoSQL and Azure Documentdb feature set
History of NoSQL and Azure Documentdb feature setHistory of NoSQL and Azure Documentdb feature set
History of NoSQL and Azure Documentdb feature setSoner Altin
 
How-to-Choose-the-Right-Database-to-Build-High-Performance-Internet-Scale-App...
How-to-Choose-the-Right-Database-to-Build-High-Performance-Internet-Scale-App...How-to-Choose-the-Right-Database-to-Build-High-Performance-Internet-Scale-App...
How-to-Choose-the-Right-Database-to-Build-High-Performance-Internet-Scale-App...Amazon Web Services
 
Lecture 5 - Big Data and Hadoop Intro.ppt
Lecture 5 - Big Data and Hadoop Intro.pptLecture 5 - Big Data and Hadoop Intro.ppt
Lecture 5 - Big Data and Hadoop Intro.pptalmaraniabwmalk
 
Vikram Andem Big Data Strategy @ IATA Technology Roadmap
Vikram Andem Big Data Strategy @ IATA Technology Roadmap Vikram Andem Big Data Strategy @ IATA Technology Roadmap
Vikram Andem Big Data Strategy @ IATA Technology Roadmap IT Strategy Group
 
Iaetsd mapreduce streaming over cassandra datasets
Iaetsd mapreduce streaming over cassandra datasetsIaetsd mapreduce streaming over cassandra datasets
Iaetsd mapreduce streaming over cassandra datasetsIaetsd Iaetsd
 
Big Data with Hadoop – For Data Management, Processing and Storing
Big Data with Hadoop – For Data Management, Processing and StoringBig Data with Hadoop – For Data Management, Processing and Storing
Big Data with Hadoop – For Data Management, Processing and StoringIRJET Journal
 

Similar to llr+ cHApTEFt s Database Processing(2) Does this design e.docx (20)

Prepare Your Data For The Cloud
Prepare Your Data For The CloudPrepare Your Data For The Cloud
Prepare Your Data For The Cloud
 
Preparing your data for the cloud
Preparing your data for the cloudPreparing your data for the cloud
Preparing your data for the cloud
 
Mongo Internal Training session by Soner Altin
Mongo Internal Training session by Soner AltinMongo Internal Training session by Soner Altin
Mongo Internal Training session by Soner Altin
 
Big Data using NoSQL Technologies
Big Data using NoSQL TechnologiesBig Data using NoSQL Technologies
Big Data using NoSQL Technologies
 
Ethopian Database Management system as a Cloud Service: Limitations and advan...
Ethopian Database Management system as a Cloud Service: Limitations and advan...Ethopian Database Management system as a Cloud Service: Limitations and advan...
Ethopian Database Management system as a Cloud Service: Limitations and advan...
 
AWS Database and Analytics State of the Union
AWS Database and Analytics State of the UnionAWS Database and Analytics State of the Union
AWS Database and Analytics State of the Union
 
Big data business case
Big data   business caseBig data   business case
Big data business case
 
Building a Modern Data Platform on AWS. Public Sector Summit Brussels 2019
Building a Modern Data Platform on AWS. Public Sector Summit Brussels 2019Building a Modern Data Platform on AWS. Public Sector Summit Brussels 2019
Building a Modern Data Platform on AWS. Public Sector Summit Brussels 2019
 
Big Data - Need of Converged Data Platform
Big Data - Need of Converged Data PlatformBig Data - Need of Converged Data Platform
Big Data - Need of Converged Data Platform
 
Implementing a Data Warehouse on AWS in a Hybrid Environment
Implementing a Data Warehouse on AWS in a Hybrid EnvironmentImplementing a Data Warehouse on AWS in a Hybrid Environment
Implementing a Data Warehouse on AWS in a Hybrid Environment
 
Introduction to Big Data and Hadoop
Introduction to Big Data and HadoopIntroduction to Big Data and Hadoop
Introduction to Big Data and Hadoop
 
Unstructured Datasets Analysis: Thesaurus Model
Unstructured Datasets Analysis: Thesaurus ModelUnstructured Datasets Analysis: Thesaurus Model
Unstructured Datasets Analysis: Thesaurus Model
 
Introduction to Big Data & Hadoop
Introduction to Big Data & HadoopIntroduction to Big Data & Hadoop
Introduction to Big Data & Hadoop
 
Hadoop(Term Paper)
Hadoop(Term Paper)Hadoop(Term Paper)
Hadoop(Term Paper)
 
History of NoSQL and Azure Documentdb feature set
History of NoSQL and Azure Documentdb feature setHistory of NoSQL and Azure Documentdb feature set
History of NoSQL and Azure Documentdb feature set
 
How-to-Choose-the-Right-Database-to-Build-High-Performance-Internet-Scale-App...
How-to-Choose-the-Right-Database-to-Build-High-Performance-Internet-Scale-App...How-to-Choose-the-Right-Database-to-Build-High-Performance-Internet-Scale-App...
How-to-Choose-the-Right-Database-to-Build-High-Performance-Internet-Scale-App...
 
Lecture 5 - Big Data and Hadoop Intro.ppt
Lecture 5 - Big Data and Hadoop Intro.pptLecture 5 - Big Data and Hadoop Intro.ppt
Lecture 5 - Big Data and Hadoop Intro.ppt
 
Vikram Andem Big Data Strategy @ IATA Technology Roadmap
Vikram Andem Big Data Strategy @ IATA Technology Roadmap Vikram Andem Big Data Strategy @ IATA Technology Roadmap
Vikram Andem Big Data Strategy @ IATA Technology Roadmap
 
Iaetsd mapreduce streaming over cassandra datasets
Iaetsd mapreduce streaming over cassandra datasetsIaetsd mapreduce streaming over cassandra datasets
Iaetsd mapreduce streaming over cassandra datasets
 
Big Data with Hadoop – For Data Management, Processing and Storing
Big Data with Hadoop – For Data Management, Processing and StoringBig Data with Hadoop – For Data Management, Processing and Storing
Big Data with Hadoop – For Data Management, Processing and Storing
 

More from smile790243

PART B Please response to these two original posts below. Wh.docx
PART B Please response to these two original posts below. Wh.docxPART B Please response to these two original posts below. Wh.docx
PART B Please response to these two original posts below. Wh.docxsmile790243
 
Part C Developing Your Design SolutionThe Production Cycle.docx
Part C Developing Your Design SolutionThe Production Cycle.docxPart C Developing Your Design SolutionThe Production Cycle.docx
Part C Developing Your Design SolutionThe Production Cycle.docxsmile790243
 
PART A You will create a media piece based around the theme of a.docx
PART A You will create a media piece based around the theme of a.docxPART A You will create a media piece based around the theme of a.docx
PART A You will create a media piece based around the theme of a.docxsmile790243
 
Part 4. Implications to Nursing Practice & Implication to Patien.docx
Part 4. Implications to Nursing Practice & Implication to Patien.docxPart 4. Implications to Nursing Practice & Implication to Patien.docx
Part 4. Implications to Nursing Practice & Implication to Patien.docxsmile790243
 
PART AHepatitis C is a chronic liver infection that can be e.docx
PART AHepatitis C is a chronic liver infection that can be e.docxPART AHepatitis C is a chronic liver infection that can be e.docx
PART AHepatitis C is a chronic liver infection that can be e.docxsmile790243
 
Part A post your answer to the following question1. How m.docx
Part A post your answer to the following question1. How m.docxPart A post your answer to the following question1. How m.docx
Part A post your answer to the following question1. How m.docxsmile790243
 
PART BPlease response to these two original posts below..docx
PART BPlease response to these two original posts below..docxPART BPlease response to these two original posts below..docx
PART BPlease response to these two original posts below..docxsmile790243
 
Part A (50 Points)Various men and women throughout history .docx
Part A (50 Points)Various men and women throughout history .docxPart A (50 Points)Various men and women throughout history .docx
Part A (50 Points)Various men and women throughout history .docxsmile790243
 
Part A1. K2. D3. N4. C5. A6. O7. F8. Q9. H10..docx
Part A1. K2. D3. N4. C5. A6. O7. F8. Q9. H10..docxPart A1. K2. D3. N4. C5. A6. O7. F8. Q9. H10..docx
Part A1. K2. D3. N4. C5. A6. O7. F8. Q9. H10..docxsmile790243
 
Part A Develop an original age-appropriate activity for your .docx
Part A Develop an original age-appropriate activity for your .docxPart A Develop an original age-appropriate activity for your .docx
Part A Develop an original age-appropriate activity for your .docxsmile790243
 
Part 3 Social Situations2. Identify multicultural challenges th.docx
Part 3 Social Situations2. Identify multicultural challenges th.docxPart 3 Social Situations2. Identify multicultural challenges th.docx
Part 3 Social Situations2. Identify multicultural challenges th.docxsmile790243
 
Part A (1000 words) Annotated Bibliography - Create an annota.docx
Part A (1000 words) Annotated Bibliography - Create an annota.docxPart A (1000 words) Annotated Bibliography - Create an annota.docx
Part A (1000 words) Annotated Bibliography - Create an annota.docxsmile790243
 
Part 6 Disseminating Results Create a 5-minute, 5- to 6-sli.docx
Part 6 Disseminating Results Create a 5-minute, 5- to 6-sli.docxPart 6 Disseminating Results Create a 5-minute, 5- to 6-sli.docx
Part 6 Disseminating Results Create a 5-minute, 5- to 6-sli.docxsmile790243
 
Part 3 Social Situations • Proposal paper which identifies multicul.docx
Part 3 Social Situations • Proposal paper which identifies multicul.docxPart 3 Social Situations • Proposal paper which identifies multicul.docx
Part 3 Social Situations • Proposal paper which identifies multicul.docxsmile790243
 
Part 3 Social Situations 2. Identify multicultural challenges that .docx
Part 3 Social Situations 2. Identify multicultural challenges that .docxPart 3 Social Situations 2. Identify multicultural challenges that .docx
Part 3 Social Situations 2. Identify multicultural challenges that .docxsmile790243
 
Part 2The client is a 32-year-old Hispanic American male who c.docx
Part 2The client is a 32-year-old Hispanic American male who c.docxPart 2The client is a 32-year-old Hispanic American male who c.docx
Part 2The client is a 32-year-old Hispanic American male who c.docxsmile790243
 
Part 2For this section of the template, focus on gathering deta.docx
Part 2For this section of the template, focus on gathering deta.docxPart 2For this section of the template, focus on gathering deta.docx
Part 2For this section of the template, focus on gathering deta.docxsmile790243
 
Part 2 Observation Summary and Analysis • Summary paper of observat.docx
Part 2 Observation Summary and Analysis • Summary paper of observat.docxPart 2 Observation Summary and Analysis • Summary paper of observat.docx
Part 2 Observation Summary and Analysis • Summary paper of observat.docxsmile790243
 
Part 2 Observation Summary and Analysis 1. Review and implement any.docx
Part 2 Observation Summary and Analysis 1. Review and implement any.docxPart 2 Observation Summary and Analysis 1. Review and implement any.docx
Part 2 Observation Summary and Analysis 1. Review and implement any.docxsmile790243
 
Part 2Data collectionfrom your change study initiative,.docx
Part 2Data collectionfrom your change study initiative,.docxPart 2Data collectionfrom your change study initiative,.docx
Part 2Data collectionfrom your change study initiative,.docxsmile790243
 

More from smile790243 (20)

PART B Please response to these two original posts below. Wh.docx
PART B Please response to these two original posts below. Wh.docxPART B Please response to these two original posts below. Wh.docx
PART B Please response to these two original posts below. Wh.docx
 
Part C Developing Your Design SolutionThe Production Cycle.docx
Part C Developing Your Design SolutionThe Production Cycle.docxPart C Developing Your Design SolutionThe Production Cycle.docx
Part C Developing Your Design SolutionThe Production Cycle.docx
 
PART A You will create a media piece based around the theme of a.docx
PART A You will create a media piece based around the theme of a.docxPART A You will create a media piece based around the theme of a.docx
PART A You will create a media piece based around the theme of a.docx
 
Part 4. Implications to Nursing Practice & Implication to Patien.docx
Part 4. Implications to Nursing Practice & Implication to Patien.docxPart 4. Implications to Nursing Practice & Implication to Patien.docx
Part 4. Implications to Nursing Practice & Implication to Patien.docx
 
PART AHepatitis C is a chronic liver infection that can be e.docx
PART AHepatitis C is a chronic liver infection that can be e.docxPART AHepatitis C is a chronic liver infection that can be e.docx
PART AHepatitis C is a chronic liver infection that can be e.docx
 
Part A post your answer to the following question1. How m.docx
Part A post your answer to the following question1. How m.docxPart A post your answer to the following question1. How m.docx
Part A post your answer to the following question1. How m.docx
 
PART BPlease response to these two original posts below..docx
PART BPlease response to these two original posts below..docxPART BPlease response to these two original posts below..docx
PART BPlease response to these two original posts below..docx
 
Part A (50 Points)Various men and women throughout history .docx
Part A (50 Points)Various men and women throughout history .docxPart A (50 Points)Various men and women throughout history .docx
Part A (50 Points)Various men and women throughout history .docx
 
Part A1. K2. D3. N4. C5. A6. O7. F8. Q9. H10..docx
Part A1. K2. D3. N4. C5. A6. O7. F8. Q9. H10..docxPart A1. K2. D3. N4. C5. A6. O7. F8. Q9. H10..docx
Part A1. K2. D3. N4. C5. A6. O7. F8. Q9. H10..docx
 
Part A Develop an original age-appropriate activity for your .docx
Part A Develop an original age-appropriate activity for your .docxPart A Develop an original age-appropriate activity for your .docx
Part A Develop an original age-appropriate activity for your .docx
 
Part 3 Social Situations2. Identify multicultural challenges th.docx
Part 3 Social Situations2. Identify multicultural challenges th.docxPart 3 Social Situations2. Identify multicultural challenges th.docx
Part 3 Social Situations2. Identify multicultural challenges th.docx
 
Part A (1000 words) Annotated Bibliography - Create an annota.docx
Part A (1000 words) Annotated Bibliography - Create an annota.docxPart A (1000 words) Annotated Bibliography - Create an annota.docx
Part A (1000 words) Annotated Bibliography - Create an annota.docx
 
Part 6 Disseminating Results Create a 5-minute, 5- to 6-sli.docx
Part 6 Disseminating Results Create a 5-minute, 5- to 6-sli.docxPart 6 Disseminating Results Create a 5-minute, 5- to 6-sli.docx
Part 6 Disseminating Results Create a 5-minute, 5- to 6-sli.docx
 
Part 3 Social Situations • Proposal paper which identifies multicul.docx
Part 3 Social Situations • Proposal paper which identifies multicul.docxPart 3 Social Situations • Proposal paper which identifies multicul.docx
Part 3 Social Situations • Proposal paper which identifies multicul.docx
 
Part 3 Social Situations 2. Identify multicultural challenges that .docx
Part 3 Social Situations 2. Identify multicultural challenges that .docxPart 3 Social Situations 2. Identify multicultural challenges that .docx
Part 3 Social Situations 2. Identify multicultural challenges that .docx
 
Part 2The client is a 32-year-old Hispanic American male who c.docx
Part 2The client is a 32-year-old Hispanic American male who c.docxPart 2The client is a 32-year-old Hispanic American male who c.docx
Part 2The client is a 32-year-old Hispanic American male who c.docx
 
Part 2For this section of the template, focus on gathering deta.docx
Part 2For this section of the template, focus on gathering deta.docxPart 2For this section of the template, focus on gathering deta.docx
Part 2For this section of the template, focus on gathering deta.docx
 
Part 2 Observation Summary and Analysis • Summary paper of observat.docx
Part 2 Observation Summary and Analysis • Summary paper of observat.docxPart 2 Observation Summary and Analysis • Summary paper of observat.docx
Part 2 Observation Summary and Analysis • Summary paper of observat.docx
 
Part 2 Observation Summary and Analysis 1. Review and implement any.docx
Part 2 Observation Summary and Analysis 1. Review and implement any.docxPart 2 Observation Summary and Analysis 1. Review and implement any.docx
Part 2 Observation Summary and Analysis 1. Review and implement any.docx
 
Part 2Data collectionfrom your change study initiative,.docx
Part 2Data collectionfrom your change study initiative,.docxPart 2Data collectionfrom your change study initiative,.docx
Part 2Data collectionfrom your change study initiative,.docx
 

Recently uploaded

Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...PsychoTech Services
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024Janet Corral
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 

Recently uploaded (20)

Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 

llr+ cHApTEFt s Database Processing(2) Does this design e.docx

  • 1. llr+ cHApTEFt s Database Processing (2) Doe's this design eliminate the potential for data integ- rity problems that occur in the spreadsheet? lVhy or whynot? (3) Design a database for the data model that uses Izfork_ Version2. Speciff key and foreign key columns. (4) Design a database for the data models that uses Work_ Version3. Specify key and foreign key columns. (S) Is the design virrth Work_Version2 better than the de- sign for Work_Version3? Mhy or why not? d. Figure 5-30c shows a third alternative data model for the sheet-music-tracking problem. In this data model, use eilher Work_Version2 thinkis better. (l) Select identifiers for each entity in your data model. fustifuyour selection. (Z) Summarize the differences between this data model and that in Figure 5-30b. .4rhich data model is better? whv? (3) Design a database for this data model. Speciff key and foreign key columns. e. Which of the three data models is the best? ]ustify your
  • 2. answer- or Work_Version3, whichever you,i[] Fait Away with Dynamo, Bigtabtq and Cassandra As you learned in Case Study 1, Amazo4.com processed more than 306 order items per second on its peak day of the 20L2 holiday sales season. To do that, it processed customer trans- actions on tens of thousands of servers. With that many com_ puters, failure is inevitable. Even if the probability of any one server failing is .0001, the likelihood that not one out of 10,000 of them fails is .9999 raised to the 10,000 powe6 which is about .37. Thus, for these assumptions the likelihood of at least one failure is 63 percent. For reasons that go beyond'the scope of this discussion, the likelihood of failure is actually much greater. Amazon.com must be able to thrive, even in the presence of such constant failure. Or, as Arriazon.com engineers stated: "Customers should be able to .i"rar and add items to their shopping cart even if disks are failing, network routes are flap- ping, or data centers are being destroyed by tornados.,,e The onlyway to deal with such failure is to replicate the data on multiple servers. rwhen a customer stores a Wish List, for example, that Wish List needs to be stored on different, geo_ graphically separated servers. Then, when (notice when, not fl a server with one copy of the Wsh List fails, Amazon.com applications obtain it from another server. Such data replication solves one problem but introduces another. Suppose that the customer's Wish List is stored on servers A, B, and C and server A fails. yry'hile server A is dolvn, server B or C can provide a copy of the Wish List, but if the
  • 3. customer changes it, that Wish List can only be rewritten to servers B and C. It cannot be written to A, because A is not running. Mhen server A comes back into service, it will have the old copy of the Wish List. The nefi day, when the customer reopens his or her Wish List, two different versions exist: the most recent one on servers B and C and an older one on server A. The customer wants the most current one. How can Amazon.com ensure rhat it will be delivered? Keep in mind that 15.6 million orders are being shipped while this goes on. None of the current relational DBMS productS#as designed for problems like this. Consequently, Amazon.com engineers developed Dlmamo, a specialized data store for reliably pro_ cessing massive amounts of data on tens of thousands of serv_ ers. Dlmamo provides an always-open experience forAmazon. com's retail customers; Amazon.com also sells Dlnamo store services to others via its 53 Web Services product offering. Meanwhile, Google was encountering similar problems that could not be met by commercially available relational DBMS products. In response, Google created Bigtable, a data store for processing petabltes of data on hundreds of thou- sands of servers.l0 Bigtable supports a richer data model than Dlmamo, which means that it can store a greater variety of data structures. Both Dgramo and Bigtable are designed to be elastic; this teim means ttrat the number of servers can dynamically in_ crease and decrease without disrupting performance. sDecandi4 et al', "Dy'namo: Amazon's HighlyAvailable Key-value Store," Proceedings of the 2lstACM Symposium on operating systems principles,Stevenson, WA, October 2007. l0Fay Chang, Ieffrey Dean, san;'ay Ghemawat, wilson c. Hsieh,
  • 4. Deborah A. wallach, Mike Burrows, Tushar chandra, Andrew Fikes, and Robert E. Gruber,"BiSable: A Distributed storage system for Structured Data,' osot.z.ooa, _se1t"ni syiportu* on operating system Design and Implementation, seattle,WA, last modified November 2006, http://labs.google.com/papers/bigtable.htmt. ln 2007, Facebook encountered similar data storag.e prob- lems: Massive amounts of data, the need to be elastically scal- able, tens of thousands of servers, and high volumes of traffic. In response to this need, Facebook began development on Cassandra, a data store that provides storage capabilities like Dlmamo with a richer data model like Bigtable.ll'l2 Initially, Facebook used Cassandra to power its Inbox Search. By 2008, Facebook realized that it had a bigger project on its hands than it wanted and gave the gource code to the open source com- munity. As of 2012, Cassandra is used by Facebook, Twitter, Digg, Reddit, Cisco, and many others. Cassandra, by the way, is a fascinating name for a data store' In Greek mythology, Cassandra was so beautiful that Apollo fell in love with her and gav€ her the power to see the future. Alas, Apoilo's love was unrequited and he cursed her so that no one would ever believe her predictions. The name was appar-
  • 5. ently a slam at Oracle. Cassandra is elastic and fault-toleranq it supports mas- sive amounts of data on thousands of servers and provides durability, meaning that once data is committed to the data store, it won't be lost, even in the presence of failure. One of the most interesting characteristics of Cassandra is that clients (meaning the programs that run Facebook, Twitter, etc') can select the level of consistency that they need. If a client re- quests that all servers always be current, Cassandrawill ensure that that happens, but performance will be slow. At the other end of the trade-off spectrum, clients can require no consis- tency, whereby perform_ance is maximized. In between, clients can require that a majority of the servers that store a data item be consistent Case Study 5 195 Cassandrafs performance is vastly superior to relational DBMS products. In one comparison, Cassandra was found to be 2,500 times faster than MySQL for write operations and 23 times faster for read operationsr3 on madsive amounts of data on hundreds of thousands of possibly failing computers! OIJEEiT!clNEi 5-5. Ctearly, Dynamo, Bigtable, and Cassandra are critical tech-
  • 6. nology to the companies that created them. 'Vhy did they allow their employees to publish academic papers about them? Why did they not keep them as proprietary secrets? 5-6. lVhat do you think this movement means to the existing DBMSvendors? How t"iiort is the NoSQL threat? lustiff your answer. dhat responses by existing DBMS vendors would he sensible? 5-7. Is it a waste of your time to learn about the relational model and Microsoft Access? Why or why not? 5-8. Given what you know about AIlRoad Parts, should it use a relational DBMS, such as Oracle Database or MySQL, or should it use Cassandra? 5-9. Suppose that AllRoad decides to use a NoSQL solution, but a battle emerges among the employees in the IT department. One faction wants to use Cassandra, but another faction wants to use a different NoSQL data stqre, named MongoDB (www.mongodb.org). Assume that you're Kelly, and Lucas asks for your opinion about how he should proceed. How do you respond? i x1*Welcome to Apache Cassandrai' The Apache Software Foundation, accessed Iune 201 1, http://cassandra.apache.org.
  • 7. E The Cassandr; Distributed D atabasel' Parleys, accessed fuly I 6,2013, http://www.parleys.corn/#st=5&id=1866&sl=20. x3'The Cassandra Distributed Database," Slide 2r. Using Your Knowledge 191 Access' 166 Attributes l7s BigData t8s Bigtable 184 B)rte 160 Cassandra IB4 Columns 160 Crow's feet I77 Crow's-footdiagram ITT Dataintegrityproblem lZ9 Data model 175 Database 160 Databaseadministration l68 Databaseapplication 168 Database management system (DBMS) 166 DBz 166 Durability 195 Dl,namo 184 Elastic 194 Entity 175 Entity-relationship (E-R) data model 175 Entity-relationship (E-R)
  • 8. qragrams I / / Fields 160 File 160 Foreign keys .163 Graphicalqueries 172 Identifier 175 Key 162 Lost-updateproblem 174 Many-to-many(N:M) relationships 177 Maximumcardinality IZB Metadata 163 Minimumcardinality l7g MongoDB 184 Multi-userprocessing lZ4 MySQL 166 Normal forms 180 Normalization IZB NoSQLdatabases lB4 One-to-many (l:N) relationships l7z Oracle Database 166 Primarykey 162 Records 160 Relation I63 Relationaldatabases 163 Relationships 176 Rows 160 SQL Server 166 Structured QueryLanguage (SeL) t6B Table 160 Unifi ed Modeling Language
  • 9. (UML) t7s MyMlSLab Go to mymislab.com to complete the probrems marked with this icon e. 5-1. Draw an entity-relationship diagram that shows the rela_ tionships among a database, database applications, and users. 5-2. Consider the relationship between Aduiser and Studentin Figure 5-21. Explain what it means if the maximum cardi_ nality of this relationship is: a. N:I b. 1:1 c. 5:l d. 1:5 5-3. Identiff two entities in the data entry form in Figure 5-28. Mhat attributes are shown for each? What do you think are the identifiers? 5-4. Visit www.acxiom.com. Naiigate the site to answer the following questions. a. According to the Web site, what is Acxiorns privacy policy? Are you reassured by its policy? Ahy or why not? b. Make a list of 10 different products that Acxiorn provides. c. Describe Acxiom's top customers. d. Examine your answers in parts b and c and describe, in general terms, the kinds of data that Acxiom must be collecting to be able to provide those products to
  • 10. those customers. e. A/hat is the funcdon of InfoBase? f. lVhat is the function of personicX? g. In what ways might cornpanies like Acxiom need to limit their marketing so as to avoid a privacy outcry from the public? h. Should there be laws that govern companies like Acxiom? 4/hy or why not? i. Should there be laws that govern the types of data services that governmental agencies can buy from companies like Acxiom? Allry or whynot?