Optimize your database

Assignment Help Database Management System
Reference no: EM13976502 , Length: 2000 Words

Topic : Advanced database development
Words required: 2000

1. Optimize your Database (10 Marks) You should now optimize your database: 

• Apply suitable database optimization techniques to your final set of tables.
• Aim to implement a range of indexes. 
• Run a suite of queries that will invoke those indexes. 
• Aim to demonstrate some index suppression techniques. 
2. Secure your Database (10 Marks) Your optimized database should now be secured. To demonstrate this: 
• Create three new users on your database 
• Allocate them different security privileges and roles. 
• Create a suite of views over your existing base tables. 
• Issue appropriate privileges so that at least one user can use those views. 
• Clearly demonstrate what actions each user can/cannot perform. 
3. Building a Web Interface (15 Marks) You now have a fully working, secure and optimized database. Your final task is to design and build a web-based interface to that database such that it can support the following operations: 
• Insert new rows of data 
• Update existing rows of data Delete existing rows of data 
• Query existing rows of data Clearly label all tasks and take care to explain and discuss your technical work 
• For the modelling and design work you must supply clearly annotated diagrams 
• For the SQL work you must supply full code listings of the inputted code and screenshots of the outputted results – even if no rows were returned. Each screenshot must include some identifying feature – such as a username or user ID – that proves beyond doubt that it is your own work. 
• If you need to research, then fully reference all such sources using the Harvard notation.
4. Design a set of relations conforming to Boyce-Codd Normal Form (BCNF). (15 marks) Once you are satisfied that the ER diagram is a good representation of the data, produce a logical design by mapping the E-R diagram to a set of (normalized) relations. Clearly show all intermediate steps
Boyce-Codd Normal Form (BCNF), Database Security and user web interface
can writer normalize my ER model to BCNF

Title: Animal Tracking Systems (ATS) This is an individual assessment worth 50% of the module. Case Study Animal Tracking Systems (ATS) is a developer and supplier of specialist software products to individuals, businesses and government organizations working in the wildlife and veterinary sectors. Their software allows individual animals and birds to be remotely monitored and tracked. Examples include anti-poaching work in Africa, bird migration pattern analysis across Europe, canine tracking by law enforcement and the military or simply a private individual attaching a chip to a pet cat’s collar to avoid it getting lost. As part of their operations and after-sales package, ATS provides a help desk for clients who have questions about software purchased from the company. The range of software is extensive and offers a wide range of functionality at various price points. Some functions offered include location identification, migration and travel pattern analysis, health data capture, eating and drinking data capture, sleeping and resting pattern analysis and so on. When a call comes in, an operator enquires about the nature of the call. For calls that are not truly help desk functions, the operator redirects the call to another unit of the company (such as Order Processing or Billing). Since many customer questions require in-depth knowledge of a product, help desk consultants are organized by product. The operator directs the call to a consultant skilled on the software that the caller needs help with. Since a consultant is not always immediately available, some calls must be put into a queue for the next available consultant. Once a consultant answers the call, he determines iif this is the first call from this customer about this problem. If so, he creates a new call report to keep track of all information about the problem. If not, he asks the customer for a call report number, and retrieves the open call report to determine the status of the inquiry. If the caller does not know the call report number, the consultant collects other identifying information such as the caller's name, the software involved, or the name of the consultant who has handled the previous calls on the problem in order to conduct a search for the appropriate call report. If a resolution of the customer's problem has been found, the consultant informs the client what that resolution is, indicates on the report that the customer has been notified, and closes the report. If resolution has not been discovered, the consultant finds out if the consultant handling this problem is on duty. If so, he transfers the call to the other consultant (or puts the call into the queue of calls waiting to be handled by that consultant). Once the proper consultant receives the call, he records any new details the customer may have.

For continuing problems and for new call reports, the consultant tries to discover an answer to the problem by using the relevant software and looking up information in reference manuals. If he can now resolve the problem, he tells the customer how to deal with the problem, and closes the call report. Otherwise, the consultant files the report for continued research and tells the customer that someone at ATS will get back to him, or if the customer discovers new information about the problem, to call back identifying the problem with a specified call report number. A database is required to manage the data for the above scenario. It should also be possible to query the data and produce various reports for management as and when required. Your job is to deliver that database by correctly identifying what data must be captured and how it is related. NOTE: The above case study is simply an outline of the company and you will need to make your own assumptions and interpret or even extend the scenario as you go. Use your imagination as you see fit but you must clearly document all assumptions and extensions.

Your Tasks 1.

 1. Produce an Entity-Relationship Model for the scenario described above (15 marks) Develop a top-down design of the data in the form of an entity-relationship diagram. You should note all assumptions you make about the data and the reasoning behind your design choices. Also include any appropriate constraints and a list of entity types showing their attributes and identifiers.

 2. Design a set of relations conforming to Boyce-Codd Normal Form (BCNF). (15 marks) Once you are satisfied that the ER diagram is a good representation of the data, produce a logical design by mapping the E-R diagram to a set of (normalized) relations. Clearly show all intermediate steps.

3. Implement your final database design. (15 marks)

Take each of the relations from your relational model and implement them as SQL tables. You must include all primary and foreign keys as well as any other table or column constraints you feel are appropriate. Then, using appropriate sample data and your own imagination, populate your finished tables.

4. Query your database. (20 marks) Using SQL, write a set of realistic sample queries based on the above scenario (use your imagination for details of each query) but they should include the following SQL query techniques:

· Joins (using two, three or more tables)

· Set operations (UNION, INTERSECT and MINUS)

· Ordering · Grouping

· Aggregate functions (MIN, MAX, AVG, COUNT, SUM)

· Table aliases · Renaming columns · Sub-queries (nested queries)

You should aim to write at least ten sample queries – ranging from basic SELECT…FROM…WHERE queries to more advanced ones using the above techniques.

5. Optimize your Database (10 Marks) You should now optimize your database:

· Apply suitable database optimization techniques to your final set of tables.

· Aim to implement a range of indexes. · Run a suite of queries that will invoke those indexes.

· Aim to demonstrate some index suppression techniques.

6. Secure your Database (10 Marks) Your optimized database should now be secured. To demonstrate this:

· Create three new users on your database

· Allocate them different security privileges and roles.

 · Create a suite of views over your existing base tables.

· Issue appropriate privileges so that at least one user can use those views.

· Clearly demonstrate what actions each user can/cannot perform.

 7. Building a Web Interface (15 Marks)

You now have a fully working, secure and optimized database. Your final task is to design and build a web-based interface to that database such that it can support the following operations:

 · Insert new rows of data

 · Update existing rows of data

Delete existing rows of data

 · Query existing rows of data

Clearly label all tasks and take care to explain and discuss your technical work

· For the modelling and design work you must supply clearly annotated diagrams

· For the SQL work you must supply full code listings of the inputted code and screenshots of the outputted results – even if no rows were returned. Each screenshot must include some identifying feature – such as a username or user ID – that proves beyond doubt that it is your own work.

 

 · If you need to research, then fully reference all such sources using the Harvard notation.

Reference no: EM13976502

Questions Cloud

Equity markets are cleaner-more reliable than stock markets : In light of the Enron, Worldcom, option back dating, government bailouts/nationalizations and Madoff scandals, do you think U.S. equity markets are cleaner and more reliable than stock markets in the rest of the world?
What is the return on assets : The After Life has sales of $428,300, total assets of $389,100, and a profit margin of 7.2 percent. What is the return on assets?
What is the equilibrium price : Price is $10 quantity demanded is 100 units, and quantity supplied is 130 units. For each dollar decline in price, quantity demanded rises by 5 units, and quantity supplied falls by 5 units. What is the equilibrium price?
Brokerage account-how many year will take to reach your goal : You have $31,698 in a brokerage account, and you plan to deposit an additional $4000 at the end of every future year until your account total $240000. You expect to earn 13% annually on the account. How many years will it take to reach your goal?
Optimize your database : Optimize your Database (10 Marks) You should now optimize your database, Apply suitable database optimization techniques to your final set of tables
Company name-stock ticker symbol and stock exchange : Please include a table for the company listing: the company name, stock ticker symbol, stock exchange, company address, sector, industry, major competitors, name of CEO, the closing price of one share on January 2nd, and how many shares you purchased..
Calculating the ytm of a bond : (Calculating the YTM of a bond) If a corporate bond with a face value of $1,000 has 24 years to go until it matures, has a coupon interest rate of 5.7% and a market price of $1,223.92, what is its yield to maturity (YTM)?
Over extending through debt financing : You brought up that over extending through debt financing can severely limit future cash flow and stifle growth. I think its important to realize the balance necessary to maintain a successful firm and that relying too much on anything can be a limit..
Public health leadership critique : LEADING AND LEARNING IN PUBLIC HEALTH, Public Health Leadership Critique, Critically analyse contrasting leadership theories, concepts or models that interest you.

Reviews

Write a Review

Database Management System Questions & Answers

  Importing namespace system. io. import system. io

Create an application that stores people's names and birthdays in a file (Fig. 23.40). The user creates a file and inputs each person's first name, lastname and birthday on the Form. The information is then written to the file.

  Spreadsheet and database

Explain the differences between the storing data in Access and Excel. Why you would use a spreadsheet over the database?

  Construct a list of potential entities.

create an IDEF1X diagram that shows only entities and relationships. Name each relationship and specify its cardinalities. Justify the cardinality decisions.

  Product in traditional costing system - bullie manufacturing

Determine the manufacturing overhead cost per unit of each of the company's two products under the traditional costing system.

  Advantages of database approach over file-system approach

How and why did database management systems become the organizational data management standard? Describe some advantages of database approach over file-system approach.

  Debugging the speed issue

A controller action is taking 10 seconds to run. Most of the time is being spent in a view which is a large file.(1000 lines). How will you go about debugging the speed issue?

  Draw erd with key attributes and data dictionary

Draw ERD with key attributes. You can use any notation to draw the ERD. Must include legend - Data dictionary for the above scenario

  Case study - cqr accounting

Find domains for which there is none or only one current employee with that expertise - Find the minimum billing rate for each employee type for the most recent billing rate effective date;

  Open source relational database management system

Imagine you are a part of a team that is tasked with writing a mobile application (app) that will allow users to send pictures to their friends. The manager does not want to waste time creating code modules.

  Write the application for university admissions office

Write the application for university admissions office. Prompt user for a student's High School Grade Point and an admission test score.

  Define what is a data warehouse and why is rei building one

What is a data warehouse and why is REI building one and What are some of the risks or concerns surrounding the creation of a data warehouse

  Develop an activity diagram for the scenario

In each task, please feel free to make any assumption necessary for the readers. The explanation of your assumptions can help the readers to understand what you have considered differently but as important criteria in producing your model.

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