Clarify QDB Upgrades and the hidden .questdb directory

I’m upgrading QuestDB for the first time (Linux rt x86).

Please clarify how to treat the hidden directory .questdb during an upgrade, which I believe stores all my table data. Can I leave .questdb as is from minor version upgrades, like 9.0.0 to 9.0.1? How about from 8.2 to 8.3 for example?

How about major versions? Do I have to re-create all my database records during a major version upgrade? Or can I just use .questdb?

Does the _restore file come into play during a migration of a major version upgrade like 8.0 to 9.0? Will this restore signal help in recreating my data during a version update?

Please explain all things upgrade, I don’t see anything in the docs related to this, except a brief mention for Docker, but I’m not using Docker. Also, please clarify .questdb and when it becomes obsolete, and tips for recreating it in case such obsolescence exists.

Thanks! And nice job with QDB!
Paris

Stop the database, swap out the /bin and /lib folders with new ones, start the database.

There is no need to touch anything else, besides checking release-notes for any relevant breaking changes.

1 Like