Podcast
Questions and Answers
What is the daily amount of videos watched on YouTube?
What is the daily amount of videos watched on YouTube?
- 500 million videos
- 100 million videos (correct)
- 200 million videos
- 50 million videos
What is the daily amount of videos added to YouTube?
What is the daily amount of videos added to YouTube?
- 30,000 videos
- 50,000 videos
- 80,000 videos
- 65,000 videos (correct)
What is the minimum amount of terabytes of videos on YouTube?
What is the minimum amount of terabytes of videos on YouTube?
- 45 terabytes (correct)
- 30 terabytes
- 40 terabytes
- 50 terabytes
What is the amount of extra information YouTube processes daily?
What is the amount of extra information YouTube processes daily?
What is the ranking of NERSC in the world?
What is the ranking of NERSC in the world?
What is the amount of data stored by NERSC?
What is the amount of data stored by NERSC?
What is the ranking of YouTube in the list of data storage?
What is the ranking of YouTube in the list of data storage?
How many active customers does Amazon have?
How many active customers does Amazon have?
What is the main purpose of an Enterprise Resource Planning (ERP) system?
What is the main purpose of an Enterprise Resource Planning (ERP) system?
What is the primary function of a data warehouse?
What is the primary function of a data warehouse?
What is the advantage of using a data warehouse in an organization like Harrah's?
What is the advantage of using a data warehouse in an organization like Harrah's?
What is the primary difference between an operational database and a data warehouse?
What is the primary difference between an operational database and a data warehouse?
What is an example of a use case for an Enterprise Data Warehouse (EDW) mentioned in the content?
What is an example of a use case for an Enterprise Data Warehouse (EDW) mentioned in the content?
What is the size of the largest data warehouse mentioned in the content?
What is the size of the largest data warehouse mentioned in the content?
What is a characteristic of a database mentioned in the history of databases?
What is a characteristic of a database mentioned in the history of databases?
What is the advantage of using an Enterprise Data Warehouse (EDW) in an organization like Wal-Mart?
What is the advantage of using an Enterprise Data Warehouse (EDW) in an organization like Wal-Mart?
What is a fundamental requirement of a relation in a relational model?
What is a fundamental requirement of a relation in a relational model?
What is the primary purpose of a primary key in a relation?
What is the primary purpose of a primary key in a relation?
What is true about the order of columns in a relation?
What is true about the order of columns in a relation?
What is the difference between a simple key and a composite key?
What is the difference between a simple key and a composite key?
What is the purpose of a foreign key in a relation?
What is the purpose of a foreign key in a relation?
What is a characteristic of a relation in a relational model?
What is a characteristic of a relation in a relational model?
What is an example of a primary key?
What is an example of a primary key?
What is a requirement for a relation to be considered a valid relation?
What is a requirement for a relation to be considered a valid relation?
What is the purpose of Referential Integrity in a relational database?
What is the purpose of Referential Integrity in a relational database?
What happens if you try to delete a customer who has placed orders in the ORDER relation, and the Delete Rule is set to Restrict?
What happens if you try to delete a customer who has placed orders in the ORDER relation, and the Delete Rule is set to Restrict?
What happens if you try to delete a customer who has placed orders in the ORDER relation, and the Delete Rule is set to Cascade?
What happens if you try to delete a customer who has placed orders in the ORDER relation, and the Delete Rule is set to Cascade?
What happens if you try to delete a customer who has placed orders in the ORDER relation, and the Delete Rule is set to Set-to-Null?
What happens if you try to delete a customer who has placed orders in the ORDER relation, and the Delete Rule is set to Set-to-Null?
Can you delete the city Kabul if the CountryCode in City_T does not match any Code in Country_T?
Can you delete the city Kabul if the CountryCode in City_T does not match any Code in Country_T?
What is the purpose of the Delete Rule in Referential Integrity?
What is the purpose of the Delete Rule in Referential Integrity?
What happens if you try to delete the Country Afghanistan and the Delete Rule of this Foreign Key is set to Cascade?
What happens if you try to delete the Country Afghanistan and the Delete Rule of this Foreign Key is set to Cascade?
Why is the Set-to-Null Delete Rule not allowed for weak entities?
Why is the Set-to-Null Delete Rule not allowed for weak entities?
What type of databases are used by a single user?
What type of databases are used by a single user?
What is a characteristic of workgroup databases?
What is a characteristic of workgroup databases?
What is typically found on the client computer in a workgroup database?
What is typically found on the client computer in a workgroup database?
What type of databases support the entire organization?
What type of databases support the entire organization?
What is an example of a large database?
What is an example of a large database?
Where is the business logic typically found in a workgroup database?
Where is the business logic typically found in a workgroup database?
Flashcards are hidden until you start studying
Study Notes
Types of Databases
- Personal databases
- Workgroup databases
- Departmental/Divisional databases
- Enterprise applications (transactional)
- Data warehousing implementations
Characteristics of Workgroup Databases
- Each member of the workgroup has a computer
- They are linked by means of a network
- Each computer has a copy of the user interface application (client)
- The database is on the server
How Large are Typical Databases?
- World Data Center for Climate: 220 terabytes of data
- NERSC: 2.8 petabytes of data
- AT&T: 323 terabytes of information
- YouTube: 6 petabytes worth of extra information, 100 million videos watched per day, 65,000 videos added each day
- Amazon: 59 million active customers, more than 42 terabytes of data
What do we do with a Database?
- Recording every single event that may take place in an organization
- Contain the current operational data of the enterprise
- Used in Enterprise Resource Planning (ERP) systems
- Used in Data Warehousing implementations
History of Databases
- Databases now consist of a collection of records connected to one another through links (pointers)
Relational Model
- A relation is a named, two-dimensional table of data
- A relation consists of rows (records-instances) and columns (attribute or field)
- Requirements: unique name, atomic attribute values, unique rows, unique attribute names, irrelevant column and row order
Relational Model in more details
- Keys are special fields that serve two main purposes: primary keys and foreign keys
- Keys can be simple (a single field) or composite (more than one field)
- Keys are used as indexes to speed up the response to user queries
Primary Keys
- Are unique identifiers of the relation
- Guarantee that all rows are unique
- Examples include employee numbers, social security numbers, etc
- Can be simple or Composite
Foreign Keys
- Referential Integrity constraint can be used with several rules that protect the integrity of data
- Delete Rules: Restrict, Cascade, Set-to-Null
Referential Integrity
- A rule that states that either each foreign key value must match a primary key value in another relation or the foreign key value must be null
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.