21
DIFFERENT TYPES OF DATABASES Presented by Shwe Yee Mya Win

Different type of databases

Embed Size (px)

Citation preview

Page 1: Different type of databases

DIFFERENT TYPES OF DATABASESPresented by Shwe Yee Mya Win

Page 2: Different type of databases

AGENDA› Introduction to Database

› Definition of different database type

› Characteristics & Features

› Appropriate Usages

› Advantages & Disadvantages

Page 3: Different type of databases

DatabaseA collection of interrelated data stored in a computer.

Page 4: Different type of databases

Importance of database

› Provide a highly efficient method for handling large amount of different types of data with ease.

› Database allows data to be stored systematically and these data to be easily retrieved, filtered, sorted and updated efficiently and accurately.

Page 5: Different type of databases

Flat File DatabaseSimple database system that stores record in a plain text file that have no structured relationships between each record.

Page 6: Different type of databases

CHARACTERISTICS & FEATURES

› Store all data in one large table.

› Each line of the text holds one record.

› The first row in a flat file refers to the field name.

› The different fields in a record are separated by delimiters, such as vertical bar “|” or a comma “,” or a semi-colon “;”.

› No folders or paths are used organize the data.

› Cannot store graphical documents but only text.

› Data stored in it are searchable by using keywords, phrases or both.

Page 7: Different type of databases

Where to use ?› Ideal for storing very small amounts of simple data that could be

manually manageable. For example:

We can use flat file database to store records of funding or savings for a small group of people because there is not many fields, the use of multiple table is

not necessary as well and there is no complex process to perform.

Page 8: Different type of databases

ADVANTAGES

› Easier to setup and use.

› Consume less space.

› No special software or hardware requirements.

› Often free or cheap.

DISADVANTAGES

› Prone to data corruption or duplication.

› Prone to error.

› Hard to update or modify.

› Poor access control.

› Cannot perform complex process

Page 9: Different type of databases

Relational DatabaseMore advanced and efficient type of database which can store very large amount of data in a set of tables that are linked together.

Page 10: Different type of databases

CHARACTERISTICS & FEATURES› Use of multiple tables to store records and each table is composed of records

in rows & columns.

› Each column is a field which represents a particular type of information of the entity and each row lists as one record.

› Each field in a table has its own data type.

› Each row contains a unique instance of data to uniquely identifies a record.

› Records within the tables are linked to records held in other tables through a relationship.

› The statements of inserting, retrieving, updating and deleting data in relational databases are made by queries which are written in SQL.

Page 11: Different type of databases

Where to use ?

› Widely used in many different industries ranging from small to large companies to:_– store financial records of the whole industry,– keep track of inventory, – hold customer and supplier information– keep track of customer orders– keep records on employees and etc.

Page 12: Different type of databases

ADVANTAGES

› Can store vast amount of data.

› Ensures data integrity

› Easily extendable and modifiable

› Facilitates data accessibility, searchability, and reporting.

› Better performance

› Allow multiple users

› Advanced data security

DISADVANTAGES

› Steep learning curve.

› Expensive to set up & maintain.

› Require sophisticated hardware and networking setups.

› Presents a double-edged sword.

Page 13: Different type of databases

Hierarchical DatabaseType of database where data are organized in a tree structure that links a number of different elements to one "parent," primary record.

Page 14: Different type of databases

CHARACTERISTICS & FEATURES

› The top of the tree is the parent and the branches are children.

› All attributes of a specific record are listed under an entity type (parent).

› An entity type is the equivalent of a table.

› Each individual record is represented as a row and an attribute as a column.

› Each record type has only one parent.

› Entity types are related to each other using one-to-many relationship.

Page 15: Different type of databases

Where to use ?› Most relevant to use in the situation where the primary focus of information

is gathered on a single data element such as a list of business departments, employee organization in corporations or assets.

› For example, we can use the hierarchical schema for part of the COMPANY database.

Page 16: Different type of databases

ADVANTAGES

› Easier to understand.

› Simplifies data overview.

› Easier to work with because of its linear type data storage

DISADVANTAGES

› Predefined tree structure reduces flexibility.

› Many too many relationships not supported.

› Slow because access to a child segment can only be done through the parent segment

Page 17: Different type of databases

Desktop DatabaseType of basic database that is made to run on a single computer.

Page 18: Different type of databases

CHARACTERISTICS & FEATURES

Allows file system level access to data, rather than access via a database server.

Usually come with rich, visual data-centric user interfaces

Like text database, each row is a single record but each field is in a separate column

Offer a range of functionality for smaller data sets but do not generally support the kinds of advanced predictive analytics and data mining.

Widely used in small systems where expensive client-server databases are unnecessary and simple table-based access is more familiar to users

Page 19: Different type of databases

ADVANTAGES

› Cheaper to implement and maintain.

› User friendly database environment.

› Does not require sophisticated hardware and networking setups.

DISADVANTAGES

› Low Security.

› Limited performance & capability.

› Cannot represent complex data relationships.

› Data redundancy is common especially when the amount of data increases.

Page 21: Different type of databases

THANK YOU !