osm2pgsql icon indicating copy to clipboard operation
osm2pgsql copied to clipboard

Non-PostgreSQL middle Implementation

Open lonvia opened this issue 4 months ago • 1 comments

The database-backed middle comes with all the advantage a database storage brings but has grown to a considerable size.

It would be great to have an additional middle implementation with some kind of custom disk-based database, this could be based on something like RocksDB or written from scratch exactly for our use case. Users could then choose whether they want the more efficient one or the more flexible PostreSQL-based one.

Ideally there would be a foreign data wrapper for PostgreSQL, so that users still can access the middle data through SQL. That would allow us to combine the advantages of both solutions.

lonvia avatar Aug 22 '25 18:08 lonvia

PostgreSQL Foreign Data Wrappers includes most databases or off-the-shelf file formats we're likely to want to use, with varying levels of support.

pnorman avatar Aug 22 '25 22:08 pnorman