Term 
         | 
        
        
        Definition 
        
        | predicting what will happen under certain circumstances and preventing problems before they happen. |  
          | 
        
        
         | 
        
        
        Term 
        
        | What are the two phases of database design? |  
          | 
        
        
        Definition 
        
        (1) information level (2) physical level design |  
          | 
        
        
         | 
        
        
        Term 
        
        | What happens in the information level phase of database design? |  
          | 
        
        
        Definition 
        
        | user requirements are gathered and a logical structure is designed to meet these requirements |  
          | 
        
        
         | 
        
        
        Term 
        
        | Requirements might include what? |  
          | 
        
        
        Definition 
        
        (1) reports (2) queries (3) transactions (4) constraints |  
          | 
        
        
         | 
        
        
        Term 
        
        | What will the result of the information level design include? |  
          | 
        
        
        Definition 
        
        (1) entities (2) attributes (3) keys (4) relationships between entities |  
          | 
        
        
         | 
        
        
        Term 
        
        | This relationship between entities is often shown as what? |  
          | 
        
        
        Definition 
        
        | E-R diagrams (entity-relation diagrams) |  
          | 
        
        
         | 
        
        
        Term 
        
        | What is physical level design concerned with? |  
          | 
        
        
        Definition 
        
        | the "physical" parameters of the system size, speed, cost |  
          | 
        
        
         | 
        
        
        Term 
        
        | For physical level design, need to know what? |  
          | 
        
        
        Definition 
        
        (1) size of tables (2) frequency of different requirements (3) expected response times |  
          | 
        
        
         | 
        
        
        Term 
        
        | For each user, or a particular group, report, or transaction (this is for diagram in notes), what do you need to do? |  
          | 
        
        
        Definition 
        
        (1) represent the user view as a collection of tables (2) normalize the tables (3) represent all keys (4) merge with design from previous users |  
          | 
        
        
         | 
        
        
        Term 
        
        | What are some keys that can be represented in step 3 for each user? |  
          | 
        
        
        Definition 
        
        (1) primary (2) candidate (alternate keys) (3) foreign keys and what tables they represent (update and deletion strategies) |  
          | 
        
        
         | 
        
        
        Term 
        
        | What is referential integrity by using example (rep --> cust) with foreign key Repnum --> cust? |  
          | 
        
        
        Definition 
        
        | repnum must match an existing repnum in table rep or be null |  
          | 
        
        
         |