• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/10

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

10 Cards in this Set

  • Front
  • Back
Drawbacks for using a File System
-Even if we do, on 32-bit computer systems we cant directly refer to more than 4gb of data. So we have to program an identifying method for all data items.



-Have to write special programs to answer each question users ask about data (likely to be complex because of large volume of data to be searched-Must protect data from inconsistent changes made by different users accessing the data at the same time (concurrently). If apps have to address the details of such concurrent access, this adds more to the complexity.




-Must ensure data is restored at a consistent state if the system crashes while changes are being made.-OS provides only password mechanism for security. - Not sufficiently flexible to enforce security policies in which different users have permission to access different subsets of data.

DBMS purpose
To alleviate drawbacks of using File System - manage data in a robust and efficient matter for a large # of users/data.
Advantages of a DBMS
-Data Independence -Efficient Data Access -Data Integrity and Security -Data Administration -Concurrent Access and Crash Recovery -Reduced Application and Development Time
Data Independence
Application programs should not be exposed to details of data representation and storage - DBMS gives an abstract view of the data that hides the details.
Efficient Data Access
A DBMS utilizes a bunch of complex techniques to store/retrieve data efficiently. (** vital for data put on external storage devices)
Data Integrity and Security
If data is always accessed through DBMS – DBMS can apply integrity constraints (IE. Can’t insert data about employee pay if > budget of company). DBMS can also enforce access controls to govern what data is visible to whom.
Data Administration
When several users share the data, centralizing the administration of data can offer improvements. - Let the more experienced data guy handle it to make data retrieval more efficient and minimize redundancy.
Concurrent Access and Crash Recovery
DBMS schedules concurrent accesses to the data in such a manner that users can think of the data as being accessed by only one person at the same time. - DBMS also protects users from system failure effects.
Reduced Application Development Time
DBMS supports important functions that are common to many applications accessing data in the DBMS + high-level interface to the data makes for quick application development. DBMS apps are likely to be more robust than similar stand-alone apps because many important tasks are handled by DBMS (no need for debug/test in the app).
Disadvantages of using DBMS
-complex software -optimized for certain kinds of workloads (ie. answering complex queries or handling many concurrent requests)-its performance might not be adequate for certain specialized applications. (ie. apps with real-time constraints or a few well-defined critical operations for which custom code has to be written).
-An application may need to manipulate data in ways not supported by Query Language. -If specialized performance/data manipulation requirements are central to an application – DBMS might not be a good choice – especially if benefits of DBMS are not required. (flexible querying, security, concurrent access and crash recovery)