Help shape GoConqr. What should we add next?

Flashcards

FMJC.C9

FMJC. English 19 cards

Cards in this deck (19)

  1. 1What is a flat file databasesKeep all the records in one table
    Each row corresponds to one record
    Each column corresponds to a dif. field
    Tables are 2D Structures
  2. 2Features of flat fileDuplicate data is stored
    ...so storage is wasted (data redundancy)
    Data is often inconsistent
    ...because there may be more than one version of item...everything is interlinked
    ...so difficult to change the data format (may have to re-write whole file)
    Lack of flexibility - difficult to obtain new reports
  3. 3What are relational databasesKeep data as a number of related tables
    ...thus avoiding data duplication
    ...and inconsistent data
    Easier to change data & format
    Data can be easily added
    Easy to control access to data
  4. 4Why may CustomerFinance and Customer tables be stored seperatelySecurity and privacy reasons
    Different levels of access rights due to sensitive data
  5. 5Why CUSTOMER and ORDER may be stored seperatelyCustomer may have many orders
    Seperate storage -> avoids duplication
    Avoids data inconsistencies
  6. 6What happens if Many To ManyNot in 3rd Normal Form
    Breaks rules of the language
    Needs a linking entity
  7. 7What is an entityA thing about which there is a need to record data
  8. 8What is an AttributeProperty of an entity
  9. 9What is a Primary KeyUnique value which identifies a record
  10. 10What is a Secondary KeyA unique value which enables a table to be accessed in a different order
  11. 11What is a Foreign KeyPrimary key from one table is used as an attribute in another table
    Used primarily to link tables
  12. 12Define primary keyUnique Identifier in a table
  13. 13Explain the use of a secondary keySearch for a group of records
    e.g. CD's with the same artiste
  14. 14Foreign key is also a primary key but a primary need not be a foreign keyForeign key links tables
    (to represent many to one relationship)
    ...so that only one record is accessed
    ...no duplication
    Primary key may be in a non-relevant table
    ...therefore wont be a foreign key
  15. 15Explain the term data dictionaryA file containing descriptions of data in database used by database managers
    ...when altering structures
    Uses metadata to define the tables
  16. 16Examples of information that data dictionary storesNames of tables/columns
    Characteristics of data (length,type)
    Restrictions on values
    Meaning of data columns
    Relationships between data
    Identifies Primary,Foreign keys
    Identifies indexes & access rights
  17. 17Explain the term reportPresentation of selected data
    ..usually in form of table or specific layout
    May be defined in advance
    ..so the user does not need to set up
    e.g. Query / Display Order
  18. 18Why are views made available to users of a databaseSo users can access data that they need
    Users don't need specialist knowledge
    To protect data
    Prevent unauthorised access
  19. 19Difference in CHAR and VARCHARCHAR - Fixed length
    VARCHAR - Variable length

Information

Description
Flashcards on FMJC.C9, created by FMJC. on 19/06/2015.
Created by
FMJC.
Views
0
Rating

More on Relational Databases and the Relational Model

Feedback

What is it about?

What should we add next?