Unit 2 : File System Flashcards
Why database design is important? ( 4 )
- Define the database’s expected use
- Define different approaches needed for different types of databases
- Avoid redundant data
- Poorly designed database generates errors, which leads to bad decisions and then lead to failure of an organization
List out 5 main components for a database system
- Hardware
- Software
- DBMS Software
- Operating System Software
- Application Programs and Utility Software
- People
- Procedures
- Data
What are DBMS function ( 7 )
- Data Dictionary Management
- Data Storage Management
- Data Transformation and Presentation
- Security Management
- Multiuser Access Control
- Backup and Recovery Management
- Data Integrity Management
What is data redundancy?
- Data redundancy results in data inconsistency
- Means that diffrent and conflicting versions of the same data appear in different places
Why managing data with file systems is obsolete? ( 6 )
- Time-consuming, as it was a high-level activity
- As number of files expands, system administration becomes difficult
- Making changes in current file structure is difficult
- File structure changes require modifications in all programs that use data in that file
- Modifications are likely to produce errors, requiring additional time to “debug” the program
- Security features hard to program and therefore often omitted
What is a file system refers to ?
- Refers to a method for sttoring and managing files on a storage devices without the use of database management system
- Company stores customer name, sales, product in a excel file inside Sales folder, then employee, salaries in employees folder
Why learning file system effects how we design our database? ( 3 )
- Understanding file system characteristics makes database design easier to understand
- Awareness of problems with file systems helps prevent similar problems in DBMS
- Knowledge of file systems is helpful if you plan to convert an obsolete file system to a DBMS
* More on notion
How does manual file systems stores it’s data?
- Kept inside folders
How does manual file systems organize their files?
- Organize based on data’s expected use ( ideally logically related )
Manual file system is suitable in what condition? ( 2 )
- Small Amounts of Data
- Few Reporting Requirements
What are the challenges when changing from file systems to computer system? ( 3 )
- Could be technically complex, requiring hiring of data processing ( DP ) specialitsts
- Resulted in numerous “home-grown” systems being created
- Initially, computer files were similar in design to manual files
- home-grown systems means that it was developed internally be a company’s IT team or DP specialists and with this reason, they often lacked standardization and difficult to integrate with other systems
What is data anomalies?
- Issues or inconsistencies that occur in a database
What condition usually creates data anomalies? ( 3 )
- Poorly designed database
- Non-normalized database
- Data Redundancy
List out all the types of data anomalies ( 3 )
- Update Anomalies
- Occur when mading changes to existing records
- Insertion Anomalies
- Occur when entering new records
- Deletion Anomalies
- Occur when deleting records
What are the structured compared with file system and database?
- File System
- Many separete and unrelated files
- Database
- Logically related data stored in a single logical data repository