Short Notes Distributed Obect Multimedia Mobile Databases
Short Notes Distributed Obect Multimedia Mobile Databases
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.
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.
object-oriented database
An object-oriented database is a collection of object-oriented programming and
relational database. 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.
An object-oriented database is organized around objects rather than actions, and data
rather than logic. For example, a multimedia record in a relational database can be a
definable data object, as opposed to an alphanumeric value.
Object-Oriented Database
Object database management systems (ODBMSs) are based on objects in object-
oriented programing (OOP). In OOP, an entity is represented as an object and
objects are stored in memory. Objects have members such as fields, properties, and
methods. Objects also have a life cycle that includes the creation of an object, use
of an object, and deletion of an object. OOP has key characteristics, encapsulation,
inheritance, and polymorphism. Today, there are many popular OOP languages such
as C++, Java, C#, Ruby, Python, JavaScript, and Perl.
Object databases are commonly used in applications that require high performance,
calculations, and faster results. Some of the common applications that use object
databases are real-time systems, architectural & engineering for 3D modeling,
telecommunications, and scientific products, molecular science, and astronomy.
In a typical relational database, the program data is stored in rows and columns. To
store and read that data and convert it into program objects in memory requires
reading data, loading data into objects, and storing it in memory. Imagine creating a
class in your program and saving it as it is in a database, reading back and start
using it again.
Object databases bring permanent persistent to objects. Objects can be stored in
persistent storage forever.
Some object database can be used in multiple languages. For example, Gemstone
database supports C++, Smalltalk and Java programming languages.
Data values stored in relational databases are atomic and primitive. By primitive, we
mean that they are types like characters, text strings, numbers, and hashes. Even
though MySQL and SQLite support the JSON (JavaScript Object Notation) data type,
that’s not the same as supporting objects in the sense that OODs do.
Contrast this with the OOD, which typically stores and manages objects directly on the
database server’s disk. There are no tables, no rows, no columns, no foreign keys.
There are only objects.
Associations between objects in an OOD can also be established and persist, which
can lead to powerful and fast querying of data across complex relationships.
. Multimedia Database
There are still many challenges to multimedia databases, some of which are :
1. Modelling – Working in this area can improve database versus
information retrieval techniques thus, documents constitute a
specialized area and deserve special consideration.
2. Design – The conceptual, logical and physical design of multimedia
databases has not yet been addressed fully as performance and tuning
issues at each level are far more complex as they consist of a variety of
formats like JPEG, GIF, PNG, MPEG which is not easy to convert from
one form to another.
3. Storage – Storage of multimedia database on any standard disk presents
the problem of representation, compression, mapping to device
hierarchies, archiving and buffering during input-output operation. In
DBMS, a ”BLOB”(Binary Large Object) facility allows untyped bitmaps to
be stored and retrieved.
4. Performance – For an application involving video playback or audio-video
synchronization, physical limitations dominate. The use of parallel
processing may alleviate some problems but such techniques are not yet
fully developed. Apart from this multimedia database consume a lot of
processing time as well as bandwidth.
5. Queries and retrieval –For multimedia data like images, video, audio
accessing data through query opens up many issues like efficient query
formulation, query execution and optimization which need to be worked
upon.
● The main system database that stores all the data and is linked to the mobile
database.
● The mobile database that allows users to view information even while on the
move. It shares information with the main database.
● The device that uses the mobile database to access data. This device can be a
mobile phone, laptop etc.
● A communication link that allows the transfer of data between the mobile
database and the main database.
Advantages of Mobile Databases
Some advantages of mobile databases are −
● The mobile data is less secure than data that is stored in a conventional
stationary database. This presents a security hazard.
● The mobile unit that houses a mobile database may frequently lose power
because of limited battery. This should not lead to loss of data in the database