Database Management System
Database Management System
Alphabet characters
Numeric characters
Symbolic characters
In computer science, data that has several parts can be divided into fields. For example, a
computer may represent today's date as three distinct fields: the day, the month and the
year.
Computer Database
Database model, a theory or specification describing how a database is structured and used.
conceptual schema or conceptual data model is a map of concepts and their relationships. This
describes the semantics of an organization and represents a series of assertions about its nature.
Specifically, it describes the things of significance to an organization (entity classes), about
which it is inclined to collect information, and characteristics of (attributes) and associations
between pairs of those things of significance (relationships).
Objectives of Database
Data Integrity with the use of database, inconsistency in file duplication when changes
are made to data could be solved by storing in one place, and allowing each application to
be accessed.
Data Integration is maintained links between data and data centralization in order to
meet its objectives. It is possible to easily access data records using a wide variety of
search keys. This will lessen the cost for new applications where multiple references are
made to the same data.
Data Independence changes an organized data without the need to reprogram and can be
modified without reorganization of data.
Database System refers to an organization of components that define and regulate the collection,
storage, management and use of data within the database environment.
Access. This refers to users who have improper access to a database. The employees must
be trained to the correct ways of using database management system, especially in a large
organization.
Expense. It is usually expensive to set up and maintain a database. The employees must
be trained to use the database properly.
Excess. In an organization that carries more data than expected, it is theoretically
possible for a database to carry unsuitable data.
File Organization is a physical arrangement of data using storage devices and is organized in
different ways and different method of accessing its records.
Types of Files
System Files. It is an operating system program where data files hold data that is related
to applications software.
Application Software Files. It is a software needed for a specific application that the
user need.
Data files. The input data created in organization like in school or company.
Data Types of Processing Files
To retrieve information is one of the file processing methods which aim to produce
accurate and useful information:
Retrieval. It is the act of transferring a record from secondary storage to main memory to
access data within a field.
Insertion. It is the process of adding a new record to an existing file.
Writing. It the process of transferring records from main memory to secondary storage.
Updating. It makes change to the contents of a record maintained on a file to reflect its
new status.
Merging. It could be a record merging or a file merging. It is combination of two or more
files in same sequence into a single output file.
Sorting. It is the act of rearranging the records in a file to produce ordered reports.
Searching. To satisfy specific criteria that involves looking for records with a certain key
value.
Matching. To compare two or more records against other records in order to ensure that
there is a complete set of records for each key. Mismatch records are highlighted for
subsequent action.
Table. It is a collection of stored data that is organized into fields. It consists of organized
data into column and rows. Each row represents a set of information called record. Each
column represents specific information called field. You store data only once that gives
more efficient database and fewer data-errors.
Query. It filters a database to view, change, and analyze records in different ways to
meet specific criteria used to retrieve a specific group of record from a table.
Form. It is where you can enter a new record, study existing data, view data from a table
or a query, or simply print information or any combination of these tasks.
Report. It is carefully organized presentation of data from a table of query. It can show
group of data with subtotals from a summary of information from a table or query. One
can print the data in acceptable manner, which is easier to read using report, but you
cannot edit data in it.
A quality database design ensures that your database is easy to maintain. You
store data in tables that contains data about only one subject.
For example: you enter faculty names of a certain school, and you want to
update a particular piece of data, such as address in just one place, and this change
automatically appears throughout the database.
The different types of queries that display the information you need can be
considered a well-designed database. A query might show the subset of data, such as all
faculties in Manila, or combinations data from different tables, such as salary information
combined with faculty information.
Know the information you want for your database and determine what
subjects you need to store facts about (the tables) and what facts you need
to store about each subject (the fields in the tables)
Discuss your designed database to the person who will use it. Sketch out
the reports you want to produce, and gather the forms you currently use to
record your data
2. Determine the fields that you need. The information stated in each table should
contain the same subject and each field in a table should contain individual
information about the table’s subject.
From this example, you may design your table and name it as Student’s
Information table that includes Student’s No., Student’s name, address, year &
section and its adviser.
Be sure that the table does not duplicate any information. Each table
should contain information about one subject and know what field is
needed in the table. When each piece of information is stored in only one
table, you update it in one place. This eliminates the possibilities of
duplication of entries that contain different information.
Student Table
Address Text
Course Text
Adviser Text