; Script 10 ; ; Test of searches and the buffer pool with another large database file. ; ; Specify boundaries of coordinate space: world 1100000W 1020000W 303000N 383000N ; ; Import a large DB file: import NM_All.txt ; ; Check the location and name/state indices if you dare: ;debug quad ;debug hash ; ; Let's see how the buffer pool deals with a repeated search: what_is Clines Corners NM debug pool what_is Clines Corners NM debug pool ; ; Partially fill the buffer pool: what_is Trinity Site NM what_is Tierra Amarilla NM what_is Truth or Consequences NM what_is Screaming Left Hand Turn NM what_is Hamlett Claims NM what_is Encino Trail NM what_is Tucumcari NM debug pool ; ; Shuffle the pool a bit: what_is Clines Corners NM what_is Trinity Site NM what_is Truth or Consequences NM debug pool ; ; Fill the buffer pool: what_is Laguna Yeso NM what_is Cerro Prieto NM what_is Canon Oso NM what_is Tomasino Mill NM what_is Pothook NM what_is High Lonesome Wells NM what_is El Malpais National Monument NM debug pool ; ; Now trigger a sequence of LRU rearrangements and replacements: what_is Tierra Amarilla NM debug pool what_is Garrapata Canyon NM debug pool what_is Des Moines NM debug pool what_is Tierra Amarilla NM debug pool ; ; Now, let's see what happens on a failed search: what_is Dallas NM debug pool ; ; Exit quit