Your Perfect Assignment is Just a Click Away

We Write Custom Academic Papers

100% Original, Plagiarism Free, Customized to your instructions!

glass
pen
clip
papers
heaphones

Project On Data Base

Project On Data Base

Project On Data Base

CPSC 50900 Database Systems Project

All your efforts this semester will focus on a single project for which you will develop, document, implement, secure, and program with a database. You will post the artifacts of work as a GitHub repository, and you will add to it steadily throughout the semester. You will document all your efforts in a single Word document that you’ll write throughout the semester, sharing it with me periodically to review and provide comment. This too you should post as part of your GitHub repository.

Your project will consist of the following.

a. Title Page

The title page shows the title of your project and the number and name of this class, lists the names and email addresses of you or your team, and shows your GitHub repository’s address, which you’ve shared with me.

Rubric: The title page is included and shows the necessary content. 5 points

Total points possible: 5

b. Initial Proposal

You will describe the data you aim to store. What data will be storing? Why are you interested in this data? Why is it important? Where will the data come from? Who will use this data? What kind of application do you plan to build with it?

Rubric: Your response to each of these six questions will be graded out of 3 points.

· 3 points: clear, complete descriptions that convey the importance and meaning of your data

· 2 points: mostly clear descriptions, although some additional data would have helped in some sections

· 1 point: necessary details are lacking in many of your responses.

You will also earn 2 additional points for coming up with a descriptive title for your project.

Total points possible: 20

c. Data Sources

Gather your data in text files. The text files may be csv, tab-delimited, xml, json, or some other custom format. Not all the files need be of the same type. Identify what each file contains by indicating where it came from, explaining in detail how it structured, and describing how you will reorganize the data into a relational database. Post your data files to your GitHub repository, and provide samples of the data in your Word doc.

Rubric: Your work will be graded as follows:

· 5 points: you gathered multiple data files that contain the data that will populate your databases. If you do not use multiple data files, you will not receive credit.

· 5 points: you described the contents of the data files in detail, including referencing their origin and explaining how they were structured.

· 3 points: you identify which fields you plan to include in your database, including their data types and any constraints you expect to impose on the data or steps you’ll have to take to clean up the data.

· 2 points: you post the data files to your GitHub account and make it possible for me to see them.

Total points possible: 15

d. Alternative Ways to Store the Data

We will study alternatives to storing data in a relational database. Some of the alternatives come from several decades ago, including the hierarchical and network models. Some are newer options, such as NoSQL databases that use JSON or some other encoding. Describe in detail how to store the data using two alternatives to relational databases. Be sure to describe how you would implement the alternatives and the advantages and disadvantages of each.

Rubric: Your work will be graded as follows

· 5 points for clearly describing how your data could be stored using one alternative to relational databases and what the advantages and disadvantages of that approach would be.

· 5 points for clearly describing how your data could be stored using another alternative to relational databases and what the advantages and disadvantages of that approach would be.

Total points possible: 10

e. Relational Database Design Process

Consider the list of fields you identified in part c. Identify functional dependencies that exist among them. For each functional dependency, identify the determinants and the fields they determine. This becomes the basis for identifying your entity sets, which then become your tables. Give each entity set or table you identify in this way a unique and clear name, making sure that the names you use are singular nouns. Then list the relationships that exist among the various entity sets. For each relationship, identify its connectivity (one-to-one, one-to-many, many-to-many) and participation (optional or mandatory). Finally, make sure that none of the attributes you’ve assigned to each entity set are multi-valued. If they are, take the steps needed to break them down.

Rubric: Your work will be graded as follows:

· 8 points for identifying all the functional dependencies, including determinants and the columns whose values they determine.

· 2 points for naming the entity sets that make up your data with clear, easy-to-understand names.

· 6 points for identify the relationships among the entity sets and identifying connectivity and participation for each.

· 2 points for breaking down multi-valued attributes.

Total points possible: 18

f. Relational Database Design

This is where you will complete your database design. For each of the entity sets you identified in the preceding section, analyze them to make sure they pass 2nd, 3rd, 4th, and Boyce-Codd Normal Form. If they do not, introduce additional entity sets or key changes to make sure that they do. Then, add foreign keys to connect entity sets that are related. For many-to-many relationships, introduce bridge entity sets to convert them into two one-to-many relationships. Also, consider whether you should introduce surrogate keys to create a more efficient primary key for some of your entity sets. Finally, diagram your design in Vertabello. Make sure your ER diagram correctly shows all entity sets, their primary and foreign keys, the data types for each attribute, and the connectivity and participation characteristics of each entity set. Your final Vertabello design should be something you could actually implement in a relational database management system.

Rubric: Your work will be graded as follows:

· 4 points for the normalization analysis of your entity sets.

· 3 points for introducing bridge entity sets.

· 3 points for choosing foreign keys and perhaps more efficient surrogate keys

· 10 points for correctly depicting your physical database model in Vertabello

Total points possible: 20

g. Data Definition Language Scripts

Use Vertabello to generate a script of SQL commands that build the database and its table structures. Write scripts or build Excel spreadsheets that take your data files and generate scripts of SQL insert statements from them. Use the MySQL source command to run the various scripts needed to build and populate the database in MySQL. Include the source code and / or Excel spreadsheets you use to manipulate and populate the data. Make sure all your tables have at least three records in them and that you’ve linked the tables through their foreign keys.

Rubric: Your work will be grades as follows:

· Database and table creation statements from Vertabello saved as an sql script file: 3 points

· Scripts you write or Excel spreadsheets you create to generate SQL commands for populating the tables, uploaded to GitHub: 8 points

· Descriptions of the scripts and Excel spreadsheets you wrote along with code excerpts included in the Word document: 5 points

· Screenshots of your successful attempts to use the MySQL source command to populate each table with at least three records: 4 points

Total points possible: 20

h. Data Manipulation Language Scripts

Write the SQL commands for twelve queries. Two queries should be insert statements, two should update statements, one should be a delete statement, one should be a simple select statement that selects a subset of the rows and columns from one table, two should be a select statements that select data from a joining of two tables, two should use summary functions to generate statistics about the data, one should be a multi-table query, and one should be another query of your choice. Show the queries and screenshots of the results in your Word document, and save your queries in a commented sql script to GitHub.

Rubric: Your work will be graded as follows:

· 1 point each for the two insert statements

· 1 point each for the two update statements

· 1 point for the delete statement

· 1 point for the simple select statement

· 2 points each for the 2 join statements

· 2 points each for the two that use summary statements

· 2 points for the multi-table query

· 2 points for the query of your choice.

· 12 points for showing the query and a screenshot of the corresponding result set back-to-back for each of these queries in your Word document.

Total points possible: 30

i. Indexes

Improve the performance of your design by adding indexes to various tables. Show the SQL needed to add the indexes. Explain why you chose the ones you added. Explain how you would demonstrate the impact the indexes had on the performance of various queries.

Rubric: Your work will be graded as follows:

· 6 points for clearly defining at least three indexes and explaining why you chose them.

· 3 points for showing the sql needed to generate the indexes

· 3 points for explaining how you would demonstrate the performance improvement afforded by the indexes.

Total points possible: 12

j. Views

Add two views to your database to provide easy access to combinations of data from multiple tables.

Rubric: Your work will be graded as follows:

· 2 points for including the SQL for generating the two views in your Word document

· 2 points for including screenshots for the data contained in each view in your Word document

· 2 points for explaining why each view is a valuable addition to your database

· 2 points for explaining who might benefit most from having access to each view.

Total points possible: 8

k. Triggers

Add a trigger to a table so that data will be updated when a certain event occurs

Rubric: Your work will be graded as follows:

· 2 points for including the SQL for the trigger in your Word document

· 2 points for clearly explaining the purpose of the trigger

· 2 points for a screenshot and explanation that shows the trigger in action.

Total points possible: 6

l. Transactions

Demonstrate that you know how to define and use a transaction. Why are transactions important for ensuring ACID behavior?

Rubric: Your work will be graded as follows:

· 3 points for clearly explaining the importance of transactions to ensuring ACID behavior

· 3 points for including a screenshot and accompanying explanation of a MySQL transaction.

Total points possible: 6

m. Security

Identify the different kinds of users who will use your database. Write GRANT statements to define the privileges for these different kinds of users.

Rubric: Your work will be graded as follows:

· 6 points for clearly identifying and describing the various kinds of users who will use the databases and identifying and justifying what privileges each should have.

· 4 points for writing GRANT statements that assign privileges to these different kinds of users.

· 4 points for demonstrating with screenshots that your GRANT statements do distinguish among different kinds of users in regard to what they can do with the database.

Total points possible: 14

n. Locking

Explain the purpose of locking tables and show how to do that to prevent inconsistencies that may arise in your data when concurrent transactions take place.

Rubric: Your work will be graded as follows:

· 3 points for clearly explaining an example that shows why you should lock tables to prevent inconsistencies.

· 3 points for providing a screenshot and accompanying explanation of locking tables.

Total points possible: 6

o. Backup

How you will back up your database. What commands will you issue? How frequently will the commands run? How can they be automated? Where will the backups be stored?

Rubric: Your work will be graded as follows:

· 12 points for clearly explaining and justifying your database backup strategy, including the frequency with which you will back up the database, how you will automate backups, where you will store them, and how you will secure them. You will earn three points for addressing each factor (frequency, location, automation, and security)

· 3 points for providing a screenshot of the command you would issue to back up the database and for including a portion of the resulting file.

Total points possible: 15

p. Python Programming

Write a Python program that generates a report that contains a subset of the data from your database. Include the code for your Python program in your Word document, and also post the program to your GitHub repository.

Rubric: Your work will be graded as follows:

· 12 points for writing a Python script (and including its code in the Word doc) that will pull data from a database and store it to a text file and present it to the screen. Your code must have comments in it that explain how it works. You will be awarded 3 points for successfully connecting to the database, 3 points for successfully querying it, and 4 points for presenting the data to the screen and to a file. Internal comments count for 2 points.

· 2 points for posting the code to GitHub

· 4 points for showing a screenshot of your running the script and showing the results it produces on the screen.

Total points possible: 18

q. PHP Programming

Build an HTML form that enables the user to specify criteria to search by. Use PHP to show the results of the query on a resulting web page. Make sure you include protections against an SQL injection attack. Include your HTML and PHP code in your Word document, and also post the files to your GitHub repository.

Rubric: Your work will be graded as follows:

· 4 points for writing an HTML form the user will use to enter search criteria

· 8 points for a PHP script that uses the search criteria and returns results

· 4 points for an HTML page that shows the results

· 4 points for explaining what SQL injection might be run on your website and explaining how you prevented it.

· 4 points for providing screen shots of your PHP website in action.

· 2 points for posting your code to GitHub

Total points possible: 26

r. Suggested Future Work

Describe the limitations of your current database and explain how you or someone else could improve the design to address these shortcomings. Also describe how you might take advantage of leverage cloud services to increase the performance and availability of your database. Finally, explain the advantages and disadvantages of storing your data in a NoSQL format instead.

Rubric: Your work will be graded as follows:

· 3 points for clearly describing the limitations of your databases

· 3 points for explaining how you would address these shortcomings

· 3 points for explaining how you might migrate the database to the cloud and describing what advantages you might gain from doing that.

· 3 points for explaining the advantages and disadvantages of storing your data in a document-based NoSQL format instead.

Total points possible: 12

s. Activity Log

As an appendix, the team will keep a daily diary or log of their activity. What did you or your team study in this class each day? What did you learn? What did you accomplish or build or design? You don’t have to enter something every day, but there should be at least three entries each week. Since we have eight weeks, that means you should make 3 posts to the Activity Log each week, for a total of at least 24 posts. Each post will be worth 1 point.

If you are working as part of a team, make sure you clearly identify which team member worked on which tasks. The Activity Log should help me figure out how each team member contributed to the project. If I cannot discern who worked on what aspects of the project from the activity log, no points will be awarded for it.

Order Solution Now

Our Service Charter

1. Professional & Expert Writers: Writers Hero only hires the best. Our writers are specially selected and recruited, after which they undergo further training to perfect their skills for specialization purposes. Moreover, our writers are holders of masters and Ph.D. degrees. They have impressive academic records, besides being native English speakers.

2. Top Quality Papers: Our customers are always guaranteed papers that exceed their expectations. All our writers have +5 years of experience. This implies that all papers are written by individuals who are experts in their fields. In addition, the quality team reviews all the papers before sending them to the customers.

3. Plagiarism-Free Papers: All papers provided by Writers Hero are written from scratch. Appropriate referencing and citation of key information are followed. Plagiarism checkers are used by the Quality assurance team and our editors just to double-check that there are no instances of plagiarism.

4. Timely Delivery: Time wasted is equivalent to a failed dedication and commitment. Writers Hero is known for timely delivery of any pending customer orders. Customers are well informed of the progress of their papers to ensure they keep track of what the writer is providing before the final draft is sent for grading.

5. Affordable Prices: Our prices are fairly structured to fit all groups. Any customer willing to place their assignments with us can do so at very affordable prices. In addition, our customers enjoy regular discounts and bonuses.

6. 24/7 Customer Support: At Writers Hero, we have put in place a team of experts who answer all customer inquiries promptly. The best part is the ever-availability of the team. Customers can make inquiries anytime.