Just use a .txt like a real man
sqlite3 lmdb -thats what bitcoin most relays run
RocksDB for maximal pain from byte level details.