Question

In: Computer Science

What does relational closure mean, and what is its significance in application design? What techniques can...

  1. What does relational closure mean, and what is its significance in application design?
  2. What techniques can be used to minimize deadlocks, and how?
  3. Compare and contrast performance problems with availability problems.
  4. Describe three types of technology that can help alleviate availability issues in a database

Solutions

Expert Solution

What does relational closure mean, and what is its significance in application design?

Relational Closure

Every operation performed on a relational database operates on a table (or set of tables) and results in another table.

Application developers face a potential problem when using relational databases because of the set-at-a-time nature of SQL.

Most programming languages operate on data one record at a time. When a program requires relational data, though, it must request the data using SQL.
This creates an impedance mismatch. The program expects data to be returned a single row at a time, but SQL returns data a set at a time.

---

What techniques can be used to minimize deadlocks, and how?

You might rewrite the program to lock all required resources at the beginning of the transaction. However, such a technique is not likely to be possible for most applications.

A final method of avoiding deadlocks is to ensure that all database modifications occur in the same order for all programs in your shop. If the updates in every program are sequenced, deadlocks can be minimized or eliminated.

Perhaps you'll find a logical business order for updates that is reasonable to use for applications. If you don't, consider using an arbitrary policy such as modification in alphabetical order.

---

Compare and contrast performance problems with availability problems.

The major difference lies in the user's ability to access the database. It is possible to access a database suffering from poor performance, but it is not possible to access a database that is unavailable.

If performance suffers to such a great degree that the users of the database cannot perform their jobs, the database has become, for all intents and purposes, unavailable.

---

Describe three types of technology that can help alleviate availability issues in a database

  • Big Data
  • NOSql
  • DBA

--

all the best


Related Solutions

What are the closure properties for CFGs? What does it mean for a CFG to be...
What are the closure properties for CFGs? What does it mean for a CFG to be closed under one of these operations?
What does “wage and price stickiness” mean? What is its significance in Keynesian analysis?
What does “wage and price stickiness” mean? What is its significance in Keynesian analysis?
You are asked to design a relational database for a simple course registration software application for...
You are asked to design a relational database for a simple course registration software application for your school. The relational database must have the following information about the student, the course, and the registration, respectively StudentID, FirstName, LastName, DataOfJoining, and Major CourseNumber, CourseName,InstructorName, StartDate, EndDate, NumberOfCredits ReferenceID, StudentID,CourseID, DateOfRegistration Apply the following constrains while designing the database Each student in the database must be uniquely identifiable Each course listed in the database must be have unique CourseNumber Each course registration...
What does "derivability of relation" mean when it comes to relational databases?
What does "derivability of relation" mean when it comes to relational databases?
What does statistical significance really mean?
What does statistical significance really mean?
What does it mean for an application to be 'data-driven'?
What does it mean for an application to be 'data-driven'?
Design and implement a relational database application of your choice using MS Workbench on MySQL a)...
Design and implement a relational database application of your choice using MS Workbench on MySQL a) Declare two relations (tables) using the SQL DDL. To each relation name, add the last 4 digits of your Student-ID. Each relation (table) should have at least 4 attributes. Insert data to both relations (tables); (15%) b) Based on your expected use of the database, choose some of the attributes of each relation as your primary keys (indexes). To each Primary Key name, add...
Technically, MS Access and many other databases are “object-relational”. What does this mean and what advantages...
Technically, MS Access and many other databases are “object-relational”. What does this mean and what advantages does this hybrid technology provide?
What is the significance of the coefficient of linear expansion and what role does it play in engineering design?
What is the significance of the coefficient of linear expansion and what role does it play in engineering design? When is it desirable to join two metals having like coefficients of linear expansion? Different coefficients?
what does it mean when your job application underview?
what does it mean when your job application underview?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT