Fast diff command for large files?

francisco at francisco at
Mon Nov 7 16:40:50 GMT 2005

Kirk Strauser writes:

> Our legacy application runs on FoxPro.  Our web application runs on a 
> PostgreSQL database that's a mirror of the FoxPro tables.

I had the same setup a while back.
A few suggestions.
* Add a date/changed field in Foxpro and update.
* If only recent records are updated, only copy those over
* Add a "changed" flag in Foxpro tables
* Load entire foxpro tables every time and do a delete/reload withing a 
single transaction.

The idea situation is if you can somehow segreate your older, non changeable 
data, and copy every day only records that are recent.. even if they have 
not changed.

What type of system is this? In particular do any record can be modified or 
are only recent records changed?

More information about the freebsd-questions mailing list