question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Database compatibility across versions

See original GitHub issue

There is no guarantee that a database created with an older version of Terracotta will work with a newer version. This means that upgrading an existing deployment of Terracotta can be a bit of a pain, since every dataset in the deployment must be re-ingested into a new database.

We could make this a bit easier, by making a migrate-db command, which takes an old db and creates a new one by re-ingesting everything using the keys and paths in the old db. Additionally, we could have an option for simply forcing a version bump in the db without re-ingesting (like --force-version-bump or so) for power-users who know that the new version is compatible with their database. This could be nice for large deployments, where re-ingesting everything might take days.

The release notes should also specify whether or not the new version is compatible with databases from the previous version.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
dionhaefnercommented, Oct 28, 2019

AFAICT this is not really a major concern for all practical purposes. Feel free to re-open if I’m mistaken.

0reactions
mrpgraaecommented, Dec 20, 2018

Thanks for the clarification.

Yes, part of my point is that migration scripts are probably not particularly useful for us. Incompatibility always means we need to re-compute metadata.

Good, we are on the same page then 😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

What's the difference between database version and database ...
His confusion is between database compatibility level and database version . Here's a quick explanation of the difference. Database version.
Read more >
Microsoft SQL Server database compatibility levels -
Database compatibility level defines how SQL Server uses certain features. Specifically, it causes them to act like a given version of SQL ...
Read more >
Understanding SQL Server Compatibility Levels | Spiria
This article aims at describing the importance of compatibility levels when it comes to SQL Server. Hopefully, by the time you finish ...
Read more >
Understanding SQL Server Compatibility Levels
The compatibility level of a database dictates how certain language elements of the database function as it relates to an earlier version of...
Read more >
The Importance of Database Compatibility Level in SQL Server
In many cases, most user databases never had their compatibility levels changed after a migration to a new version of SQL Server.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found