Question

research the following: Data modeling Benefits of SQL for application processing Based on your research and...

research the following:

  • Data modeling
  • Benefits of SQL for application processing

Based on your research and understanding, complete the following discussions:

  • Discuss the benefits of views. Examine how views can affect database usability by considering both positive and negative aspects. Provide examples from business cases to support your response.
  • Evaluate and discuss the given comment: "The database is slow and does not provide the data I need. Using this system makes my job harder."
    • Based on your evaluation, answer the following questions:
      • What could be the possible reasons behind the problems the user has described?
      • What would be your recommendations for addressing these problems? Why?
  • Consider how business processes can change over time. Discuss the effects of these changes on database design and ongoing development in the area. Research and include at least two examples to support your claims.
  • Consider the given statement: "When I provided the business requirements to the database development team, the team confirmed that it understood what I needed. However, the entity-relationship (E-R) model does not support the business requirements, and I now have to redesign the system." How would you resolve this issue? What are some possible solutions to the stated problem?
0 0
Add a comment Improve this question Transcribed image text
Answer #1

solution;

: Data modeling- It is basically a process of creating a data model for an information system or we can say that it is a process of learning about data and data model is the end result of data modeling process.

A database model is a type of data model that determines the logical structure of a database and fundamentally determines in which manner data can be stored, organized, and manipulated. The most popular example of a database model is the relational model,which uses a table-based format.

Example- RDBMS- Relational database management system - is a database management system based on the relational model. This is also called SQL model.

SQL- it is language used by relational databases to query, update and manage data.

Views:- A view is a virtual table based on the result set of an SQL statement. A view contains rows and columns , just like a real table.

or generally speaking , a table has a set of definition and it physically stores the data. A view also has a set of definitions , which is build on top of table(s) or other view(s) and it does not physically stores the data.

Benefits of views:-

1. View can represent a subset of the data contained in a table. Consequently a view can limit the degree of exposure of the underlying tables to the outer world, a given user may have permission to query the view, while denied access to the rest of the base table.

2. Join two or more tables and show it as one object to user.

3. Views can hide the complexity of data. For example, a view could appear as Student1 or College15, transparently partitioning the actual underlying table.

4. View needs very less space. Only view definition needs the database space where it does not store any data in it.

5. Depending on the SQL engine used, views can provide extra security.

Views also has some disadvantages , which are as follows:-

A query fired on a view will run slower than a query fired on a base table ,this is because the view definition has to be retrieved from the oracle's system catalog,the base table has to identified and opened in memory and then view has to be constructed on the top of the base table,suitably masking table columns.

View when called always contacts the base table, on which it is built to get the data .so it always goes to the server thats why it degrades the performance of the server.

When Table gets deleted then view remains with no data.
When table gets dropped the view still remains but cannot be accessed (Could not use view or function View_Name because of binding errors).
Later when we recreate the table which was dropped earlier can be accessed using the view which we created without recreating it.

"The database is slow and does not provide the data I need. Using this system makes my job harder."

1.There are two things that impact query performance are data volume and user/transaction concurrency.

So what exactly causes SQL statements to run slow and how do you make them run faster?

2. (a) Bad SQL:- Despite many databases having query optimizers, human inefficiency can’t be ignored. As an example, anyone who writes SELECT * should really be given a public flogging these days. For developers, it’s easy to focus on getting the right result from a query, rather than thinking how long the query might take in production with real data. Performing several table joins on a dev database with small sets of data will always run quickly; executing the same query in production with millions of rows in tables could grind an application to a halt. Cursors are another abused function, which again can be an expensive operation. They help developers iterate through result sets but can waste system resource if they are not properly implemented.

(b). Bad Database Design:- Sounds obvious, but a badly designed database schema will often contribute to bad database performance. Too little or too much normalization can mean the database and your queries have to work harder to get the data you need. A bad database design can increase the complexity of SQL queries and the cost of change down the road. Joins
[1:01 AM, 7/25/2019] mounikasondemanju: can be expensive operations on big data sets, so it’s best to fully understand the needs of the application(s) and its data before jumping into building schemas.

(c). Not Using Database Features:- Stored procedures require a bit more effort but make applications less complex and costly to maintain. Databases are good at processing, managing, and querying data–way more efficient than any developer embedding SQL queries in application code, which can cause result sets to be dumped in application server memory so they can be iterated through and processed. Less is more when it comes to accessing the database–so keep your hits low, let the database do the work for you, and only bring back the data you need.

Over the last few years we've developed a number of techniques that allow a database design to evolve as an application develops. This is a very important capability for AGILE methodologies. The techniques rely on applying continuous integration and automated refactorig to database development , together with a close collaboration between DBAs and application developers. The techniques work in both pre-production and released systems.

In the last few years, we've seen the rise of a new breed of software methodologies, the agile methodologies. These make some new and significant demands on database design. One of the most central of these demands is the idea of evolutionary design. On an agile project you assume that you cannot fix the requirements of the system up-front. As a result having a detailed design phase at the beginning of a project becomes impractical. The design of the system has to evolve through the various iterations of the software. Agile methods, in particular extreme programming (XP), have a number of practices that make this evolutionary design practical.

Dealing with change:-

One of the primary features of agile methods is their attitude towards change. Most of the thinking about software process is about understanding requirements early, signing off on these requirements, using the requirements as a basis for design, signing off on that, and then proceeding with construction. This is a plan-driven cycle, often referred to (usually with derision) as the waterfall approach.

gile processes approach change differently. They seek to embrace change, allowing changes to occur even late in a development project. Changes are controlled, but the attitude of the process is to enable change as much as possible. In order to make this work, you need a different attitude to design. Instead of thinking of design as a phase, which is mostly completed before you begin construction, you look at design as an on-going process that is interleaved with construction, testing, and even delivery. This is the contrast between planned and evolutionary design.

The Practices:-

(a). DBAs collaborate closely with developers

(b). Everybody gets their own database instance

(c). Developers frequently integrate into a shared master

(d). A database consists of schema and test data

(e). All changes are database refactorings

(f). Automate the refactorings

(g). Automatically Update all Database Developers

(h). Clearly separate all database access code

Add a comment
Know the answer?
Add Answer to:
research the following: Data modeling Benefits of SQL for application processing Based on your research and...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • research the design aspects of mobile interfaces. Based on your research and understanding of design principles and guid...

    research the design aspects of mobile interfaces. Based on your research and understanding of design principles and guidelines, complete the following discussions: Evaluate your favorite mobile interface: phone, tablet, or game. Discuss the good and poor design aspects of the interface. Provide examples and evaluations. Discuss the new design and evaluation challenges, with respect to interactive user interfaces such as Google Glass, Microsoft Surface, Apple's Siri, and Android's S Voice. Give examples of how you would overcome some of these...

  • Imagine that you are a junior member of a research lab and your PI has heard...

    Imagine that you are a junior member of a research lab and your PI has heard that you have database experience. He asks you to create a database that will store data about ticks and the results of tests that show what organism(s) infect the ticks. You are very happy for the opportunity, but whenever you attempt to meet with him to discuss the requirements, you are told to “look at the current system” which is an Excel spreadsheet, and...

  • By the end of this week, your Career Development Research paper rough draft is due.   To ensure you receive ample fee...

    By the end of this week, your Career Development Research paper rough draft is due.   To ensure you receive ample feedback on your draft as well as ideas to improve it, please post your draft to the discussion board this week. This will allow your classmates to offer ideas.   When you examine the drafts submitted by others, please comment on the following: 1) Is the thesis offered by the writer effective? Why/why not? 2) Do you notice any issues with...

  • Based on NYC Sustainable Design Guidelines and your own research please answer the following questions: What...

    Based on NYC Sustainable Design Guidelines and your own research please answer the following questions: What are the three top environmental challenges identified by New York City? How will these challenges be exacerbated by climate change? Are these considerations applicable to South Florida? Why or why not? Support your response with specific examples.

  • Describe how DSS(Decision Support System) can illustrate the tenets of decision making. That is, identify how...

    Describe how DSS(Decision Support System) can illustrate the tenets of decision making. That is, identify how systems can provide support in a manner that is prescribed by the decisions-making literature covered in this chapter. What changes would you make to an electronic book catalog system (such as you find in your library) to transform it into a good DSS. Describe the DSS you might provide to Sherlock Holmes. Be sure to describe all components of a DSS. Consider a company...

  • New customer management database software has just been introduced to your company to enable more efficient...

    New customer management database software has just been introduced to your company to enable more efficient customer service. The software reporting function has made you aware that some of the customer service staff may need to be trained. You confirm this need with the customer service manager. Use dot points to explain at-least four approaches managers should use to ensure staffs have the skills to implement the business plan and meet performance measures. Answer the following examples from your own...

  • Using the textbook, Topic Materials, and your own research, write a 100-250 word response to each...

    Using the textbook, Topic Materials, and your own research, write a 100-250 word response to each question below. Cite the sources used for answering each question, and include real-world examples in the answer to each question. Define a tuple. How and where does a tuple fit into relational database theory? Why is this an important concept to understand? How does an object-oriented database management system (OODMS) compare to a relational database management system (RDBMS)? What are the key features of...

  • Please answer the following questions in your own words with sufficient application of concepts along with...

    Please answer the following questions in your own words with sufficient application of concepts along with relevant research (only from trusted sources). How does tariff imposition affect the countries involved? How does it affect the consumers, producers and government in the short and long-run. Provide some real world examples to support your response. How the prices of various stocks are decided? Why does the stock market fluctuates so fast? What kind of market it represents (perfect or imperfect) and why?...

  • Pitch: The pitch was prepared by doing an online research browsing through various international travel sites,...

    Pitch: The pitch was prepared by doing an online research browsing through various international travel sites, the search was predominantly related to kind of services offered by airlines, hotels and travel agents to support the international travelers which include both business and leisure travelers. The negative is that the industry is changing constantly so we had to update our pitch at regular intervals. There are many new facilities for the international traveler and value-added services added every day. To keep...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT