On 2018-12-30 11:41 p.m., Guy wrote:
>
> I'd like to understand why and how the cache files are used in the
> diff (and initial import of the osm.pdf file with the -diff option)
> and whether it's possible to not use the cache files with degraded
> performance of importing
They're the equivalent of the osm2pgsql slim tables. They contain
additional information not contained in the database but needed for
updates, like way node membership.
If the files were lost you'd have to reimport, but you wouldn't reimport
the same file you started with, you'd import the current data so that
you don't have to do a bunch of updating.