Problem 1:
          "unswizzle"
	 all references in block when block is written back to disk
 	
     
     
    
     
    
    
    We cannot write
    the data block containg
    memory address
    to disk 
    
    
  
 
  
    
	
	
        Problem 1:
          "unswizzle"
	 all references in block when block is written back to disk
 	
     
     
    
     
    
    
    We must  replace
    all (virtual) memory address
    by its  database address 
    
    
  
 
  
    
	
	
        Problem 1:
          "unswizzle"
	 all references in block when block is written back to disk
 	
     
     
    
     
    
    
    $64,000 question:
    HOW ?
    (to translate a virtual memory address to a database address)
    
    
  
 
  
    
	
	
        Naive solution: brute force search
 	
     
     
    
     
    
    
    Search for the
   memory address in the
   Translation Table
   and replace it with
   the corresponding
   database address
    
    
  
 
  
    
	
	
        Improved solution: reverse hash table
 	
     
     
    
     
    
    
    Hash the
   memory address in a new
   "reverse" Translation Table
   for fast lookup
    
    
  
 
  
    
	
	
        Example of the improved solution: 
          reverse hash table
 	
     
     
    
     
    
    
    Hash the
   memory address in a new
   "reverse" Translation Table
   for fast lookup
    
    
  
 
  
    
	
	
        Maintaining the 
          reverse hash table
 	
     
     
    
     
    
    
    
    
  
 
  
  
  
  
  
  
  
 
  
  
       ❮
  
       ❯