Académique Documents
Professionnel Documents
Culture Documents
RELASIONAL
SISTEM INFORMASI AKUNTANSI
TUJUAN PERKULIAHAN
File flat
Data Base Manajemen Sistem (DBMS)
Fungsi pengendalian internal
PENDAHULUAN
FILE VS. DATABASES
Let’s examine some basic principles about how
data are stored in computer systems.
An entity is anything about which the organization
wishes to store data. At your college or university, one
entity would be the student.
STUDENTS
Phone
Student ID Last Name First Name Number Birth Date
STUDENTS
Phone
Student ID Last Name First Name Number Birth Date
STUDENTS
Phone
Student ID Last Name First Name Number Birth Date
STUDENTS
Phone
Student ID Last Name First Name Number Birth Date
Student Class
File File
Advisor
File
© 2008 Prentice Hall Business Publishing Accounting Information Systems, 11/e
DATABASE
Seperangkat koordinasi beberapa file
data terpusat yang saling berhubungan
yang disimpan dengan sedikit mungkin
kelebihan data.
FILE VS DATABASE
DATA BASE
FILE MAHASISWA
FILE KELAS FILE DOSEN
(ENTITY)
RECORD : RECORD :
RECORD : MOORE SIMPSON
SANDERS
FIELDS FIELDS
FIELDS
ATTRIBUTES : ATTRIBUTES :
ATTRIBUTES : ID
NAME BIRTH
Master File 1
This proliferation of master
Fact A
Enrollment
Program
files created problems:
Fact B Often the same information
Fact C was stored in multiple master
files.
Made it more difficult to
Master File 2 effectively integrate data and
Fact A Financial Aid obtain an organization-wide
Fact D Program view of the data.
Fact F Also, the same information
may not have been
consistent between files.
If a student changed his
Master File 1 Grades phone number, it may have
Fact A Program
Fact B been updated in one
Fact F master file but not another.
© 2008 Prentice Hall Business Publishing Accounting Information Systems, 11/e
FILE VS. DATABASES
Database
A database is a set
Fact A Fact B of inter-related,
Fact C Fact D
Fact E Fact F centrally
coordinated files.
Database
Management
System
Database
The database approach
Fact A Fact B
treats data as an
Fact C Fact D organizational resource
Fact E Fact F that should be used by
and managed for the
entire organization, not
Database
just a particular
Management
department.
System A database
management system
(DBMS) serves as the
Enrollment Financial Aid Grades interface between the
Program Program Program database and the
various application
programs.
© 2008 Prentice Hall Business Publishing Accounting Information Systems, 11/e
FILE VS. DATABASES
Database
The combination of
Fact A Fact B the database, the
Fact C Fact D
Fact E Fact F DBMS, and the
application
Database programs that
Management
System
access the
database is
referred to as the
Enrollment Financial Aid Grades
Program Program Program database
system.
© 2008 Prentice Hall Business Publishing Accounting Information Systems, 11/e
FILE VS. DATABASES
Database
The person
Fact A Fact B responsible for the
Fact C Fact D
Fact E Fact F
database is the
• Hewlett-Packard
database is
replacing 784 databases
administrator.
with a single, company-
Database
Management
As database.
wide technology
System improves, many
large companies
Enrollment Financial Aid Grades
are developing very
Program Program Program large databases
called data
warehouses.
© 2008 Prentice Hall Business Publishing Accounting Information Systems, 11/e
KEUNGGULAN SISTEM
DATABASE
DATA INTEGRATION (INTEGRASI DATA)
DATA SHARING (PEMBAGIAN DATA)
MINIMAL DATA REDUNDACY AND DATA
INCONSISTENCIES (MEMINIMALKAN
KELEBIHAN DAN INKONSISTENSI DATA)
DATA INDEPENDENCE (INDEPENDENSI
DATA)
CROSS-FUNCTIONAL ANALYSIS (ANALISIS
LINTAS FUNGSIONAL)
PENTINGNYA DATA YANG
BAIK
Data yang tidak benar pada database
dapat mengarahkan kepada :
- keputusan yang buruk
- kebingungan
- pengguna yang marah
SISTEM DATABASE
SISTEM DATABASE
Pendekatan database memberikan dua
tampilan data terpisah : tampilan fisik dan
tampilan logis
• Tampilan Fisik : Cara data secara fisik
diatur dan disimpan dalam sistem komputer
• Tampilan Logis : Bagaimana seseorang
secara konseptual mengelola,
menampilkan, dan memahami hubungan
antar-item data.
Logical View—User A Logical View—User B
Scholarship Distribution
Enrollment by Class Fr.
5%
Sr. Soph.
33% 24%
Jr.
38%
Database
Logical View—User A Logical View—User B
Scholarship Distribution
Enrollment by Class Fr.
5%
Sr. Soph.
33% 24%
Jr.
38%
DBMS
The operating system
Operating translates DBMS
System requests into
instructions to
physically retrieve
data from various
Database disks.
SISTEM DATABASE
SKEMA, deskripsi elemen-elemen data
dalam database, hubungan diantara
mereka, dan model logika yang
digunakan untuk mengelola dan
menjelaskan data
SKEMA
• Conceptual –level schema, tampilan organisasi
yang luas akan menampilkan keseluruhan
database, mendaftar semua elemen ata dan
hubungan diantara mereka.
• External-level schema, tampilan pengguna
individu terhadap bagian-bagian dalam database,
masing-masing mengacu pada sebuah subschema.
• Internal – level schema, tampilan level rendah
database, menjelaskan bagaimana data disimpan,
diakses, termasuk layout, catatan, definisi, alamat
dan indeks.
Subschema--User A Subschema--User B Subschema--User C
Smith . . . A
Jones . . . B
Arnold . . .D
Cash
Receipt
Cash
Receipt
Cash
Receipt
ADVISORS
Advisor No. Last Name First Name Office No.
1418 Howard Glen 420
1419 Melton Amy 316
1503 Zhang Xi 202
1506 Radowski J.D. 203
ADVISORS
Advisor No. Last Name First Name Office No.
1418 Howard Glen 420
1419 Melton Amy 316
1503 Zhang Xi 202
1506 Radowski J.D. 203
ADVISORS
Advisor No. Last Name First Name Office No.
1418 Howard Glen 420
1419 Melton Amy 316
1503 Zhang Xi 202
1506 Radowski J.D. 203
• If Ned withdraws from all his classes and you eliminate all
three of his rows from the table, then you will no longer have a
record of Ned. If Ned is planning to take classes next semester,
then you probably didn’t really want to delete all records of
him.
• This problem is referred to as a delete anomaly.
RELATIONAL DATABASES
Alternatives for storing data
Another possible approach would be to
store each student in one row of the table
and create multiple columns to
accommodate each class that he is taking.
Last First Phone
Student ID Name Name No. Class 1 Class 2 Class 3 Class 4
ADVISORS
Advisor No. Last Name First Name Office No.
1418 Howard Glen 420
1419 Melton Amy 316
1503 Zhang Xi 202
1506 Radowski J.D. 203
b. Tabel
c. Objek
d. File
LATIHAN
Cara pengguna konseptual mengatur dan
memahami data disebut sebagai ...
a. Tampilan fisik
b. Tampilan logis
b. DSL
DDL
c. DQL
LATIHAN
Manakah program perangkat lunak berikut
ini yang menjalankan sistem database ?
a. DQL
b. DBMS
c. DML
d. DDL
LATIHAN
Manakah di bawah ini yang merupakan
tampilan pengguna individu database ?
a. Skema level konseptual
database
Alternatif mana yang anda pikir akan paling mungkin
terjadi? Mengapa ?