Database Management System Vs File Management
Database Management System Vs File Management
Database Management System Vs File Management
Data Management.
application.
Generality with respect to storage devices. The FMS data abstractions and access
methods should remain unchanged irrespective of the devices involved in data
storage.
Validity. An FMS should guarantee that at any given moment the stored data reflect
the operations performed on them.
Performance.
functionality.
Compromise
data
access
speed
and
data
transfer
rate
with
From the point of view of an end user (or application) an FMS typically provides the
following functionalities (Calleri, 2001):
Facilities for maintaining data redundancies against technical failure (back-ups, disk
mirroring, etc.).
Logical identification and structuring of the data, via file names and hierarchical
directory structures.
Disadvantages
Difficult to learn
Packaged separately from the operating
system (i.e. Oracle, Microsoft Access,
Lotus/IBM Approach, Borland Paradox, Claris
FileMaker Pro)
Slower processing speeds
managing
atomicity,
A user-accessible catalog
Transaction support
and
update
(while
hiding
the
internal
physical
The components to facilitate the goals of a DBMS may include the following:
Query processor
File manager
Catalog manager
On the other hand, a file system is a more unstructured data store for storing arbitrary,
probably unrelated data. The file system is more general, and databases are built on top of
the
general
data
storage
services
provided
by
file
systems.
10. There are also differences in the expected level of service provided by file systems and
databases. While databases must be self consistent at any instant in time (think about
banks tracking money!), provide isolated transactions and durable writes, a file system
provides much looser guarantees about consistency, isolation and durability. The database
uses sophisticated algorithms and protocols to implement reliable storage on top of
potentially unreliable file systems. It is these algorithms that make database storage more
expensive in terms of processing and storage costs that make general file systems an
attractive option for data that does not require the extra guarantees provided by a
database.
11. As technology moves forward, though, the lines are blurring, as some file systems pick
up features previously the domain of databases (transactions, advanced queries) and some
databases relax the traditional constraints of consistency, isolation and durability. ZFS and
BTRFS might be considered examples of the former, MongoDB and CouchDB examples of
the latter.
Roles of DBA
A database administrator's responsibilities can include the following tasks:
A database administrator (DBA) directs or performs all activities related to maintaining a
successful database environment. Responsibilities include designing, implementing, and
maintaining the database system; establishing policies and procedures pertaining to the
management, security, maintenance, and use of the database management system; and
training employees in database management and use. A DBA is expected to stay abreast of
emerging technologies and new design approaches. Typically, a DBA has either a degree in
Computer Science and some on-the-job training with a particular database product or more
extensive experience with a range of database products. A DBA is usually expected to have
experience with one or more of the major database management products, such as
Structured Query Language, SAP, and Oracle-based database management software.
Allocating system storage and planning future storage requirements for the database
system
The Entity-Relationship (ER) model was originally proposed by Peter in 1976 as a way
to unify the network and relational database views. Simply stated, the ER model is a
conceptual data model that views the real world as entities and relationships. A basic
component of the model is the Entity-Relationship diagram, which is used to visually
represent data objects. For the database designer, the utility of the ER model is:
It maps well to the relational model. The constructs used in the ER model can easily be
transformed into relational tables.
It is simple and easy to understand with a minimum of training. Therefore, the model can
be used by the database designer to communicate the design to the end user.
In addition, the model can be used as a design plan by the database developer to
implement a data model in specific database management software.
Graphical representation for better understanding: An E-R model gives graphical and
diagrammatical representation of various entities, its attributes and relationships between
entities. This is turn helps in the clear understanding of the data structure and in minimizing
redundancy and other problems.
Disadvantages of E-R Data Model
Following are disadvantages of an E-R Model:
No industry standard for notation: There is no industry standard notation for
developing an E-R diagram.
Popular for high-level design: The E-R data model is especially popular for high level.
Advantages
Disadvantages
Conceptual simplicity
Visual representation
Effective communication
No representation of data
manipulation
Loss of information
Advantages of ER Model
1. Conceptually it is very simple Making the ER Diagram is a very easy
process. You just know about the notations about various types of entities,
their attributes and the relationships between these entities.
2. Better visual representation The E-R model gives graphical and
diagrammatical representation of various entities, their attributes and
relationships between entities. So, It helps in the clear understanding of the
data structure and in minimizing redundancy and other problems.
3. Effective Communication Tool It is an effective communication tool
among users, domain experts ans database designers.
4. It is highly integrated with relational model, so converting ER Diagrams
to tables is very simple.
5. Easy conversion to any Data Model Conversion of ER Diagram to any
other data model like network model, hierarchical model and the relational
model is very easy.
Disadvantages of ER Model
1. Limited Constraints and Specifications Example : minimum Cardinality
2. Loss of Information Content Example FAN Trap, CHASM Trap (may
be)
3. Limited Relationship Representation (only Binary Relationship)
4. No industry standard for notation i.e. there is no industry standard
notation for developing an E-R diagram.
5. Popular for high-level design The E-R data model is especially popular
for high level design.