Types of Databases
Types of Databases
Types of Databases
These days, when you talk about databases in the wild, you are
primarily talking about two types: analytical databases and operational
databases.
Analytic Databases
On the web, you will often see analytic databases in the form of
inventory catalogs such as the one shown previously from
Amazon.com. An inventory catalog analytical database usually holds
descriptive information about all available products in the inventory.
Operational Databases
Database Models
Before the 1980's, the two most commonly used Database Models
were the hierarchical and network systems. Let's take a quick look at
these two models and then move on to the more current models.
Hierarchical Databases
You will be instantly familiar with this relationship because that is how
all windows-based directory management systems (like Windows
Explorer) work these days.
2
called "pointers" (perhaps physical addresses inside the file system). A
parent will have a list of pointers to each of their children.
The hierarchical model however, is much more efficient than the flat-file model we
discussed earlier because there is not as much need for redundant data. If a change in the
data is necessary, the change might only need to be processed once. Consider the student
flatfile database example from our discussion of what databases are:
3
However, as you can imagine, the hierarchical database model has
some serious problems. For one, you cannot add a record to a child
table until it has already been incorporated into the parent table. This
might be troublesome if, for example, you wanted to add a student
who had not yet signed up for any courses.
Faced with these serious problems, the computer brains of the world
got together and came up with the network model.
Network Databases
4
Model. Specifically, the Network model solves the problem of data
redundancy by representing relationships in terms of sets rather than
hierarchy. The model had its origins in the Conference on Data
Systems Languages (CODASYL) which had created the Data Base Task
Group to explore and design a method to replace the hierarchical
model.
Relational Databases
5
HOW IT WORKS