DBMS Unit - 6
DBMS Unit - 6
Object-Oriented Databases
An object-oriented database is a collection of object-oriented
programming and relational databases. There are various items which are
created using object-oriented programming languages like C++, Java
which can be stored in relational databases, but object-oriented
databases are well-suited for those items.
https://cgccollegespace.live
https://cgccollegespace.live
Object-relational Data Model
An Object relational model is a combination of an Object oriented
database model and a Relational database model. So, it supports objects,
classes, inheritance etc. just like Object Oriented models and has support
for data types, tabular structures etc. like Relational data models.
One of the major goals of Object relational data model is to close the gap
between relational databases and the object oriented practises frequently
used in many programming languages such as C++, C#, Java etc.
Inheritance
The Object Relational data model allows its users to inherit objects, tables
etc. so that they can extend their functionality. Inherited objects contain
new attributes as well as the attributes that were inherited.
Complex data types can be formed using existing data types. This is
useful in Object relational data models as complex data types allow better
manipulation of the data.
Extensibility
https://cgccollegespace.live
https://cgccollegespace.live
Difference Between RDBMS and OODBMS:
https://cgccollegespace.live
Stores data in
Way of
Entities, defined as
storing Stores data as Objects.
tables hold specific
data
information.
Data Handles
Handles larger and complex
Complexi comparatively
data than RDBMS.
ty simpler data.
Data Independence
Main
from application Data Encapsulation.
Objective
program.
A Primary key
An object identifier (OID) is an
distinctively
Key unambiguous, long-term name
identifies an object
for any type of object or entity.
in a table..
https://cgccollegespace.live
What is Logical Databases?
Logical Database is a special ABAP program which retrieves data from
various tables Which are interrelated and provides a read only view of the
data. To read data from database tables we use logical databases. A
Logical Database is a hierarchical structure of tables. Logical databases
contain Open SQL statements that read data from the database. You do
not therefore need to use SQL in your own programs. The logical
database reads the program, stores them in the program if necessary,
and then passes them line by line to the application program or the
function module LDB_PROCESS.
https://cgccollegespace.live
1.No need of programming for retrieval , meaning for data selection
https://cgccollegespace.live
2.If you do not specify a logical database in the program attributes,the
GET events never occur.
https://cgccollegespace.live
MySQL
Often in the world of Web databases, MySQL (structured query
language) will be mentioned. This is a relational database
management system that manages different Web databases. It
operates as a server, and is an open source project. MySQL is often
included with Web hosting for managing either personal or business
website databases. It is a programming language, so is more
difficult to work with than a straight Web database software
program.
1. Save Money
your business money. When you don’t need to buy a software program
for your business, this could result in a major savings overall. In most
cases, businesses pay for a software program and then pay for a licensing
fee for each computer that uses it. Using an online database may prove
cheaper, depending on the number of computers you use. You also don’t
business to be flexible. You only pay for the amount of storage that you
eliminating them when they are no longer needed. If your business grows
https://cgccollegespace.live
or shrinks, you do not need to be concerned about the costs of database
management software or servers.
3. Technical Support
can shift the technical support burden to someone else. Paying a company
for access to an online database includes technical support. If the
database has problems, you simply contact the company and the staff
4. Access
seven days a week. This means that all employees have access to the
https://cgccollegespace.live
Distributed DBMS - Distributed
Databases
This chapter introduces the concept of DDBMS. In a distributed database,
there are a number of databases that may be geographically distributed
all over the world. A distributed DBMS manages the distributed database
in a manner so that it appears as one single database to users. In the
later part of the chapter, we go on to study the factors that lead to
distributed databases, its advantages and disadvantages.
Features
● Databases in the collection are logically interrelated with each
other. Often they represent a single logical database.
● Data is physically stored across multiple sites. Data in each site can
be managed by a DBMS independent of the other sites.
● The processors in the sites are connected via a network. They do
not have any multiprocessor configuration.
● A distributed database is not a loosely connected file system.
● A distributed database incorporates transaction processing, but it is
not synonymous with a transaction processing system.
https://cgccollegespace.live
Distributed Database Management System
A distributed database management system (DDBMS) is a centralized
software system that manages a distributed database in a manner as if it
were all stored in a single location.
Features
● It is used to create, retrieve, update and delete distributed
databases.
● It synchronizes the database periodically and provides access
mechanisms by the virtue of which the distribution becomes
transparent to the users.
● It ensures that the data modified at any site is universally updated.
● It is used in application areas where large volumes of data are
processed and accessed by numerous users simultaneously.
● It is designed for heterogeneous database platforms.
● It maintains confidentiality and data integrity of the databases.
https://cgccollegespace.live
● Support for Multiple Application Software − Most organizations
use a variety of application software each with its specific database
support. DDBMS provides a uniform functionality for using the same
data among different platforms.
https://cgccollegespace.live
● Overheads for improper data distribution − Responsiveness of
queries is largely dependent upon proper data distribution.
Improper data distribution often leads to very slow response to user
requests.
UNIT - 6 COMPLETED
https://cgccollegespace.live