File Organisation & Indexing

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/7

encourage image

There's no tags or description

Looks like no tags are added yet.

8 Terms

1
New cards

What is physical database design about?

how a database is implented on secondary storage


2
New cards

What does physical database design include?

  • specification of base raltions/tables

    • structure

    • integrity constraint

  • analysis of transactions

  • choice of physical representation

    • file organisation & indexing

  • security measures


3
New cards

What are 3 things database designers should be aware of?

  1. transaction requirements

  2. system architecture

  3. system requirements


4
New cards

What should database designers be aware of in terms of transaction requirements?

  • frequency

    • amount of transactions per second

  • volume

    • how many transactions to execute overall

  • type of access

    • reading/updating/inserting?

    • what is mix of accesses


5
New cards

What should database designers be aware of in terms of system architecture?

how system resources affect DB performance

  • main memory

    • sufficent to avoid/minimise swapping

  • CPU

    • enough space + fast enough cores to cope w/ number of queries

  • disk access

    • accessing secondary storage = slow (bottleneck)


6
New cards

What should database designers be aware of in terms of system resources?

how system resources affect DB performance

  • Storage

    • OS,DB files, index files, log files, ideally distributed across multiple disks

  • Network

    • if network traffic excessive collisions can occur


7
New cards

What are objectives for file arrangement and access methods?

  • throughput should be as fast as possible

  • response time should be fast

  • disk storage should be minimised


8
New cards

Why is physical database design not static?

it must respond to performance monitoring & shifting requirements/usage