1. Free Ebooks Download
Mba Ebooks
By Edhole
Mba ebooks
Free ebooks download
http://ebooks.edhole.com
2. DBMS Physical Design
Physical design is
concerned with the
placement of data and
selection of access
methods for efficiency
and ongoing maintenance
http://ebooks.edhole.com
3. File Organization
Physical arrangement of the records of a file on
secondary storage devices
•Sequential
•Linked List
•Indexed
•Hashed
http://ebooks.edhole.com
4. Sequential File
addr
00 Ayers ACCT
01 Buckley MGT
02 Daley ACCT
03 Dejoie MGT
04 Kenderdine MKT
05 Linn FIN
06 Lusch MKT
07 Price MGT
08 Razook MKT
09 Schwarzkopf MGT
Sequential file sorted in alphabetical order.
Sequential files are usually sorted in ID
sequence order to facilitate batch processing.
http://ebooks.edhole.com
5. Sequential File Processing
Transaction
Old Master
New MasterProcess
Sequential files must be recopied from the point of
any insertion or deletion to the end of the file. They
are commonly used in batch processing where a
new master file will be generated each time the file
is updated.
http://ebooks.edhole.com
6. Linked List
addr pointer
00 Price MGT 01
01 Schwarzkopf MGT 02
02 Kenderdine MKT 03
03 Lusch MKT 08
04 Buckley MGT 09
05 Ayers ACCT 06
06 Daley ACCT 07
07 Linn FIN 04
08 Razook MKT ##
09 Dejoie MGT 00
Linked list to sort data alphabetically within department.
An external reference must point to the start record (05).
http://ebooks.edhole.com
7. Linked List File Processing
The next record in a linked list is found at the address
stored in the record. Records are added at any
location in the DASD and pointers adjusted to include
them. Deletions are not erased, but pointers
changed to omit the deleted record.http://ebooks.edhole.com
8. Indexed File
(sequential index)
addr
00 Price MGT Ayers ACCT
01 Schwarzkopf MGT Daley ACCT
02 Kenderdine MKT Linn FIN
03 Lusch MKT Razook MKT
04 Buckley MGT Dejoie MGT
ACCT 00
ACCT 01
FIN 02
MGT 00
MGT 01
MGT 04
MKT 03
Index to access data by
department abbreviation.
http://ebooks.edhole.com
9. Indexed File Processing
Index
Data File
When a record is inserted or deleted in a file the data
can be added at any location in the data file. Each index
must also be updated to reflect the change. For a
simple sequential index this may mean rewriting the
index for each insertion.
Index
http://ebooks.edhole.com
11. Indexed File Processing
(segmented index)
Data File
Index
Data can be inserted or deleted at any location in the
data file. The index(es) must be updated for each
change, but only the affected segments need to be
rewritten.
http://ebooks.edhole.com
12. Physical Design
Volume and Usage analysis
Distribution Strategy
File Organizations
Indexes and Access Methods
Integrity Constraints
http://ebooks.edhole.com
13. Physical Design Issues
Size
Speed of access
Speed of update
Growth issues: performance and
degradation
Security
Maintenance
http://ebooks.edhole.com
14. DBMS Organization
Relationships: physical
address pointers
Links generated when data is
entered
Efficient but not flexible
Ad hoc design
Query dependent on specific
DBMS (may support SQL)
Relationships: logical data
references
Links generated when data is
retrieved
Flexible but not efficient
Theoretical base
SQL
Structured Relational
http://ebooks.edhole.com
15. DBMS Technology
• CPU
• Components
• Operation
• DASD
• Technology
• Organization
• Data Transfer
• Access methods
http://ebooks.edhole.com