Concept of schema

Assignment Help Database Management System
Reference no: EM13725847

Consider the following HBase table design for blogs. On the website, logged in users (who all have a unique, integer user ID may comment on blog posts.

 

Cf: meta

Cf: comments

post11356

user: 3

content: …

1: <uid, comment>

2: <uid, comment>

post11357

user: 7

content: …

 

 

post11358

user: 5

content: …

1: <uid, comment>

 

post11359

user: 3

content: …

1: <uid, comment>

2: <uid, comment>

For each query below, state either YES or NO the schema is optimal for that query. If you state NO, re-design the schema (copy the table above and modify it, then explain in English what is different with the new schema) so it is optimal for that specific query.


a) Given a particular blog post, what are all of the comments associated with it?yes
b) What are the blog posts for a particular user?
c) What comments has a particular user posted?
d) Deleting a particular blog post and all related data.

Reference no: EM13725847

Questions Cloud

What impact on their profitability and customer satisfaction : It has been suggested that marketing has evolved from the early days of the production orientation to today's societal marketing concept. what impact might this have on their profitability and customer satisfaction/retention
Compare across individuals at difierent points in time : Compare across individuals at difierent points in time. Include the data for GDP -  Compare thc results collected about your parent to the onc about yourself by constructing three graphs using Excel
Lmx theory leadership maanagement exchange : As a supervisor how would you explain the LMX theory leadership maanagement exchange? In terms of job responsibility.
Cost of non-core responsibilities : If it is true that business is a profit making enterprise, then how do we weigh the cost of non-core responsibilities, such as those termed "corporate social responsibility," with the loss of profit that those activities entail?
Concept of schema : a) Given a particular blog post, what are all of the comments associated with it?yes b) What are the blog posts for a particular user?
Analyze the buying process for an online product : The Buying Process: Every product or service has a buying process, even digital products and services. In this assignment, you will research and analyze the buying process for an online product or service
Difference between phi and the privacy act : Discuss three examples how HIPAA is taught, practiced, and enforced in a health care organization. What is HIPAA and why it should be followed? Determine if there is a difference between PHI and the Privacy Act.
Explain the concept of aggregate demand management : Explain the concept of aggregate demand management and give a description of how it is used - aggregate demand management to help close gaps in the economy
Advantages and disadvantages of using these social networks : For targeting new customers, examine the advantages and disadvantages of using these social networks compared to search engine advertising

Reviews

Write a Review

Database Management System Questions & Answers

  Justification hello good night what is the justification

hello good night what is the justification for utalizing database management system approach i3939m not

  Build a sql server database in your visual studio project

build a sql server database in your visual studio project. add a table in the database using the properties of the

  Create a data model of process showing entity associations

Identify the valid entities, and explain why the rejected entities should no be modeled and create a data model of the process showing entity associations.

  Identification of data requirements from different user

Structured Methodologies, Data Flow Diagrams, Entity Relationship diagrams, Structured English, Decision Tables and Cohesion/coupling.

  Find the resulting tuples of the given query

What time does it take to find the resulting tuples of the given query: "List the names of all students who are taking a class in the Turing Auditorium".

  Explain the benefits of normalization

Explain one characteristic of a database that has data redundancy and Briefly explain the benefits of normalization and why we should implement it when designing databases

  Demonstrate operating system troubleshooting techniques

Imagine you are a senior systems administrator who has recently been given the task to help improve security of your company's IT infrastructure after a series of network security breaches.

  Implement that entity as a database table with two subtypes

Implement that entity as a database table with two subtypes, Games and Movie.

  Creating use case to describe typical sales process

Create use case to describe a typical sales process. Then make a sequence diagram for use case.

  Importance have button that takes you back to main page

What is the importance to have a button that takes you back to the main page on each web page? How does dead end or orphan pages affect the continuity of a website?

  Perform large number of client-server requests into database

A small business with 100 computer workstations is installing a new local area network. All of the users perform the usual operations of e-mail. State your reasoning. Draw a floor plan for each If possible, show both floor plans on one page.

  Write a prolog program that implements a family database

Write a PROLOG program that implements a family database for your family. Save it as an ordinary text file named family.pro. Your program should implement the following facts for your immediate family, grandparents, and great-grandparents.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd