Changeset 9 for hw

Show
Ignore:
Timestamp:
09/11/07 00:08:47 (5 years ago)
Author:
cs186
Message:
 
Location:
hw/hw1/student/Hw1/MyStuff/MyCode
Files:
1 modified
1 moved

Legend:

Unmodified
Added
Removed
  • hw/hw1/student/Hw1/MyStuff/MyCode/README

    r6 r9  
    1         Recommended Steps 
    2         ----------------- 
     1        Recommended Steps 
     2        ----------------- 
    33 
    44o Read and understand the buffer manager code. 
    55 
    6 o Create your version of freelist.c 
    7   (for the CLOCK replacement policy) IN THIS DIRECTORY. 
     6o Create your version of freelist.c (for the LRUreplacement policy) IN 
     7  THIS DIRECTORY from freelist.skel.c. 
    88 
    99o Test whether your freelist.c compiles properly and has  
     
    1818o Now that you are sure that your freelist.c is correct, 
    1919  its time to put them in the real PostgreSQL code and  
    20   perform experiments. 
    21  
    22 o Use update.sh to automatically copy freelist.c into  
    23   the right places in the PostgreSQL code. This will also 
    24   compile your code with PostgreSQL. 
     20  perform experiments.  To apply your changes: 
     21  $ cp freelist.c ~/Hw1/postgresql-8.0.3/src/backend/storage/buffer/freelist.c 
     22  $ cd ~/Hw1/postgresql-8.0.3/ 
     23  $ gmake 
     24  $ gmake install 
    2525 
    2626o Use the scripts in ../PerformanceEvaluationScripts to create tables, 
    27   load data and run the query.  
    28  
    29 o Get the results and interpret them. 
     27  load data and run queries.