Our Services

Get 15% Discount on your First Order

[rank_math_breadcrumb]

WK4 Discussion

Please review the attachment for instructions

 

 

WK4 Discussion Instructions: RDBMS vs OODBMS and Cursors and Embedded SQL 

 

250 words total, answer the questions below with 4 evidence base scholarly articles. APA format, due 15 Nov 24. 

1. What are the main differences between designing a relational database and an object database. Illustrate by examples.

2. Describe the concept of a cursor and how it is used in embedded SQL.

 

400 words total, replying to the two posts below. Each reply must be 200 words for post 1 and post 2. 

 

 


J.F Post #1

Good morning everyone,

When designing a database, the differences between a relational database (RDB) and an object database (ODB) are quite noticeable. A relational database organizes data into tables, where each table has rows (representing individual records) and columns (representing attributes of those records). For example, imagine a university system with tables for students, courses, and professors, where relationships between them are managed using keys like primary and foreign keys (Elmasri & Navathe, 2015). This structure is great for handling structured data and supports SQL queries, which are widely used to manipulate data. On the other hand, an object database uses object-oriented principles, storing data as objects (just like in programming languages like Java or C++). Instead of storing information in rows and columns, an object database might store a student as an object with attributes like name, student_id, and courses, as well as methods to handle specific behaviors. This approach is particularly useful when dealing with more complex relationships between data and when you want to combine data and behavior in a more natural, object-oriented way (Elmasri & Navathe, 2015).

Now, let’s talk about cursors in embedded SQL. A cursor is a tool used to handle query results row by row, which comes in handy when you want to process large sets of data without overwhelming your system’s memory. In an embedded SQL program, if you run a query to get a list of employees, for instance, a cursor allows you to go through each employee’s information one at a time, making the process more manageable and efficient (Elmasri & Navathe, 2015). This way, you can fetch, update, or delete specific rows without needing to load everything into memory all at once.

References

Elmasri, R., & Navathe, S. B. (2015). 
Fundamentals of Database Systems (7th ed.). Pearson Education.

 

 


M.T Post #2:

 

As we’ve discussed in previous weeks, a relational database (DB) stores and provides access to related data. Based on the relational model, data (entities) are represented in the form of tables, with columns holding attributes that describe the data and rows containing records with values for each attribute. Each row in the tables has a unique ID (primary key) to allow the establishment of relationships among different tables. Another type of database is the object-oriented (OO) database. OO DBs are based on OO programming language and store and represent data in the form of objects (similar to a real-world entity). OO DBs apply object-oriented concepts such as object ID (similar to primary key), classes of objects (collection of objects), encapsulation, and inheritance. Fundamentally, relational DBs are considered simpler (tables and their values are easier to understand), flexible (no requirement for users to have pre-defined keys for data input), and productive (SQL is a simpler program to learn). However, for the same reasons, relational DBs are limited in technical capacity compared to OO DBs that are capable of processing complex and larger data, faster in performance for OO queries, scalable due to flexible schema, and highly flexible due to their OO nature. Relational DBs are often used in social media applications, chat applications, and multimedia storage. While OO DBs are leveraged for engineering applications, geographic information systems, and applications with complex and larger data sets.

Embedded SQL is a DB programming approach that uses embedded DB commands in a programming language such as Java or C++. The DB commands correspond to a special set of prefixes, and a precompiler/preprocessor scans the source code to identify the DB statements for processing of the DBMS. When using embedded SQL and the query returns multiple rows, a cursor is used to identify the current row and allows the processing of rows one at a time. A cursor can be explicitly defined to process beyond the first returned row or track which row is currently being processed. 

References: 

Elmasri, R., & Navathe, S. B. (2016). Fundamentals of database systems, 7th ed. New York, NY: Pearson Addison-Wesley

Kumar, K. (n.d.). Object-Oriented Database Management System (OODBMS)

 

 

 

Share This Post

Email
WhatsApp
Facebook
Twitter
LinkedIn
Pinterest
Reddit

Order a Similar Paper and get 15% Discount on your First Order

Related Questions

4/6pg

Your company Acme Logistics has recently been experiencing some thefts of equipment during the business day. All employees have been asked about the thefts and no one is claiming that they are responsible. Your facilities has three doors that are not locked during business hours and currently have no identification

Computer program

Kenya Forestry College [email protected] P.O. BOX 8 -20203, Londiani Tel .No.0202349901, 07232262 APPLICATION FOR TRAINING PROGRAMMES 2019/2020 Applications are invited for the following training programmes to be offered at Kenya Forestry College, Londiani commencing on the given dates. S/ n Programme Entry Requirements Duration Commencement Date Total Cost (Ksh) 1

Wk5_492

Need help with a question. Imagine that you are hired as an Ethical Hacking Consultant by your organization. You are asked by the top management to compare two object-oriented programming languages and create a presentation about your findings and suggestions. Use your problem-solving skills and  integrate your knowledge of web application testing

Computer Science

What is computer science  Science? what is the benefit of computer science?

6/8p

Running head: GUIDED IMAGERY AND PROGRESSIVE MUSCLE RELAXATION 2 Research Paper Topic: · Legal and legislative issues associated with biometric industry Instructions: · Prepare a 6-8 page paper in Microsoft Word using approved APA format. · The minimum page count cannot not include your Title page and Reference list. ·

week 7 Discussion and Replies

Please review the instructions for the assignment     WK7 Discussion Instructions: Database Failures and Timestamp Protocol  250 words total, answer the questions below with 4 evidence base scholarly articles. APA format, due 19 Dec 24.  1. Discuss the different types of failures. What is meant by catastrophic failure? 2.

Capstone B

Assessment 1 & 4 This file is too large to display.View in new window

hrmt

  how can organizations address change management in the workplace such that healthy stress is created? Be creative in your answer! You may find appropriate articles at the end of each chapter, and/or identify articles through the APUS online Library. Finally, be sure that all discussions are answered in full,

help

can u build a project for me based on the description given  below

help

can u build a project for me based on the description given  below

apple vs fbi

read this article Explain, based on the article and additional research, whether you agree with the FBI or Apple and why. Describe a possible compromise to the issue for future cases that would allow the investigation to continue. Take a position on whether technology is moving too fast for the

excel module 3

who can complete homework  assignment  by 4pm today  excel module 3 Documentation Shelly Cashman Excel 2019 | Module 3: SAM Project 1a Raybridge Recruiting CREATE A SALES REPORT Author: Theresa Cobb Note: Do not edit this sheet. If your name does not appear in cell B6, please download a new

excel module2

who can complete this assignment by 4pm today  Documentation Shelly Cashman Excel 2019 | Module 2: SAM Project 1a Roadrunner Online FORMAT WORKSHEETS Author: Theresa Cobb Note: Do not edit this sheet. If your name does not appear in cell B6, please download a new copy of the file from

Excel module 1

can anyone complete this ASAP or by tomorrow Documentation Shelly Cashman Excel 2019 | Module 1: SAM Project 1a New Era Medical COMPLETE A BUDGET SUMMARY WORKSHEET Author: Theresa Cobb Note: Do not edit this sheet. If your name does not appear in cell B6, please download a new copy

bcis

IfSuccessful_Status GA_Status_Icon SAM_Logo true false ID FirstName LastName AssignmentGUID UserID false rohan maharjan {308B14B0-E32E-42D1-BE7D-54EE2E09B8CD} {308B14B0-E32E-42D1-BE7D-54EE2E09B8CD} ID FirstName LastName ProjectName SubmissionNum MaxScore Score EngineVersion ID StepNumber Description IfSuccessful StepScore StepMaxScore ErrorText ActionName StepActionOrder ConsultantID FirstName Last 110345 Jenette Masterson 110347 Victorina Hogg 110349 Marguerite Hathcock 110351 Sid Ortiz 110352 Glenn Testani

WK6 Discussion

Please see attachment instructions to complete the assignment.     WK6 Discussion Instructions: Cost Functions and Record Lengths    250 words total, answer the questions below with 4 evidence base scholarly articles. APA format, due 15 Nov 24.  1. Discuss the different types of parameters that are used in cost

Enterprise Networking

ICT3051 Enterprise Networking Week-8 Laboratory Practicum 1 Configuring Quality of Service Task Use the following video to configure your own packet tracer file. Make sure everything in it works. Name the file with your name and student id. Reflect on the configuration experience by explaining what kind of problems you

Scott Tyree (2002)

You have been asked to conduct research on a past forensic case to analyze how digital data was used to solve the case Scott Tyree (2002). Summarize the case, pertinent actors, evidence, and facts. Outline the specific digital evidence used in the case. Describe the procedures and tools used to