Database Model and The Evolution of Data Modeling
Database Model and The Evolution of Data Modeling
There are several database models that were used before the relational model (hierarchical,
red) which were partial solutions to the never-ending problem of how to store the
data efficiently.
The relational model is currently the best solution for storage and
record recovery.
* Hierarchical DB Model
The hierarchical DB model resembles the structure of an inverted tree.- The tables
in this model they have a parent-child relationship. Each child table has only one
parent table, each parent table can have multiple child tables. - The child tables are
completely dependent on the parent tables, so a child table can only exist if the
parent table exists.- The result of this structure is that the hierarchical model of database
Data supports one to many relationships. (1:N one to many relationships).- Origin towards
1950.
Relational DB Model
The relational database model has an improvement over the hierarchical structure without
completely abandon it. - In this model, each table can be accessed directly.
without the need to access all parent objects.- The trick is knowing what it is that
you are looking - if you want the address of a specific employee, it is necessary to know from
which employee is required the information, or simply examine all employees.
It is not necessary to examine the entire hierarchical structure.
Another benefit of the relational model is that tables can be related to each other.
others, regardless of whether there is a logical hierarchical structure or not.- The relationships
between the tables are not given through pointers, but through the data contained in the
fields of the tables.
The relational database model was invented by an IBM researcher named Dr.
E.F. Codd, who published research related to the model for some time.
Other people resumed their studies by making adjustments and improvements to the model until
to reach the model we know today.
Essentially, the relational database model was developed with the purpose of managing
large datasets, this was possible by minimizing data duplication to
through a process called normalization.-Normalization is composed of a
a determined number of steps called normal forms. - The result of all this was
a language for general data access called Structured Query Language
SQL (Structured Query Language) that allows retrieving data from the
data structures of the relational model.
Types of Databases
Databases, according to their function, can fall into three major categories:
• Transactional
• Decision Support Systems (DSS)
• Hybrid
The operation of the DBMS is very interrelated with the Operating System,
especially with the communication system.- The DBMS will use the facilities of the
communication system to receive user requests (which may be
using a remote terminal) to return the results.- Conceptually what
what happens is the following:
Definition of Data
The DBMS must be able to accept data definitions (external schemas, the
conceptual scheme, the internal scheme, and all associated correspondences) in
source version and convert them into the appropriate object version. In other words, the
DBMS must include language processing components for each of the
various data definition languages (DDL). The DBMS must also understand the
definitions in DDL, in the sense that, for example, it understands that the records
external 'Employee' contains a field 'Salary'; and it should be able to use these
knowledge to interpret and respond to user requests (for example
a query of all employees whose salary is below 10,000 pesos.
Data Manipulation
The DBMS must be able to handle user requests to extract, and perhaps
update, data that already exists in the database, or to add new data to it.
another way, the DBMS must include a language processing component
data manipulation (DML).
The DBMS must monitor user requests and reject attempts to violate.
the security and integrity measures defined by the database administrator.
Data Dictionary
The DBMS must include a data dictionary function. -It can be said that the
Data dictionary is a database (of the system, not the user). - The content
the dictionary can be considered as 'data about data' (metadata), it is
to say, definitions of other objects in the system, and not just raw data.- In particular,
In the data dictionary, all the various schemas will be stored physically.
correspondences (external, conceptual, etc.) in both their source versions and in the
object versions.- A complete data dictionary will include cross-references for
indicate, for example, what databases the programs use, what reports they require
the users, which terminals are connected to the system.- The data dictionary could
to be integrated into the database it defines, and therefore to include its own definition.
It should be possible to consult the dictionary just like any other database.
So it is possible to know, for example, what programs or users could be affected.
for a proposed modification to the system.
In conclusion, we can say that the DBMS serves as the interface between the user.
and the database system. - The user interface can be defined as a boundary
of the system, beyond which everything becomes invisible to the user.- By definition,
So, the user interface is at the external level.
Extensibility features of DBMS
ODBC support
Object-Oriented Programming
Traditional relational DBMS can only store and handle numbers and
string characters.- Improvements in the field of multimedia require that the
Currently developed applications increasingly require storing, along with the
numerical and character information, more complex data types that allow
manage sound objects, images, videos, etc. - Some relational DBMS
They use binary data to store this type of data, but it is not enough.
appearance of Object-Oriented Relational DBMS (OODBMS) provide all
the power and robustness of relational DBMSs, and at the same time, allow
manage objects natively, as well as numeric and character fields
that have traditionally been collected. - The OODBMS have all the
possibilities of a classic SQL query engine, but the language can manipulate
user-defined types, in the same way that it manages predefined types
of the oldest systems.
Internet connectivity
The various existing DBMS incorporate in their latest versions software of type
middleware to add connectivity to the database via the Internet. - Microsoft
has developed ADO (ActiveX Data Object, Data Access Objects)
that, incorporated into scripts within HTML web pages, provide connection
with Databases, both local and remote, using ODBC (JDBC Driver of
Open Database Connectivity for Java.
Object standards support
There are several object standards designed to provide guidance in design and
development of distributed applications that work with relational databases with orientation to
objects.- Today's DBMS use middleware type software that assumes the
object transaction service tasks following some of the standards of
existing objects.- The main object standards are:
They must also provide increasingly better stability and robustness, allowing for
optimize data warehouses (Data Warehousing), data markets (Data Marts)
data webs, transaction processes, and other mission-critical applications.
Data is one of the most valuable assets of the company, it is necessary for there to be
a person who understands them along with the needs of the company regarding those
data, at a higher level of management.- That person is the data administrator.
The role of the Data Administrator is to first decide which data must
to be stored in the database and establish policies to maintain and manage that data
once stored.- An example of these policies could be one that indicates who can
perform operations on certain data and under what circumstances. - In other words, a
data security policy.- The Data Administrator is an administrator, not
a technician, although it requires having an idea of the possibilities of the database manager.
The technician responsible for carrying out the decisions of the data administrator is the
Database Administrator (or DBA).- Therefore, the DBA, unlike the DA,
It is a professional IT. The work of the DBA consists of creating the actual database and implementing the
technical controls necessary to enforce the various policy decisions
made by theDA.- TheDBA is also responsible for ensuring that the system operates
with the proper performance and to provide a variety of other technical services.
Usually, a DB will have a team of systems programmers and other assistants.
technicians.