System.out.printf("Inserting %d rows into the primary table and the view\n", MAX_ROWS);
for (int i = 0; i < MAX_ROWS; i++) {
client.callProcedure(modifyOneCheck, insertName, i, String.valueOf(i),
filler, filler, filler, filler, filler, filler, filler, filler);
}
client.drain();
// delete half of them - should trigger compaction
System.out.printf("Deleting all even rows\n");
for (int i = 0; i < MAX_ROWS; i += 2) {
client.callProcedure(modifyOneCheck, deleteName, i);