Design and implement the database behind a mini-facebook

Assignment Help Database Management System
Reference no: EM133127779 , Length: word count:2000

CPS 662 Database Management Systems

Project Specification

Introduction

Social networking websites, such as Facebook, provide an interactive place for users to post blogs, upload files/photos/videos, and search contents posted by others. Typically, a registered user will have a user-profile and associated contents, e.g. files, photos, videos, and blogs. A registered user can create a group and become the owner of the group. A group belongs to a category, e.g. money, romance, or games. Users can choose groups to join and leave. A Social networking web site also provides sophisticated searching capacity. For example, users can search based on user profiles such as name, gender, school, or their combination. They can also search files, photos, and videos according to title, date posted, and categories.

Behind the Facebook website, there is a database. It stores information about user profiles, files and its owners, groups and its owner/members etc.

Your tasks

First, divide into teams of five. Then, your task is to design and implement the database behind a mini-Facebook mentioned in the introduction. You work can be staged into four phases.

1. First phase: you will need to investigate the Facebook website and try to "guess" what the database behind it should look like. You may want to start out by figuring out what information needs to be stored to support the queries of the Facebook website. Then try to see the relationship among the information, e.g., user and group.

2. Second phase: you will put down your thoughts in the first step by drawing an ER diagram. Make sure you document all the assumptions for your ER diagram if it is not obvious from your investigation of the Facebook website. In this step, you have the freedom to choose the most important entities and relationships. In other words, you can omit some features to avoid getting a too large system. I am expecting around 10 to 20 entities.

3. Third phase: you will convert your ER design into relational tables. You will need to write the "CREATE TABLE ..." statements and run them in your Oracle account to create all the tables. Then you populate your tables by using either "INSERT INTO..." statements or Oracle bulk load. To get some realistic data, my suggestion is to grab and process some data from the Facebook website. Although you may not be able to populate a table with lots of content, you are required to estimate the number of records for tables that you created. The absolute numbers are not as important as the relative sizes of the tables. This information is important for choosing indexing and query optimization.

4. Fourth phase: you will come up with 10 typical queries that you expect to run frequently on your database. A good place to start is to look at the search and browse sections of the Facebook website. You will need to write down the English question and its SQL statement for each query and run them in your Oracle database account.

1. What to turn in?

• A final report (.doc, .pdf, .txt, or others) of about 8 pages that includes:
o ER diagram for your design including assumptions that you made, and justification of your assumptions. Please draw you diagram using your favorite drawing tools to give the design a formal feel.
o Any Conversion rules you used when you create your relational database from your ER diagrams.
o Table schemas (table name, attributes, primary keys, and foreign keys) of your database
o Methods you used to populate your tables, the number of records in each of you table, and the estimated number of records in each table in a real-world setup
o The 10 typical queries you came up with in English

o Any other remarks about your design and implementation

• SQL and results:
o Two working SQL files. The SQL file that you used to create all the tables should be saved as createminiFacebook.sql (possibly modified) and your 10 queries should be saved as queryminiFacebook.sql. The associated English question should precede it as a comment (use -- to comment out a line in SQL files).
o Results you obtained for the 10 typical queries

Hints
Spend sufficient time to look at the Facebook website and try to reconstruct the database behind it.

Keep in mind that you are designing a database system that stores data and support queries for the website. When you decide what entities you want to create for your database, try to think what kind of data you are expecting to put into the corresponding table. If the table corresponding to an entity does not have data at all, it is likely that the entity is not needed.

When you try to choose a good query plan, you will need to consider the expected sizes of the tables. For choosing indexing schemes, the frequency of queries posted to the system is important since you want to speed up the most frequent queries first.

1) Provide a web interface

2) Implement a substantial database emulation of the entire Facebook site

Attachment:- Database Management Systems.rar

Reference no: EM133127779

Questions Cloud

Develop strategic plan to create new small business : Identify its key competitors and summarize the strengths and weaknesses of one of the competitors. Develop a strategic plan to create a new small business.
Motivation is the psychological process : Motivation is the psychological process that arouses and directs behavior. Goal-setting theory suggests behavior can be motivated with specific,
Analyzing the impacts of the affordable care act : Analyzing the impacts of The Affordable Care Act on the healthcare ecosystem we inhabit today and the related significance of one other healthcare initiative
Federal government has in regulating security : Explain the role the federal government has in regulating security. What additional areas would you like to see the government involved in?
Design and implement the database behind a mini-facebook : Design and implement the database behind a mini-Facebook mentioned in the introduction. You work can be staged into four phases
Find three examples of bootstrap marketing strategies : find three examples of bootstrap marketing strategies. Next, develop a bootstrap marketing idea that will help promote a small business at a minimal expense.
Encountered non-uniform pricing or price discrimination : Explain a time you encountered non-uniform pricing, or price discrimination. evaluate the effect such price discrimination has on you and society.
How to choose location for boutique : "How to Choose a Location for a Boutique". Analyze what type of a retail store would be more appropriate.
External rewards or intrinsic satisfaction : Are you driven by external rewards or intrinsic satisfaction? Which theories of motivation are most relevant in your personal life?

Reviews

Write a Review

Database Management System Questions & Answers

  How does each of the scripts specifically support the goals

What structured query language (SQL) statement scripts are needed to create the database schema for the relational database system and manipulate the data.

  What are the key users and what are their functions?

What is the project about? (A pet store, a small corner supermarket, a doctor's office, etc). What are the key users and what are their functions?

  Draw er and table schema diagrams for given statement

Please read the business statement below and draw ER, NER, and Table Schema diagrams for it. The project is about developing an auction Web site.

  What are the strategic options for legacy system evolution

What are the fundamental concepts of user and system requirements and why must these requirements be written in different ways?

  Construct a logical data model by transforming the data

Macquarie University, Australia - ISYS224 Database Systems Assignment - Database Design & Implementation. Construct logical data model by transforming the data

  Solve the following simple logic exercise

Be sure to THINK through the logic, then develop the IPO Chart using a Microsoft Word table. Develop the flow chart using Microsoft VISIO. Then write the pseudocode in Microsoft Word

  Write sql queries for the books database

Write SQL queries for the books database that perform each of the following tasks: Select all authors from the Authors table with the columns in the order lastName, firstName and authorID.

  Draw a query tree for the given relational algebra query

IT344 Draw a query tree for the following relational algebra query. psid, sname((sage="25"(sbid=bid(B x ssid=sid)S x R)))) where.

  Different types of information systems software

Demonstrate problem-solving skills by identifying and resolving issues relating to information systems and their components, and proficiently utilise different types of information systems software

  Create a relationship between two tables

In this project, you will use a database to answer questions about concerts in the local college area. You will create a relationship between two tables, create a query from an existing query, and create queries using text, numeric, compound, and ..

  Write a pl-sql stored function that takes username as input

Write a PL/SQL stored function that takes username as input and returns number of documents that user has permissions to view.

  Convert table to equivalent collection of tables

determine the functional dependencies that exist in the following table. After determining the functional dependencies, convert this table to an equivalent collection of tables.

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