【DB】database introduction

database applications:

– Banking System,
– Stock Market,
– Transportation,
– Social Network,
– Marine Data Analysis,
– Criminal Analysis and Control,
– Now, BIG DATA....

• Develop a good database system:
– Effectively organize data (database design).
– Efficiently execute users queries (transaction management)

- nowadays we need:

  huge dataset & effectively & efficiently

 

what is database?

1. a collection of related data

2. the data have some structure

3. data items alone are relatively useless

4. can be manipulated by a database management system.(DBMS)

 

waht is a  DBMS?

a collection of programs that enables users to create and maintain a database.

 

what is a database system?

database system = database + DBMS

what does a database system do?

1. define a database  2. construct a database 3. manipulate a database(querying and updating)  4. reporting

so.. it must be..

timely(及时) ; multi-user; modifiable; secure; no redundancy; robust(健壮)

 

why we need meta-data?

To allow a general DBMS to be applied to a particular database application, we need meta-data

traditional file storage method(file processing) is very redundancy.

meta-data is a database method, it only defined once.

what is meta-data?

a defination and description of the stored database, such as stucture of each file, type and storage format of each data item, constraints etc.

it stored in the system catalog.

what is the pros/benifits of using mata-data?

1.  program-data independence -- DBMS access programs may be written independent of file structures and storage formats.

2. data abstraction -- info hiding

3. support for views. -- different users can have different views of the database

 

Database personnel

1. database administrator(DBA)   --- centralised control

  authorising access; monitoring usage; recovery; identifying the data; choosing appropriate stuctures; managing definitions of view.

2.End user -- people do querying, updating , reporting, etc.

  (1) Naive user : use DB by a menu system

  (2) Online user: design their own queries  

3. System analyst

  determine end users requirements;

  devolop specifications for canned transactions and reports;

  database design.

4.Application programmer --- implements the specifications given by analyst

  test; debug; maintains the resulting programs.

 

Database concepts

data model: a set of concepts that is used to describe the allowed structure of a database.(e.g. ER-model)

data schema: an instance of a data model.

 

ANSI-SPARC three level architecture with database language

View definition language(VDL):    external/view level (extenral schemas or user views)

Data definition language(DDL):    conceptual level(conceptual schema, tells the stucture of database )

Storage definition language(SDL):   internal level (internal schema, physical storage structure)

转载于:https://www.cnblogs.com/iceyCSE/p/6092300.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值