What’s Database?
Database is a unit of records which connect each other and draw itself. Database is used to ease a processing data and change data with accurately. The goal of database itself is to help people searching data.
Database system component:
Explanations:
- Database applications: a set or more computer programs which have function as a connector for user and DBMS.
- DBMS: Database Management System, program to process database.
- SQL (read: see-quel): Structure Query Language, is a sub language data connector between database applications and DBMS.
Functions and contents of applications programs:
- Database Applications
- Create and process forms.
- Create and transmit queries.
- Create and process reports.
- Execute application logic.
- Control application.
-
- DBMS
- Create database.
- Create table.
- Create supporting and structures.
- Read database data.
- Update database data.
- Maintain database structures.
- Enforce rules.
- Control concurrency.
- Provide security.
- Perform backup and recovery.
-
Read and update database perform with a process like this: DBMS receive SQL and request along with transform request becoming database action.
In database contain referential integrity constraints which have purpose to do a constraint if form doesn’t fill with a right way.
- Database
- User data.
- Metadata.
- Indexes and related structures.
- Stored procedures.
- Triggers.
- Application metadata.
-
Metadata are data of database structure. For examples: name of tables, columns and tables name where both of them included, property from tables and columns.
Stored procedures are program which stored in database. Examples: to backup or remove data if data have age more than 1 year.
Triggers are procedures which used when data have a certain activity.
What’s characteristic and kind of database?
Characteristic and kind of database divided into 3 parts:
- Personal.
- User: 1
- Size: less than 10 Mb
- Example: used at home industry such as a house painting, etc.
-
- Workgroup.
- User: less than 25
- Size: less than 100 Mb
- Example: in a business, from manager computer center to computer in branch industry. Used LAN (Local Area Network) to connect each computer.
-
- Organization.
- User: hundred to thousand users.
- Size: more than 1 quintillion byte, many database.
- Example: SIM and STNK registrations. From center nation office to offices in many regions.
-
Process to make database contains 3 phase, Requirement, Design, and Implementation.
No. |
Phase
|
Database
|
Application
|
1. | Requirement | - Build up data model. - Determine item data. - Define rules and limits. | - Determine application requirement. |
2. | Design | - Table. - Relation. - Limits. - Stored procedures and triggers. | - Forms. - Reports. - Queries. - Application code. |
3. | Implementation | - Create table. - Create relation. - Create limit. - Write stored procedures and triggers. - Fill database. - Examine. | - Create forms. - Create reports. - Create queries. - Write application code. - Examine. |
How is Database history?
Database history can explain like this:
- x - 1986: Data saved in a list and characteristic. Processing data required by general using of magnetic ribbon media.
- 1986 – 1980: Hierarchies, example: DL/ I (Data Language One) which is named IMS (DBMS IBM) and Network Model such as IDMS (DBMS network).
- 1980: SQL become relational standard language.
- 1982: first DBMS microcomputer, such as dBase, R:Base, Paradox.
- 1985: DBMS which object oriented (OODBMS).
- 1991: discovered Microsoft Ships Access.
- 1995: Database internet first application.
- 1997: Determining XML in database processing.
Model of Data Entity-Relationship.
Database scheme divided into 3 parts, external scheme, conceptual scheme, and internal scheme. External scheme is a half of database scheme. Conceptual scheme is a whole logic view. Internal scheme is a physic scheme which is storage by a product or certain technique.
Model of Entity-Relationship is a concept set and graphic symbol which is used to create conceptual scheme.
Model Extended E-R or E-R has many unsure such as entity, attribute, and relationship.
- Entity: a thing which can identify within user environment. Entity divided into entity class and entity instance.
- Entity class: a unit of entity and drew by structure or entity format in its class.
- Entity instance from entity class: representation of that entity. Example: COSTUMER class has many instances of customer.
-
- Attribute: is a characteristic of this entity. Attribute contain of multi value and composite. Example: CUSTOMER has attribute ContactName, Address, Street, City, Province, etc. ContactName is a multi value attribute and Address, City, Province is a composite attribute.
- Relationship: is a relationship of each entity. For example relation of binary. 3 binary relation are 1:1 (one to one), 1:N (one to many), N:M (many to many).
Entity contains weak entity and strong entity. Weak entity is an entity which can’t exist in a database without the second entity. And strong entity is a entity which can exist without the second entity.
Untuk Indonesia ver. klik disini.
Source:
M. Kroenke, David. Database Processing (Dasar-dasar, Desain, Implementasi) Jilid 1 Edisi 9. 2005. Jakarta : Erlangga
Author:
Vania Wahyu (12.02.0054)
As a assignment of Computer Organization first semester.
No comments:
Post a Comment