Day 1 Flashcards

1
Q

Database definition

A

A generalised, integrated collection of data, structured on data relationships, providing necessary access paths, to each data item, in order to fulfil the differing needs of all users

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Database definition, definitions

A

Generalised - holds all relevant data for an organisation
Integrated - in a single system without duplication
Structured - for methodical use and maintenance
Natural - for easy access in common terms
For all - despite users different requirements

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Database or Data files

A

Database - a unified system to support multiple apps
Data files - specific or particular datasets and single applications

In a file based environtment:

  • Every application needs to know low-level detail of file structure
  • Management of concurrent data access by several applications is difficult (read/write locking)
  • Maintenance of applications over time is complicated
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Example applications

A

Commercial:

  • Product Marketing
  • Sales
  • Personnel Management (recruitment, training)
  • Finance (payroll, accounts)

Professional:

  • Engineering design (CAD)
  • Library catalogue and loan management
  • Transport scheduling / logistics
  • Broadcast media production
  • Medical/Military/Government

Domestic/Hobby:

  • Personal contacts/address book
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Example scenarios: Sales fulfilment

A

Process steps

  • Receive order enquiry: check customer / product files (credit; prices)
  • Check product availability / production schedule (delivery times)
  • Dispatch if stock is available
  • If no stock, refer to production control (schedule more to be made)
  • Check component stock availability
  • Schedule production or place orders for more parts …
  • Check parts stock files …

Consequences:

  • Several departments manage their own area of data but each need to access another area
  • Keep copies (that might become out of date)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Example scenario: File processing

A

refer to slide 11, presentation a

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

File processing problems

A
  • Each Application (or Business Department) keeps and manages its own files
  • Data needed by several apps/depts is duplicated in multiple files
  • File formats defined by application program code
  • Data transfer and reconciliation is time-consuming
  • Data can become inconsistent between systems

But …

  • Sharing one file to multiple applications makes file access and process change harder to manage
  • Read/write locking
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Database: Solutions

A
  • Data storage formats are independent of application code design
  • Changes to storage needed for one application do not require changes to other application code
  • Changes to application code do not require changes to storage formats
  • Each application has its own view of data formats
  • Overall database management system (DBMS) looks after mapping between views and underlying data storage reality
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Example scenario: Database version

A

refer to slide 14 presentation a

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Database advantages

A

Data Integrity – avoid duplicate copies, inconsistency, redundancy
Data Security – single point of control, backup and standards
Common structure – at organisational level
Data independence – separate applications share one data store
User familiarity – each user group can have own view(s)
Productivity:
– all concerned can see data from one input step – uniform data access / manipulation languages
– simpler maintenance / system adaptation
Economy of scale – shared resources, better quality

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Database disadvantages

A

Complexity:
– managing data model to support all applications

Costs
– DBMS software more costly than ‘ordinary’ SDEs
– extra hardware required to hold ‘metadata’ – system conversion can be disruptive / expensive – greater staff skillset required – increased payroll

Risk
– system complexity increases risk of design error – centralization of resources increases system vulnerability
– ‘single point of failure’; ‘all eggs in one basket’

Performance
– DBMS generalized to support all applications, so each one may be less efficient than when alone

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Data Context: Database Environment

A

Hardware:
- anything from a single device (PC, smartphone, etc) to a multi-processor site or network – inc. client-server operation

Software:
- Op Sys; Networking; DBMS; Applications

Data:
– Client’s data and meta-data (data dictionary; schemas, etc.)

Processes:
– Procedures and rules to be applied to data and meta-data when designing and operating the database

Personnel:
– Data Administrator; Database Administrator; - Database designers (logical/physical);
- Application programmers; End users (naïve/sophisticated)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Data Context: Database Architecture: ANSI/SPARC

A
  • Presentation A slide 19
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Data Context: Example Mappings

A
  • Presentation A slide 20
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Data Context: Database Architecture: ANSI/SPARC

A
  • Internal, External and Conceptual Schema
  • Overall Database Design appears in the Conceptual Schema
  • Internal and External Schemas map overall concepts onto Physical Storage and User/Application Views respectively
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Data Context: DBMS

A
  • software enabling users to define, create, maintain and control access to database content