I have a database I'm working on. I've looked for maybe an example on the internet but I've not found much. I'm looking for a way to read and write to a database with multiple processes accessing it. I've used the DB_File and then flocked and unflocked the file. That works fine. The problem I'm having is that when another process tries to read the same record that i've written to in the other, I do not get the same data. If it was a new record, it works ok, but if I've modified a record it doesn't get it until I untie and retie the DBM. I am using sync to flush the chache after I write it also. I think the file is cacheing the data. Is there anyway to flush the READ cache? or maybe another type of database I can use that is not server based?