So is BDB still used at all? (e.g, for peers.dat and wallet.dat? ) Or will that likely be changing with the upcoming release that includes ultraprune?
peers.dat is a flat file with a bitcoin-specific file format, unrelated to any database system.
wallet.dat remains BDB, though there are proposals on changing that.
Is there documentation on the file format used in peers.dat?