Question:
advantages and disadvantages of Object Oriented Relational Database Management System in comparison with RDBMS
anuragLucknow
2006-05-04 02:12:31 UTC
advantages and disadvantages of Object Oriented Relational Database Management System in comparison with RDBMS..can u tell me the some commercial application for both type?
Four answers:
devic1981
2006-05-05 02:09:28 UTC
Object Oriented Databases

Object oriented databases are also called Object Database Management Systems (ODBMS). Object databases store objects rather than data such as integers, strings or real numbers. Objects are used in object oriented languages such as Smalltalk, C++, Java, and others. Objects basically consist of the following:



Attributes - Attributes are data which defines the characteristics of an object. This data may be simple such as integers, strings, and real numbers or it may be a reference to a complex object.

Methods - Methods define the behavior of an object and are what was formally called procedures or functions.

Therefore objects contain both executable code and data. There are other characteristics of objects such as whether methods or data can be accessed from outside the object. We don't consider this here, to keep the definition simple and to apply it to what an object database is. One other term worth mentioning is classes. Classes are used in object oriented programming to define the data and methods the object will contain. The class is like a template to the object. The class does not itself contain data or methods but defines the data and methods contained in the object. The class is used to create (instantiate) the object. Classes may be used in object databases to recreate parts of the object that may not actually be stored in the database. Methods may not be stored in the database and may be recreated by using a class.



Comparison to Relational Databases

Relational databases store data in tables that are two dimensional. The tables have rows and columns. Relational database tables are "normalized" so data is not repeated more often than necessary. All table columns depend on a primary key (a unique value in the column) to identify the column. Once the specific column is identified, data from one or more rows associated with that column may be obtained or changed.



To put objects into relational databases, they must be described in terms of simple string, integer, or real number data. For instance in the case of an airplane. The wing may be placed in one table with rows and columns describing its dimensions and characteristics. The fusalage may be in another table, the propeller in another table, tires, and so on.



Breaking complex information out into simple data takes time and is labor intensive. Code must be written to accomplish this task.



Object Persistence

With traditional databases, data manipulated by the application is transient and data in the database is persisted (Stored on a permanent storage device). In object databases, the application can manipulate both transient and persisted data.



When to Use Object Databases

Object databases should be used when there is complex data and/or complex data relationships. This includes a many to many object relationship. Object databases should not be used when there would be few join tables and there are large volumes of simple transactional data.



Object databases work well with:





CAS Applications (CASE-computer aided software engineering, CAD-computer aided design, CAM-computer aided manufacture)

Multimedia Applications

Object projects that change over time.

Commerce

Object Database Advantages over RDBMS

Objects don't require assembly and disassembly saving coding time and execution time to assemble or disassemble objects.

Reduced paging

Easier navigation

Better concurrency control - A hierarchy of objects may be locked.

Data model is based on the real world.

Works well for distributed architectures.

Less code required when applications are object oriented.

Object Database Disadvantages compared to RDBMS

Lower efficiency when data is simple and relationships are simple.

Relational tables are simpler.

Late binding may slow access speed.

More user tools exist for RDBMS.

Standards for RDBMS are more stable.

Support for RDBMS is more certain and change is less likely to be required.

ODBMS Standards

Object Data Management Group

Object Database Standard ODM6.2.0

Object Query Language

OQL support of SQL92

How Data is Stored

Two basic methods are used to store objects by different database vendors.



Each object has a unique ID and is defined as a subclass of a base class, using inheritance to determine attributes.

Virtual memory mapping is used for object storage and management.

Data transfers are either done on a per object basis or on a per page (normally 4K) basis.
?
2017-01-21 09:26:59 UTC
1
?
2016-03-16 09:17:46 UTC
A relational database is a collection of relations (known as tables) that have data conformity. An rdbms is a three tier system that manages a database. An rdbms allows sophisticated (DBA's, application engineers) and naive (client-side customers) users to create, manipulate, and update a database. An rdmbs includes the application program, the dbms (database management system), and the database. An example of the application program is a any application that can interface with a dbms such as java or php. An example of an dbms (which includes the the physical database too) is mySQL, MS SQL, QBase, etc.
anonymous
2016-04-11 11:28:26 UTC
For the best answers, search on this site https://shorturl.im/ayb4T



A relational database system uses key elements of data to join data from disparate sources into a coherent logical structure. A file system uses a top-down structure, where all the data elements exists in one structured form, and are ordered from one to x in any sort of mode. A telephone book, for example, is a file system. It is ordered alphabetically by last name, then first name. If I wanted to find out how many people named John Smith lived in Dallas, Texas, I would have to work my way through each "Smith, John" in the phone book, counting just those whose address is in Dallas. In a relational database system, the values for Smith, John, and the values for Dallas would be in two different sources (tables). Each would be linked by a key. In the names table, a link would exist for each record to the address. The address table, on the other hand, would have independent data, possibly with links to other tables still. Thus, one can create complex queries without having to know too much about the underlying data. Using the example above, one could make a complex query something like: "Show me all the people who live in Dallas whose area code is 214 and whose last name is either Smith, Brown or Jones but only if their first name begins with the letter 'R.'


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...