- Timestamp:
- 09/11/07 00:08:47 (5 years ago)
- Location:
- hw/hw1/student/Hw1/MyStuff/MyCode
- Files:
-
- 1 modified
- 1 moved
-
README (modified) (2 diffs)
-
freelist.postgres-original.c (moved) (moved from hw/hw1/student/Hw1/MyStuff/MyCode/freelist.c)
Legend:
- Unmodified
- Added
- Removed
-
hw/hw1/student/Hw1/MyStuff/MyCode/README
r6 r9 1 Recommended Steps2 -----------------1 Recommended Steps 2 ----------------- 3 3 4 4 o Read and understand the buffer manager code. 5 5 6 o Create your version of freelist.c 7 (for the CLOCK replacement policy) IN THIS DIRECTORY.6 o Create your version of freelist.c (for the LRUreplacement policy) IN 7 THIS DIRECTORY from freelist.skel.c. 8 8 9 9 o Test whether your freelist.c compiles properly and has … … 18 18 o Now that you are sure that your freelist.c is correct, 19 19 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 also24 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 25 25 26 26 o 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.
