
















































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Introduction of the database management systems and deals about sql query
Typology: Lecture notes
1 / 56
This page cannot be seen from the preview
Don't miss anything!

















































Normalization leads to relations that do not correspond to entities in “real world”.
Relational model has only one construct for representing data and data relationships: the relation. Even difficult to differentiate between multiple relationships among two relations Relational model is semantically overloaded****.
…
RDBMs only have a fixed set of operations which cannot be extended.
Extremely difficult to produce recursive queries, that is, queries about relationships that a relation has with itself
Category( catID, catName,parentCatId)
…
Other Problems with RDBMSs
o Transactions are generally short-lived and concurrency control protocols not suited for long-lived transactions. o Schema changes are difficult. o RDBMSs are poor at navigational access.
BASIS RDBMS OODBMS
Long Form Stands for Relational DatabaseManagement System.^ Stands for Object Orientedl DatabaseManagement System.
Way of storing data Stores data in Entities, defined as tables hold specific information. Stores data as Objects.
Data Complexity Handles comparatively simpler data. Handles larger and complex data thanRDBMS.
Grouping Entity type refers to the collection of entity that share a common definition.
Class describes a group of objects that have common relationships, behaviors, and also have similar properties.
Data Handeling RDBMS stores only data. Stores data as well as methods to use it.
Main Objective Data Independece from applicationprogram. Data Encapsulation.
Key A Primary key distinctively identifies anobject in a table..
An object identifier (OID) is an unambiguous, long-term name for any type of object or entity.
Difference Between RDBMS and OODBMS:
Abstraction, encapsulation, information hiding.
Objects and attributes.
Object identity.
Methods and messages.
Classes, subclasses, super classes, and
inheritance.
Overloading.
Polymorphism and dynamic binding.
Uniquely identifiable entity that contains
both the attributes that describe the state of a real-world object and the actions associated with it.
Definition very similar to that of an entity,
however, object encapsulates both state
and behavior; an entity only models state.
Contain current state of an object.
Attributes can be classified as simple or complex.
Simple attribute can be a primitive type such as
integer, string, etc., which takes on literal values.
Complex attribute can contain collections and/or
references to other objects.
Reference attribute represents relationship.
An object that contains one or more complex
attributes is called a complex object.
In RDBMS, object identity is value-based: primary
key is used to provide uniqueness.
Primary keys do not provide type of object identity
required in OO systems: key only unique within a relation, not across entire system; key generally chosen from attributes of relation, making it dependent on object state.
…